]> git.proxmox.com Git - qemu.git/commit
kvm: Move kvm_allows_irq0_override() to target-i386, fix return type
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Jul 2012 14:35:13 +0000 (15:35 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 9 Aug 2012 13:16:55 +0000 (16:16 +0300)
commit1d31f66bbc886af56d2def349012a358dc3ada06
tree4645fd07fcadcb87d3ebd671df05638196afa24c
parent3889c3fab10b63e170ab5193d2ce6be99a704e93
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>
hw/pc.c
kvm-all.c
kvm-stub.c
kvm.h
target-i386/Makefile.objs
target-i386/kvm-stub.c [new file with mode: 0644]
target-i386/kvm.c
target-i386/kvm_i386.h [new file with mode: 0644]