Re: [Xen-devel] [PATCH v5 1/6] x86: allow IRQ to be disabled for resource access

2015-01-22 Thread Jan Beulich
>>> On 21.01.15 at 12:19, wrote: > --- a/xen/arch/x86/platform_hypercall.c > +++ b/xen/arch/x86/platform_hypercall.c > @@ -90,7 +90,9 @@ static void check_resource_access(struct > xen_resource_access *ra) > int ret = 0; > xenpf_resource_entry_t *entry = ra->entries + i; > > -

[Xen-devel] [PATCH v5 1/6] x86: allow IRQ to be disabled for resource access

2015-01-21 Thread Chao Peng
Add the ability to disable IRQ when operating on certain continuous resource entries. If one entry is marked as XEN_RESOURCE_ENTRY_FLAGS_DISABLE_IRQ, then the resource operation on both the entry and the following entry will be done with IRQ disabled. Signed-off-by: Chao Peng --- tools/libxc/xc_