Message ID | 20231005181629.4046-8-vikram.garhwal@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Xen: support grant mappings. | expand |
On Thu, 5 Oct 2023, Vikram Garhwal wrote: > Enable grant ram mapping support for Xenpvh machine on ARM. > > Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> > --- > hw/arm/xen_arm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/hw/arm/xen_arm.c b/hw/arm/xen_arm.c > index f83b983ec5..553c289720 100644 > --- a/hw/arm/xen_arm.c > +++ b/hw/arm/xen_arm.c > @@ -125,6 +125,9 @@ static void xen_init_ram(MachineState *machine) > DPRINTF("Initialized region xen.ram.hi: base 0x%llx size 0x%lx\n", > GUEST_RAM1_BASE, ram_size[1]); > } > + > + DPRINTF("init grant ram mapping for XEN\n"); > + ram_grants = *xen_init_grant_ram(); > } > > void arch_handle_ioreq(XenIOState *state, ioreq_t *req) > -- > 2.17.1 >
diff --git a/hw/arm/xen_arm.c b/hw/arm/xen_arm.c index f83b983ec5..553c289720 100644 --- a/hw/arm/xen_arm.c +++ b/hw/arm/xen_arm.c @@ -125,6 +125,9 @@ static void xen_init_ram(MachineState *machine) DPRINTF("Initialized region xen.ram.hi: base 0x%llx size 0x%lx\n", GUEST_RAM1_BASE, ram_size[1]); } + + DPRINTF("init grant ram mapping for XEN\n"); + ram_grants = *xen_init_grant_ram(); } void arch_handle_ioreq(XenIOState *state, ioreq_t *req)
Enable grant ram mapping support for Xenpvh machine on ARM. Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com> --- hw/arm/xen_arm.c | 3 +++ 1 file changed, 3 insertions(+)