Re: [Xen-devel] [PATCH v4 03/14] xen/x86: allow calling {shadow/hap}_set_allocation with the idle domain

2016-12-01 Thread Tim Deegan
At 16:49 + on 30 Nov (1480524579), Roger Pau Monne wrote: > ... and using the "preempted" parameter. Introduce a new helper that can > be used from both hypercall or idle vcpu context (ie: during Dom0 > creation) in order to check if preemption is needed. If such preemption > happens, the calle

[Xen-devel] [PATCH v4 03/14] xen/x86: allow calling {shadow/hap}_set_allocation with the idle domain

2016-11-30 Thread Roger Pau Monne
... and using the "preempted" parameter. Introduce a new helper that can be used from both hypercall or idle vcpu context (ie: during Dom0 creation) in order to check if preemption is needed. If such preemption happens, the caller should then call process_pending_softirqs in order to drain the pend