diff options
author | 2021-11-22 19:50:36 -0500 | |
---|---|---|
committer | 2021-11-30 03:54:15 -0500 | |
commit | c9d61dcb0bc26a761dc84a87bd8a0d3b3c432f10 (patch) | |
tree | c58760947e78c0658a2222eefdeff70d7baab596 /scripts/gdb/linux/utils.py | |
parent | KVM: SEV: do not take kvm->lock when destroying (diff) | |
download | wireguard-linux-c9d61dcb0bc26a761dc84a87bd8a0d3b3c432f10.tar.xz wireguard-linux-c9d61dcb0bc26a761dc84a87bd8a0d3b3c432f10.zip |
KVM: SEV: accept signals in sev_lock_two_vms
Generally, kvm->lock is not taken for a long time, but
sev_lock_two_vms is different: it takes vCPU locks
inside, so userspace can hold it back just by calling
a vCPU ioctl. Play it safe and use mutex_lock_killable.
Message-Id: <20211123005036.2954379-13-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions