Re: [Xen-devel] [PATCH v2 16/23] vixen: pass grant table operations through to the outer Xen

2018-01-08 Thread Roger Pau Monné
On Sun, Jan 07, 2018 at 12:28:32PM -0800, Anthony Liguori wrote: > static long > +vixen_gnttab_setup_table( > +XEN_GUEST_HANDLE_PARAM(gnttab_setup_table_t) uop, unsigned int count) > +{ > +long rc; > + > +struct gnttab_setup_table op; > +xen_pfn_t *frame_list = NULL; > +XEN_GUE

[Xen-devel] [PATCH v2 16/23] vixen: pass grant table operations through to the outer Xen

2018-01-07 Thread Anthony Liguori
From: Anthony Liguori The grant table is a region of guest memory that contains GMFNs which in PV are MFNs but are PFNs in HVM. Since a Vixen guest MFN is an HVM PFN, we can pass this table directly through to the outer Xen which cuts down considerably on overhead. We do not forward most of the