diff mbox

qemu-kvm: move msi-x to Makefile.target

Message ID 20091006122150.GA9525@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael S. Tsirkin Oct. 6, 2009, 12:21 p.m. UTC
None
diff mbox

Patch

diff --git a/Makefile.hw b/Makefile.hw
index 830902b..dcb61aa 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -22,7 +22,9 @@  obj-y += m48t59.o escc.o
 # PCI watchdog devices
 obj-y += wdt_i6300esb.o
 
-obj-y += msix.o
+# MSI-X depends on kvm for interrupt injection,
+# so moved it from Makefile.hw to Makefile.target for now
+# obj-y += msix.o
 
 # PCI network cards
 obj-y += ne2000.o
diff --git a/Makefile.target b/Makefile.target
index e991fa3..acee285 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -162,6 +162,9 @@  obj-y = vl.o monitor.o pci.o isa_mmio.o machine.o \
 # need to fix this properly
 obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o
 obj-$(CONFIG_KVM) += kvm.o kvm-all.o
+# MSI-X depends on kvm for interrupt injection,
+# so moved it from Makefile.hw to Makefile.target for now
+obj-y += msix.o
 
 LIBS+=-lz