Skip to contentSkip to conversation

target: hax: fix a typo

PATCH Applied Li Qiang 6 participants 7 messages Nov 26, 2018 – Nov 28, 2018

lore
Share & tools
lore

Li Qiang

author
#0 lore raw

PATCH 1/1 target: hax: fix a typo

---
 target/i386/hax-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hax-all.c +1 -1
index 502ce6f0af..464744a406 100644
@@ -205,7 +205,7 @@ int hax_vcpu_destroy(CPUState *cpu)
     }
 
     /*
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy
      * 2. close fd will cause hax module vcpu be cleaned
      */
     hax_close_fd(vcpu->fd);
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Li Qiang
Quoted 9 lines
---
 target/i386/hax-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hax-all.c +0 -0
index 502ce6f0af..464744a406 100644

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 211

Quoted 8 lines
target/i386/hax-all.c +1 -1
@@ -205,7 +205,7 @@ int hax_vcpu_destroy(CPUState *cpu)
     }
 
     /*
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy
      * 2. close fd will cause hax module vcpu be cleaned
      */
     hax_close_fd(vcpu->fd);

--
Alex Bennée

#2 lore raw

Hi Li, Alex.

Quoted 20 lines · Alex Bennée
Quoted 3 lines · Li Qiang
Quoted 11 lines
---
 target/i386/hax-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hax-all.c +0 -0
index 502ce6f0af..464744a406 100644
@@ -205,7 +205,7 @@ int hax_vcpu_destroy(CPUState *cpu)
     }
 
Quoted 3 lines

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 208

Quoted 3 lines
target/i386/hax-all.c +1 -1
     /*
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy

I'm not native english speaker. Isn't it:

'The hax_tunnel is also destroyed at vcpu destroy'

or

'The hax_tunnel is also destroyed when vcpu is destroyed'?

Quoted 8 lines

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 211

Quoted 3 lines
target/i386/hax-all.c +0 -0
      * 2. close fd will cause hax module vcpu be cleaned
      */
     hax_close_fd(vcpu->fd);

--
Alex Bennée

#3 lore raw
Quoted 9 lines · Philippe Mathieu-Daudé
Quoted 2 lines

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 208

Quoted 2 lines
target/i386/hax-all.c +1 -1
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy

I'm not native english speaker. Isn't it:

'The hax_tunnel is also destroyed at vcpu destroy'

or

'The hax_tunnel is also destroyed when vcpu is destroyed'?

This second option is best, fwiw.

r~

#4 lore raw
In reply to Li Qiang
Quoted 13 lines · Li Qiang
---
 target/i386/hax-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hax-all.c +0 -0
index 502ce6f0af..464744a406 100644

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 211

Quoted 8 lines
target/i386/hax-all.c +1 -1
@@ -205,7 +205,7 @@ int hax_vcpu_destroy(CPUState *cpu)
     }
 
     /*
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy
      * 2. close fd will cause hax module vcpu be cleaned
      */
     hax_close_fd(vcpu->fd);

Queued, thanks.

Paolo

#5 lore raw

Le 28/11/2018 à 13:43, Paolo Bonzini a écrit :

Quoted 15 lines · Li Qiang
Quoted 14 lines
---
 target/i386/hax-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hax-all.c +0 -0
index 502ce6f0af..464744a406 100644
@@ -205,7 +205,7 @@ int hax_vcpu_destroy(CPUState *cpu)
     }
 
Quoted 10 lines

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 211

Quoted 7 lines
target/i386/hax-all.c +1 -1
     /*
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy
      * 2. close fd will cause hax module vcpu be cleaned
      */
     hax_close_fd(vcpu->fd);

Queued, thanks.

There is a v2: "target: hax: fix errors in comment" with "vcpu is destroyed" rather than "vcpu destroy".

Thanks,
Laurent

#6 lore raw
Quoted 27 lines · Laurent Vivier

Le 28/11/2018 à 13:43, Paolo Bonzini a écrit :

Quoted 15 lines · Li Qiang
Quoted 14 lines
---
 target/i386/hax-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hax-all.c +0 -0
index 502ce6f0af..464744a406 100644
@@ -205,7 +205,7 @@ int hax_vcpu_destroy(CPUState *cpu)
     }
 
Quoted 10 lines

target/i386/hax-all.c int hax_vcpu_destroy(CPUState *cpu) · line 211

Quoted 7 lines
target/i386/hax-all.c +1 -1
     /*
-     * 1. The hax_tunnel is also destroied when vcpu destroy
+     * 1. The hax_tunnel is also destroyed when vcpu destroy
      * 2. close fd will cause hax module vcpu be cleaned
      */
     hax_close_fd(vcpu->fd);

Queued, thanks.

Quoted 6 lines

There is a v2: "target: hax: fix errors in comment" with "vcpu is destroyed" rather than "vcpu destroy".

Thanks,
Laurent

Got it---I'll adjust my filter to hide qemu-trivial patches. :)

Paolo