[libvirt PATCH 1/1] Fix some typos

Tim Wiederhake twiederh at redhat.com
Tue Oct 26 14:16:25 UTC 2021


Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
 NEWS.rst                | 2 +-
 src/conf/domain_conf.c  | 2 +-
 src/qemu/qemu_command.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/NEWS.rst b/NEWS.rst
index 5a7570d0db..5f1cf19940 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -64,7 +64,7 @@ v7.9.0 (unreleased)
 
     Libvirt started using JSON directly with the ``-device`` commandline
     parameter as it's considered the preferred stable syntax for further QEMU
-    releases. If any problems with the conversion are encoutered please
+    releases. If any problems with the conversion are encountered please
     report them as soon as possible.
 
 * **Bug fixes**
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 48c6ee9865..8a7d241df1 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -16601,7 +16601,7 @@ virDomainMemoryFindInactiveByDef(virDomainDef *def,
 
 /**
  * virDomainMemoryFindByDeviceInfo:
- * @def: domain defintion
+ * @def: domain definition
  * @info: device info to match
  * @pos: store position within array
  *
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 7374b2beca..77977c396e 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -694,7 +694,7 @@ qemuBuildDeviceAddressProps(virJSONValue *props,
  * @virtio: the returned video device is a 'virtio' device
  * @virtioBusSuffix: the returned device needs to get the bus-suffix
  *
- * Returns the model fo the device for @video and @qemuCaps. @virtio and
+ * Returns the model of the device for @video and @qemuCaps. @virtio and
  * @virtioBusSuffix are filled with the corresponding flags.
  */
 static const char *
@@ -1106,7 +1106,7 @@ qemuBuildVirtioDevProps(virDomainDeviceType devtype,
 
     /* We temporarily cast the const away here, but that's safe to do
      * because the called function simply sets the correct member of
-     * device to devdata based on devtype. Futher uses of device will
+     * device to devdata based on devtype. Further uses of device will
      * not touch its contents */
     virDomainDeviceSetData((virDomainDeviceDef *) &device, (void *) devdata);
 
-- 
2.31.1




More information about the libvir-list mailing list