]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: Simplify vcpu_enter_guest() mmu reload logic slightly
authorAvi Kivity <avi@redhat.com>
Wed, 23 Jun 2010 11:26:18 +0000 (14:26 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 28 Jun 2010 15:26:29 +0000 (12:26 -0300)
commit341d9b535b6c06f21d508b8b06f4785a9b30e6d6
tree11eba7de237cacc9e9664c0f241d0d51db9b4ef1
parent6cd154e66b144f50bd490eb2eb70fe8b05a8fc79
KVM: Simplify vcpu_enter_guest() mmu reload logic slightly

No need to reload the mmu in between two different vcpu->requests checks.

kvm_mmu_reload() may trigger KVM_REQ_TRIPLE_FAULT, but that will be caught
during atomic guest entry later.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c