diff options
author | Paolo Bonzini | 2022-04-29 06:38:56 -0400 |
---|---|---|
committer | Paolo Bonzini | 2022-04-29 12:39:34 -0400 |
commit | 73331c5d84cf87974dc3616ef706847ff187d590 (patch) | |
tree | 8b262a6835ab6dfad27c3c15d355bfdd65a1026e /arch/arm64 | |
parent | 484c22df5aa0548604e67f7cdc73e1bd736cbecc (diff) | |
parent | 44187235cbcc7c1129ea7c004bc12f8757d29415 (diff) |
Merge branch 'kvm-fixes-for-5.18-rc5' into HEAD
Fixes for (relatively) old bugs, to be merged in both the -rc and next
development trees:
* Fix potential races when walking host page table
* Fix bad user ABI for KVM_EXIT_SYSTEM_EVENT
* Fix shadow page table leak when KVM runs nested
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kvm/psci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/kvm/psci.c b/arch/arm64/kvm/psci.c index baac2b405f23..708d80e8e60d 100644 --- a/arch/arm64/kvm/psci.c +++ b/arch/arm64/kvm/psci.c @@ -181,7 +181,8 @@ static void kvm_prepare_system_event(struct kvm_vcpu *vcpu, u32 type, u64 flags) memset(&vcpu->run->system_event, 0, sizeof(vcpu->run->system_event)); vcpu->run->system_event.type = type; - vcpu->run->system_event.flags = flags; + vcpu->run->system_event.ndata = 1; + vcpu->run->system_event.data[0] = flags; vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; } |