aboutsummaryrefslogtreecommitdiff
path: root/hw/xenpv
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2023-03-23 10:57:34 +0000
committerAnthony PERARD <anthony.perard@citrix.com>2023-03-24 14:52:14 +0000
commit670d8c6ebf7a2c425575bbd6fbaeb27d21edd6c6 (patch)
tree5faabe87f799646a29142c29e45465e3a63de134 /hw/xenpv
parentf75e4f2234e7339c16c1dba048bf131a2a948f84 (diff)
downloadqemu-670d8c6ebf7a2c425575bbd6fbaeb27d21edd6c6.zip
qemu-670d8c6ebf7a2c425575bbd6fbaeb27d21edd6c6.tar.gz
qemu-670d8c6ebf7a2c425575bbd6fbaeb27d21edd6c6.tar.bz2
hw/xenpv: Initialize Xen backend operations
As the Xen backend operations were abstracted out into a function table to allow for internally emulated Xen support, we missed the xen_init_pv() code path which also needs to install the operations for the true Xen libraries. Add the missing call to setup_xen_backend_ops(). Fixes: b6cacfea0b38 ("hw/xen: Add evtchn operations to allow redirection to internal emulation") Reported-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org> Tested-by: Anthony PERARD <anthony.perard@citrix.com> Message-Id: <5dfb65342d4502c1ce2f890c97cff20bf25b3860.camel@infradead.org> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/xenpv')
-rw-r--r--hw/xenpv/xen_machine_pv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c
index 2e759d0..17cda5e 100644
--- a/hw/xenpv/xen_machine_pv.c
+++ b/hw/xenpv/xen_machine_pv.c
@@ -35,6 +35,8 @@ static void xen_init_pv(MachineState *machine)
DriveInfo *dinfo;
int i;
+ setup_xen_backend_ops();
+
/* Initialize backend core & drivers */
xen_be_init();