public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 6/5] KVM: use lockless __emulator_write_phys in kvm_hypercall_mmu_write()
@ 2008-02-20 20:08 Marcelo Tosatti
  0 siblings, 0 replies; only message in thread
From: Marcelo Tosatti @ 2008-02-20 20:08 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel


Subject says it all.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Index: kvm.paravirt2/arch/x86/kvm/x86.c
===================================================================
--- kvm.paravirt2.orig/arch/x86/kvm/x86.c
+++ kvm.paravirt2/arch/x86/kvm/x86.c
@@ -2400,7 +2400,7 @@ static int kvm_hypercall_mmu_write(struc
 			bytes = 4;
 	}
 
-	if (!emulator_write_phys(vcpu, addr, &value, bytes))
+	if (!__emulator_write_phys(vcpu, addr, &value, bytes))
 		return -KVM_EFAULT;
 
 	return 0;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-20 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 20:08 [patch 6/5] KVM: use lockless __emulator_write_phys in kvm_hypercall_mmu_write() Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox