Re: [Xen-devel] [PATCH V3] common/vm_event: Prevent guest locking with large max_vcpus

2017-02-09 Thread Tamas K Lengyel
On Thu, Feb 9, 2017 at 10:11 AM, Razvan Cojocaru wrote: > It is currently possible for the guest to lock when subscribing > to synchronous vm_events if max_vcpus is larger than the > number of available ring buffer slots. This patch no longer > blocks already paused

[Xen-devel] [PATCH V3] common/vm_event: Prevent guest locking with large max_vcpus

2017-02-09 Thread Razvan Cojocaru
It is currently possible for the guest to lock when subscribing to synchronous vm_events if max_vcpus is larger than the number of available ring buffer slots. This patch no longer blocks already paused VCPUs, fixing the issue for this use case, and wakes up as many blocked VCPUs as there are