]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commitdiff
kvmvapic: Make dependency on sysbus.h explicit
authorIgor Mammedov <imammedo@redhat.com>
Thu, 25 Apr 2013 14:05:30 +0000 (16:05 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Tue, 16 Jul 2013 09:29:49 +0000 (10:29 +0100)
Allows kvmvapic to compile if sysbus.h is removed from apic_internal.h,
from which it is indirectly included.
sysbus.h will be removed from apic_internal.h after converting
APICs to ICCDevice.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
(cherry picked from commit 5f8df3ce6e0a057ec23cea74b6e629e59e085ac4)

hw/kvmvapic.c

index a7d7438574b5c53ab129fbe77c317a79ac3ae225..94dbd897db6ba30707a38d987b8de345bc684751 100644 (file)
@@ -12,6 +12,7 @@
 #include "cpus.h"
 #include "kvm.h"
 #include "apic_internal.h"
+#include "hw/sysbus.h"
 
 #define VAPIC_IO_PORT           0x7e