aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2022-12-23 17:39:23 +0000
committerDavid Woodhouse <dwmw@amazon.co.uk>2023-03-01 09:08:26 +0000
commitc08f5d0e53b00f101c6aab7b5c7eabe22bab1962 (patch)
tree7d2cc12ef590cceab1aca734fb4e7d8928f2680e /hw/i386/pc.c
parent794fba23a53ac714589f84f868202d0cfcb41cd2 (diff)
downloadqemu-c08f5d0e53b00f101c6aab7b5c7eabe22bab1962.zip
qemu-c08f5d0e53b00f101c6aab7b5c7eabe22bab1962.tar.gz
qemu-c08f5d0e53b00f101c6aab7b5c7eabe22bab1962.tar.bz2
hw/xen: Add xen_xenstore device for xenstore emulation
Just the basic shell, with the event channel hookup. It only dumps the buffer for now; a real ring implmentation will come in a subsequent patch. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r--hw/i386/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 1cf112e..f4a08cc 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -93,6 +93,7 @@
#include "hw/i386/kvm/xen_overlay.h"
#include "hw/i386/kvm/xen_evtchn.h"
#include "hw/i386/kvm/xen_gnttab.h"
+#include "hw/i386/kvm/xen_xenstore.h"
#include "hw/mem/memory-device.h"
#include "sysemu/replay.h"
#include "target/i386/cpu.h"
@@ -1862,6 +1863,7 @@ int pc_machine_kvm_type(MachineState *machine, const char *kvm_type)
xen_overlay_create();
xen_evtchn_create();
xen_gnttab_create();
+ xen_xenstore_create();
}
#endif
return 0;