diff options
author | Claudio Imbrenda <[email protected]> | 2023-07-05 13:19:36 +0200 |
---|---|---|
committer | Claudio Imbrenda <[email protected]> | 2023-07-18 11:21:51 +0200 |
commit | 5ff92181577a89ed12ad4e0e5813751faf16a139 (patch) | |
tree | 473e3642300005f46841a559417d39cabdf9ca04 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | fdf0eaf11452d72945af31804e2a1048ee1b574c (diff) |
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: fb491d5500a7 ("KVM: s390: pv: asynchronous destroy for reboot")
Reviewed-by: Nico Boehr <[email protected]>
Signed-off-by: Claudio Imbrenda <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions