[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [v7][RFC][PATCH 01/13] introduce XENMEM_reserved_device_memory_map
Hi, On 10/24/2014 08:34 AM, Tiejun Chen wrote: > diff --git a/xen/common/memory.c b/xen/common/memory.c > index cc36e39..51a32a8 100644 > --- a/xen/common/memory.c > +++ b/xen/common/memory.c > @@ -692,6 +692,32 @@ out: > return rc; > } > > +struct get_reserved_device_memory { > + struct xen_mem_reserved_device_memory_map map; > + unsigned int used_entries; > +}; > + > +static int get_reserved_device_memory(xen_pfn_t start, > + xen_ulong_t nr, void *ctxt) This function is only used when HAS_PASSTHROUGH is defined. You have to protected by an #ifdef HAS_PASSTHROUGH. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |