summaryrefslogtreecommitdiff
path: root/crypto/twofish_common.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-07-23 12:32:49 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-08-06 17:59:16 +0200
commit8f21a0bbf36f58334695ae6e46c0cf906a217154 (patch)
treee5eec36f1c8ed760755913d80ec90738c87a19e8 /crypto/twofish_common.c
parentf3bbc0dcedf50d29d2d6fdfb16c5ec3e2368837f (diff)
KVM: vmx: skip VMWRITE of HOST_{FS,GS}_SEL when possible
On a 64-bit host, FS.sel and GS.sel are all but guaranteed to be 0, which in turn means they'll rarely change. Skip the VMWRITE for the associated VMCS fields when loading host state if the selector hasn't changed since the last VMWRITE. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions