Bug 217751

Summary: Xenstore: there is a deadlock when suspending user-space processes
Product: Base System Reporter: Ouyang Zhaowei <ouyangzhaowei>
Component: kernAssignee: freebsd-xen (Nobody) <xen>
Status: New ---    
Severity: Affects Some People Keywords: patch
Priority: ---    
Version: 10.3-RELEASE   
Hardware: amd64   
OS: Any   

Description Ouyang Zhaowei 2017-03-13 12:50:23 UTC
If there is a user process which maybe often reads and writes xenstore, the application has been suspended after stop_all_proc is called. It held xs.request_mutex lock but in the following functions xs_write and xs_suspend will not get the lock. So the VM will hang.
Comment 1 Ouyang Zhaowei 2017-03-13 12:51:11 UTC
This patch can fix this bug:
https://reviews.freebsd.org/rS314841