Skip to content
Commit 2fb92db1 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Cache vmcs segment fields



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>
parent 1aa36616
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment