aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2023-06-15 00:21:30 +0000
committerOliver Upton <oliver.upton@linux.dev>2023-06-15 00:21:30 +0000
commit8408a6755e25f9445ce35ad78fac07934c62b591 (patch)
tree0e2168727750945daee49e819646d0d1ff11f58a
parentfc30b439c952ba000cc7efd57bf9a2d070c9c08d (diff)
downloadkvmtool-aarch64/psci.tar.gz
fixup! Add helpers to pause the VM from vCPU threadaarch64/psci
-rw-r--r--kvm-cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-cpu.c b/kvm-cpu.c
index 9eb857b8..0fc1efef 100644
--- a/kvm-cpu.c
+++ b/kvm-cpu.c
@@ -153,6 +153,7 @@ void kvm_cpu__pause_vm(struct kvm_cpu *vcpu)
void kvm_cpu__continue_vm(struct kvm_cpu *vcpu)
{
+ vcpu->paused = false;
kvm__continue(vcpu->kvm);
}