summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-09-08 17:55:29 +0200
committerPaolo Bonzini2020-09-30 19:11:36 +0200
commitc834596f7916c3ec0719c1ab341186bae17ebba0 (patch)
tree5885bc1070797ca39fcd2fe6cdbe6ef7a4e4b0f4 /stubs
parentstubs: Split accelerator / hardware related stubs (diff)
downloadqemu-c834596f7916c3ec0719c1ab341186bae17ebba0.tar.gz
qemu-c834596f7916c3ec0719c1ab341186bae17ebba0.tar.xz
qemu-c834596f7916c3ec0719c1ab341186bae17ebba0.zip
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')
-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 d14efef49e..2ea8190921 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)
{