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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to