]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: get rid of mmu_only parameter in emulator_write_emulated()
authorGleb Natapov <gleb@redhat.com>
Tue, 13 Apr 2010 07:21:56 +0000 (10:21 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:43 +0000 (12:17 +0300)
commitb7ff05ab2934e1536493e81801d447551f373e0b
tree5f7c453b6cfeed776c6387d78a516dbd37c8ab0c
parent89e46e9ed94f5115155212abdd169fbffcd1a7c1
KVM: x86: get rid of mmu_only parameter in emulator_write_emulated()

We can call kvm_mmu_pte_write() directly from
emulator_cmpxchg_emulated() instead of passing mmu_only down to
emulator_write_emulated_onepage() and call it there.

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