aboutsummaryrefslogtreecommitdiff
path: root/stubs/xen-hw-stub.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-09-08 17:55:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:11:36 +0200
commitc834596f7916c3ec0719c1ab341186bae17ebba0 (patch)
tree5885bc1070797ca39fcd2fe6cdbe6ef7a4e4b0f4 /stubs/xen-hw-stub.c
parent71f364b703119a319e6ac423c9446849d010abf3 (diff)
downloadqemu-c834596f7916c3ec0719c1ab341186bae17ebba0.zip
qemu-c834596f7916c3ec0719c1ab341186bae17ebba0.tar.gz
qemu-c834596f7916c3ec0719c1ab341186bae17ebba0.tar.bz2
hw/xen: Split x86-specific declaration from generic hardware ones
xen_hvm_init() is restricted to the X86 architecture. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200908155530.249806-6-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs/xen-hw-stub.c')
-rw-r--r--stubs/xen-hw-stub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stubs/xen-hw-stub.c b/stubs/xen-hw-stub.c
index d14efef..2ea8190 100644
--- a/stubs/xen-hw-stub.c
+++ b/stubs/xen-hw-stub.c
@@ -8,6 +8,7 @@
#include "qemu/osdep.h"
#include "hw/xen/xen.h"
+#include "hw/xen/xen-x86.h"
void xenstore_store_pv_console_info(int i, Chardev *chr)
{