• Avi Kivity's avatar
    KVM: VMX: Cache vmcs segment fields · 2fb92db1
    Avi Kivity authored
    Since the emulator now checks segment limits and access rights, it
    generates a lot more accesses to the vmcs segment fields.  Undo some
    of the performance hit by cacheing those fields in a read-only cache
    (the entire cache is invalidated on any write, or on guest exit).
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    2fb92db1
kvm_host.h 24.6 KB