summaryrefslogtreecommitdiffstats
path: root/target-i386/Makefile.objs
diff options
context:
space:
mode:
authorPeter Maydell2012-07-26 16:35:13 +0200
committerAvi Kivity2012-08-09 15:16:55 +0200
commit1d31f66bbc886af56d2def349012a358dc3ada06 (patch)
tree4645fd07fcadcb87d3ebd671df05638196afa24c /target-i386/Makefile.objs
parentkvm: Rename kvm_irqchip_set_irq() to kvm_set_irq() (diff)
downloadqemu-1d31f66bbc886af56d2def349012a358dc3ada06.tar.gz
qemu-1d31f66bbc886af56d2def349012a358dc3ada06.tar.xz
qemu-1d31f66bbc886af56d2def349012a358dc3ada06.zip
kvm: Move kvm_allows_irq0_override() to target-i386, fix return type
kvm_allows_irq0_override() is a totally x86 specific concept: move it to the target-specific source file where it belongs. This means we need a new header file for the prototype: kvm_i386.h, in line with the existing kvm_ppc.h. While we are moving it, fix the return type to be 'bool' rather than 'int'. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-i386/Makefile.objs')
-rw-r--r--target-i386/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/Makefile.objs b/target-i386/Makefile.objs
index 683fd59af9..0715f58a8e 100644
--- a/target-i386/Makefile.objs
+++ b/target-i386/Makefile.objs
@@ -3,6 +3,7 @@ obj-y += excp_helper.o fpu_helper.o cc_helper.o int_helper.o svm_helper.o
obj-y += smm_helper.o misc_helper.o mem_helper.o seg_helper.o
obj-$(CONFIG_SOFTMMU) += machine.o arch_memory_mapping.o arch_dump.o
obj-$(CONFIG_KVM) += kvm.o hyperv.o
+obj-$(CONFIG_NO_KVM) += kvm-stub.o
obj-$(CONFIG_LINUX_USER) += ioport-user.o
obj-$(CONFIG_BSD_USER) += ioport-user.o