mirror of
https://github.com/mii443/qemu.git
synced 2025-08-27 17:39:37 +00:00
The xen_evtchn_soft_reset() function requires the iothread mutex, but is also called for the EVTCHNOP_reset hypercall. Ensure the mutex is taken in that case. Cc: qemu-stable@nongnu.org Fixes:a15b10978f
("hw/xen: Implement EVTCHNOP_reset") Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org> (cherry picked from commitdebc995e88
) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>