hw/xenpv/xen_machine_pv.c | 2 ++ 1 file changed, 2 insertions(+)
From: David Woodhouse <dwmw@amazon.co.uk>
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>
---
hw/xenpv/xen_machine_pv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c
index 2e759d0619..17cda5ec13 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();
--
2.34.1
On Thu, Mar 23, 2023 at 10:57:34AM +0000, David Woodhouse wrote: > From: David Woodhouse <dwmw@amazon.co.uk> > > 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> Tested-by: Anthony PERARD <anthony.perard@citrix.com> Thanks, -- Anthony PERARD
On 23/03/2023 10:57, David Woodhouse wrote: > From: David Woodhouse <dwmw@amazon.co.uk> > > 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> > --- > hw/xenpv/xen_machine_pv.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Paul Durrant <paul@xen.org> > > diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c > index 2e759d0619..17cda5ec13 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(); >
© 2016 - 2024 Red Hat, Inc.