Skip to content
Commit 7b53aa56 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Fix vcpu freeing for guest smp



A vcpu can pin up to four mmu shadow pages, which means the freeing
loop will never terminate.  Fix by first unpinning shadow pages on
all vcpus, then freeing shadow pages.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 31389947
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment