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.
This patch can fix this bug: https://reviews.freebsd.org/rS314841