Skip to contentSkip to conversation

Fix the explanation of write_emulated

PATCH Superseded Takuya Yoshikawa 1 participant 2 messages Jan 6, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix the explanation of write_emulated

The explanation of write_emulated is confused with that of read_emulated. This patch fix it.

---
 arch/x86/include/asm/kvm_emulate.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/include/asm/kvm_emulate.h +1 -1
index 7c18e12..9b697c2 100644
@@ -74,7 +74,7 @@ struct x86_emulate_ops {
 			     struct kvm_vcpu *vcpu);
 
 	/*
-	 * write_emulated: Read bytes from emulated/special memory area.
+	 * write_emulated: Write bytes to emulated/special memory area.
 	 *  @addr:  [IN ] Linear address to which to write.
 	 *  @val:   [IN ] Value to write to memory (low-order bytes used as
 	 *                required).
Signature · 1 line
1.6.3.3
#1 lore raw

Sorry but I had mistakenly broken the patch, so this does not apply cleanly, I'll repair this later.

Quoted 21 lines · Takuya Yoshikawa

The explanation of write_emulated is confused with that of read_emulated. This patch fix it.

---
 arch/x86/include/asm/kvm_emulate.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/include/asm/kvm_emulate.h +1 -1
index 7c18e12..9b697c2 100644
@@ -74,7 +74,7 @@ struct x86_emulate_ops {
                  struct kvm_vcpu *vcpu);
 
     /*
-     * write_emulated: Read bytes from emulated/special memory area.
+     * write_emulated: Write bytes to emulated/special memory area.
      *  @addr:  [IN ] Linear address to which to write.
      *  @val:   [IN ] Value to write to memory (low-order bytes used as
      *                required).