diff options
author | 2023-07-05 13:19:36 +0200 | |
---|---|---|
committer | 2023-07-18 11:21:51 +0200 | |
commit | 5ff92181577a89ed12ad4e0e5813751faf16a139 (patch) | |
tree | 473e3642300005f46841a559417d39cabdf9ca04 /scripts/generate_rust_analyzer.py | |
parent | Linux 6.5-rc2 (diff) | |
download | wireguard-linux-5ff92181577a89ed12ad4e0e5813751faf16a139.tar.xz wireguard-linux-5ff92181577a89ed12ad4e0e5813751faf16a139.zip |
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 <mhartmay@linux.ibm.com>
Fixes: fb491d5500a7 ("KVM: s390: pv: asynchronous destroy for reboot")
Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20230705111937.33472-2-imbrenda@linux.ibm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions