[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 10/22] xentoolcore_restrict_all: Implement for libxenforeignmemory
On Fri, Sep 15, 2017 at 07:48:47PM +0100, Ian Jackson wrote: > +static int all_restrict_cb(Xentoolcore__Active_Handle *ah, uint32_t domid) { > + xenforeignmemory_handle *fmem = CONTAINER_OF(ah, *fmem, tc_ah); > + > + if (fmem->fd < 0) > + /* just in case */ > + return 0; > + > + return xenforeignmemory_restrict(fmem, domid); Same comment for xendevicemodel_restrict on idempotent applies here. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |