]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: call vmx_load_host_state() only if msr is cached
authorGleb Natapov <gleb@redhat.com>
Thu, 27 Aug 2009 12:07:30 +0000 (15:07 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 15:11:07 +0000 (18:11 +0300)
commit8e804b3b85de4be42c07ac293ca35915a321a257
tree5d070234ecda6fbe3bc91df53852a4431da13d64
parenta0a0b08adef8e289defb1d594f580e10f0bbcf5e
KVM: VMX: call vmx_load_host_state() only if msr is cached

No need to call it before each kvm_(set|get)_msr_common()

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c