summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-06-05 11:17:03 +0200
committerAvi Kivity <avi@qumranet.com>2007-07-16 11:05:45 +0200
commit7b53aa56508479507c6e5667bb252ca7c2cd19cf (patch)
treed2020d70e6578f0d6405cba3f3b5a1ccdc62a581 /kernel/cpu.c
parentKVM: Remove unnecessary initialization and checks in mark_page_dirty() (diff)
downloadlinux-7b53aa56508479507c6e5667bb252ca7c2cd19cf.tar.xz
linux-7b53aa56508479507c6e5667bb252ca7c2cd19cf.zip
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: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions