Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: s390: pv: simplify shutdown and fix race
Simplify the shutdown of non-protected VMs. There is no need to do complex manipulations of the counter if it was zero. This also fixes a very rare race which caused pages to be torn down from the address space with a non-zero counter even on older machines that don't support the UVC instruction, causing a crash. Reported-by: Marc Hartmayer <[email protected]> Fixes: fb491d5 ("KVM: s390: pv: asynchronous destroy for reboot") Reviewed-by: Nico Boehr <[email protected]> Signed-off-by: Claudio Imbrenda <[email protected]> Message-ID: <[email protected]>
- Loading branch information