• A
    KVM: MMU: Segregate mmu pages created with different cr4.pge settings · 2f0b3d60
    Avi Kivity 提交于
    Don't allow a vcpu with cr4.pge cleared to use a shadow page created with
    cr4.pge set; this might cause a cr3 switch not to sync ptes that have the
    global bit set (the global bit has no effect if !cr4.pge).
    
    This can only occur on smp with different cr4.pge settings for different
    vcpus (since a cr4 change will resync the shadow ptes), but there's no
    cost to being correct here.
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    2f0b3d60
x86.c 104.4 KB