Skip to contentSkip to conversation

docs: Fix typos found by codespell

PATCH In review Stefan Weil 4 participants 6 messages Nov 1, 2016 – Nov 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Fix typos found by codespell

Fix also some indefinite articles.

---

I still don't understand the comment in docs/colo-proxy.txt.

Stefan

 docs/COLO-FT.txt    | 2 +-
 docs/colo-proxy.txt | 2 +-
 qemu-doc.texi       | 2 +-
 qemu-options.hx     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
docs/COLO-FT.txt +1 -1
index 6282938..043b14a 100644
@@ -102,7 +102,7 @@ Primary side.
 COLO Proxy:
 Delivers packets to Primary and Seconday, and then compare the responses from
 both side. Then decide whether to start a checkpoint according to some rules.
-Please refer to docs/colo-proxy.txt for more informations.
+Please refer to docs/colo-proxy.txt for more information.
 
 Note:
 HeartBeat has not been implemented yet, so you need to trigger failover process
docs/colo-proxy.txt +1 -1
index 76767cb..6c8cca5 100644
@@ -158,7 +158,7 @@ secondary.
 
 == Usage ==
 
-Here, we use demo ip and port discribe more clearly.
+Here, we use demo ip and port describe more clearly.
 Primary(ip:3.3.3.3):
 -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66
qemu-doc.texi +1 -1
index 023c140..691acf9 100644
@@ -1037,7 +1037,7 @@ qemu-system-i386 -iscsi initiator-name=iqn.qemu.test:my-initiator \
 @node disk_images_gluster
 @subsection GlusterFS disk images
 
-GlusterFS is an user space distributed file system.
+GlusterFS is a user space distributed file system.
 
 You can boot from the GlusterFS disk image with the command:
 @example
qemu-options.hx +1 -1
index 95332cc..df5e4e7 100644
@@ -2589,7 +2589,7 @@ qemu-system-i386 --drive file=sheepdog://192.0.2.1:30000/MyVirtualMachine
 See also @url{http://http://www.osrg.net/sheepdog/}.
 
 @item GlusterFS
-GlusterFS is an user space distributed file system.
+GlusterFS is a user space distributed file system.
 QEMU supports the use of GlusterFS volumes for hosting VM disk images using
 TCP, Unix Domain Sockets and RDMA transport protocols.
 
Signature · 1 line
2.10.1
#1 lore raw
Quoted 12 lines · Stefan Weil

Fix also some indefinite articles.

---

I still don't understand the comment in docs/colo-proxy.txt.

docs/colo-proxy.txt +0 -0
index 76767cb..6c8cca5 100644

docs/colo-proxy.txt secondary. · line 161

Quoted 5 lines
docs/colo-proxy.txt +1 -1
@@ -158,7 +158,7 @@ secondary.
 
 == Usage ==
 
-Here, we use demo ip and port discribe more clearly.
+Here, we use demo ip and port describe more clearly.

The problem with this sentence (as you note) is not the spelling but that it is not clear what it is trying to say and needs rewriting.

docs/colo-proxy.txt secondary. · line 164

Quoted 3 lines
docs/colo-proxy.txt +0 -0
 Primary(ip:3.3.3.3):
 -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66

thanks
-- PMM

Reviewed-by on v1 1/1
#2 lore raw
In reply to Stefan Weil
Quoted 6 lines · Stefan Weil

Fix also some indefinite articles.

---

I still don't understand the comment in docs/colo-proxy.txt.

Me neither.

docs/colo-proxy.txt secondary. · line 164

Quoted 10 lines

+++ b/docs/colo-proxy.txt

docs/colo-proxy.txt +1 -1
@@ -158,7 +158,7 @@ secondary.
 
 == Usage ==
 
-Here, we use demo ip and port discribe more clearly.
+Here, we use demo ip and port describe more clearly.
 Primary(ip:3.3.3.3):
 -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66

Maybe:

Here is an example using demonstration IP and port addresses to more clearly describe the usage.

The remaining hunks are clear improvements, so:

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Reviewed-by
#3 lore raw
Quoted 10 lines · Eric Blake
Quoted 6 lines · Stefan Weil

Fix also some indefinite articles.

---

I still don't understand the comment in docs/colo-proxy.txt.

Me neither.

Which part of the docs/colo-proxy.txt?
Perhaps I can explain it more clearly and make the doc better.

Quoted 12 lines

docs/colo-proxy.txt secondary. · line 164

Quoted 10 lines

+++ b/docs/colo-proxy.txt

docs/colo-proxy.txt +1 -1
@@ -158,7 +158,7 @@ secondary.
 
  == Usage ==
 
-Here, we use demo ip and port discribe more clearly.
+Here, we use demo ip and port describe more clearly.
  Primary(ip:3.3.3.3):
  -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
  -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66

Maybe:

Quoted 5 lines

Here is an example using demonstration IP and port addresses to more clearly describe the usage.

The remaining hunks are clear improvements, so:

It's easier to understand.

Signature · 2 lines
Thanks
zhangchen
#4 lore raw
Quoted 6 lines · Zhang Chen
Quoted 4 lines
Quoted 1 line

I still don't understand the comment in docs/colo-proxy.txt.

Me neither.

Which part of the docs/colo-proxy.txt?

The one quoted below.

Quoted 13 lines

Perhaps I can explain it more clearly and make the doc better.

Quoted 11 lines
Quoted 9 lines

+++ b/docs/colo-proxy.txt

docs/colo-proxy.txt +1 -0
@@ -158,7 +158,7 @@ secondary.
    == Usage ==
  -Here, we use demo ip and port discribe more clearly.
+Here, we use demo ip and port describe more clearly.
  Primary(ip:3.3.3.3):
  -netdev

tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
-device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66

Maybe:

Quoted 7 lines
Quoted 5 lines

Here is an example using demonstration IP and port addresses to more clearly describe the usage.

The remaining hunks are clear improvements, so:

It's easier to understand.

Okay, so you like my proposal for a potential reword. Now, who should submit it as a patch? Stefan (since he found the confusing sentence in the first place), you (since you wrote most of the document to begin with), or me (since I proposed wording that you like)?

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#5 lore raw
Quoted 25 lines · Eric Blake
Quoted 5 lines · Zhang Chen
Quoted 4 lines
Quoted 1 line

I still don't understand the comment in docs/colo-proxy.txt.

Me neither.

Which part of the docs/colo-proxy.txt?

The one quoted below.

Quoted 16 lines

Perhaps I can explain it more clearly and make the doc better.

Quoted 14 lines
Quoted 9 lines

+++ b/docs/colo-proxy.txt

docs/colo-proxy.txt +1 -0
@@ -158,7 +158,7 @@ secondary.
     == Usage ==
   -Here, we use demo ip and port discribe more clearly.
+Here, we use demo ip and port describe more clearly.
   Primary(ip:3.3.3.3):
   -netdev

tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
-device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66

Maybe:

Here is an example using demonstration IP and port addresses to more clearly describe the usage.

Quoted 8 lines
Quoted 3 lines
Quoted 2 lines

The remaining hunks are clear improvements, so:

It's easier to understand.

Okay, so you like my proposal for a potential reword. Now, who should submit it as a patch? Stefan (since he found the confusing sentence in the first place), you (since you wrote most of the document to begin with), or me (since I proposed wording that you like)?

I will submit the patch later, if you think that's OK.

Signature · 2 lines
Thanks
zhangchen