• Avi Kivity's avatar
    KVM: Fix memory slot management functions for guest smp · 90cb0529
    Avi Kivity authored
    The memory slot management functions were oriented against vcpu 0, where
    they should be kvm-wide.  This causes hangs starting X on guest smp.
    
    Fix by making the functions (and resultant tail in the mmu) non-vcpu-specific.
    Unfortunately this reduces the efficiency of the mmu object cache a bit.  We
    may have to revisit this later.
    Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
    90cb0529
mmu.c 34.7 KB