summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-10-06 14:21:50 +0200
committerAvi Kivity <avi@redhat.com>2009-10-08 15:22:06 +0200
commit1536fc28ae1954e2990c3ee14b4a92624ecfcb68 (patch)
tree2b8f7b4b10169ee873bc85679208cd82e3253288 /Makefile.target
parentqemu-kvm: fix build on 32 bit (diff)
downloadqemu-kvm-1536fc28ae1954e2990c3ee14b4a92624ecfcb68.tar.gz
qemu-kvm-1536fc28ae1954e2990c3ee14b4a92624ecfcb68.tar.bz2
qemu-kvm-1536fc28ae1954e2990c3ee14b4a92624ecfcb68.zip
qemu-kvm: move msi-x to Makefile.target
KVM interrupt injection support depends on target, so MSI-X needs to be in Makefile.target for interrupt injection to work. We'll be able to clean it up once interrupt injection is upstream. This fixes virtio breakage with kvm caused by 263b7947327e13. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index e991fa325..acee285fe 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