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)
commit8f6abd06f521112a0a3bc906df273fa3ce0a9387
tree5f7c453b6cfeed776c6387d78a516dbd37c8ab0c
parent660c22c425cbe14badfb3b0a0206862577701ab7
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