Fix some typos in documentation and comments
PATCH 1/1 Fix some typos in documentation and comments
---
This patch was triggered by a spelling check for the generated QEMU documentation using codespell. It does not try to fix all typos which still exist in the QEMU code, but has a focus on those required to fix the documentation. Nevertheless some code comments with the same typos were fixed, too.
I think the patch is trivial, so maybe it can still be included in the upcoming release, but that's not strictly necessary.
Stefan
docs/about/deprecated.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/devices/nvme.rst | 2 +- hw/core/loader.c | 4 ++-- include/exec/memory.h | 2 +- ui/vnc-enc-tight.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
docs/about/deprecated.rst +1 -1
@@ -369,7 +369,7 @@ mapping permissions et al by using its 'mapped' security model option. Nowadays it would make sense to reimplement the ``proxy`` backend by using QEMU's ``vhost`` feature, which would eliminate the high latency costs under which the 9p ``proxy`` backend currently suffers. However as of to date nobody -has indicated plans for such kind of reimplemention unfortunately. +has indicated plans for such kind of reimplementation unfortunately. Block device options
docs/devel/qom.rst +1 -1
@@ -30,7 +30,7 @@ user configuration. Creating a QOM class ==================== -A simple minimal device implementation may look something like bellow: +A simple minimal device implementation may look something like below: .. code-block:: c :caption: Creating a minimal type
docs/system/devices/nvme.rst +1 -1
@@ -232,7 +232,7 @@ parameters: Set the number of Reclaim Groups. ``fdp.nruh`` (default: ``0``) - Set the number of Reclaim Unit Handles. This is a mandatory paramater and + Set the number of Reclaim Unit Handles. This is a mandatory parameter and must be non-zero. ``fdp.runs`` (default: ``96M``)
hw/core/loader.c +2 -2
@@ -863,7 +863,7 @@ ssize_t load_image_gzipped(const char *filename, hwaddr addr, uint64_t max_sz)/* * The Linux header magic number for a EFI PE/COFF -* image targetting an unspecified architecture. +* image targeting an unspecified architecture. */ #define EFI_PE_LINUX_MAGIC "\xcd\x23\x82\x81"
@@ -1492,7 +1492,7 @@ RomGap rom_find_largest_gap_between(hwaddr base, size_t size)if (rom->mr || rom->fw_file) {continue ; } -/* ignore anything finishing bellow base */ +/* ignore anything finishing below base */ if (rom->addr + rom->romsize <= base) {continue ; }
include/exec/memory.h +1 -1
@@ -942,7 +942,7 @@ struct MemoryListener {* * @listener: The #MemoryListener. * @last_stage: The last stage to synchronize the log during migration. -* The caller should gurantee that the synchronization with true for +* The caller should guarantee that the synchronization with true for * @last_stage is triggered for once after all VCPUs have been stopped. */ void (*log_sync_global)(MemoryListener *listener,bool last_stage);
ui/vnc-enc-tight.c +1 -1
@@ -77,7 +77,7 @@ static int tight_send_framebuffer_update(VncState *vs, int x, int y, #ifdef CONFIG_VNC_JPEG static const struct { - double jpeg_freq_min; /* Don't send JPEG if the freq is bellow */ + double jpeg_freq_min; /* Don't send JPEG if the freq is below */ double jpeg_freq_threshold; /* Always send JPEG if the freq is above */ int jpeg_idx; /* Allow indexed JPEG */ int jpeg_full; /* Allow full color JPEG */
Signature · 1 line
2.39.2
Quoted 3 lines · Stefan Weil via
Signed-off-by Stefan Weil <[email protected]>---
thanks
-- PMM
Quoted 14 lines · Stefan Weil
Signed-off-by Stefan Weil <[email protected]>---
This patch was triggered by a spelling check for the generated QEMU documentation using codespell. It does not try to fix all typos which still exist in the QEMU code, but has a focus on those required to fix the documentation. Nevertheless some code comments with the same typos were fixed, too.
I think the patch is trivial, so maybe it can still be included in the upcoming release, but that's not strictly necessary.
Stefan
Quoted 7 lines
docs/about/deprecated.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/devices/nvme.rst | 2 +- hw/core/loader.c | 4 ++-- include/exec/memory.h | 2 +- ui/vnc-enc-tight.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Quoted 14 lines · Stefan Weil
Signed-off-by Stefan Weil <[email protected]>---
This patch was triggered by a spelling check for the generated QEMU documentation using codespell. It does not try to fix all typos which still exist in the QEMU code, but has a focus on those required to fix the documentation. Nevertheless some code comments with the same typos were fixed, too.
I think the patch is trivial, so maybe it can still be included in the upcoming release, but that's not strictly necessary.
Stefan
Quoted 7 lines
docs/about/deprecated.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/devices/nvme.rst | 2 +- hw/core/loader.c | 4 ++-- include/exec/memory.h | 2 +- ui/vnc-enc-tight.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Thanks, queued via misc-fixes.
Quoted 27 lines · Stefan Weil via
Signed-off-by Stefan Weil <[email protected]>---
This patch was triggered by a spelling check for the generated QEMU documentation using codespell. It does not try to fix all typos which still exist in the QEMU code, but has a focus on those required to fix the documentation. Nevertheless some code comments with the same typos were fixed, too.
I think the patch is trivial, so maybe it can still be included in the upcoming release, but that's not strictly necessary.
Stefan
docs/about/deprecated.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/devices/nvme.rst | 2 +- hw/core/loader.c | 4 ++-- include/exec/memory.h | 2 +- ui/vnc-enc-tight.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)docs/about/deprecated.rst +0
-0
docs/about/deprecated.rst mapping permissions et al by using its 'mapped' security model option. · line 372
Quoted 5 lines
docs/about/deprecated.rst +1
-1@@ -369,7 +369,7 @@ mapping permissions et al by using its 'mapped' security model option. Nowadays it would make sense to reimplement the ``proxy`` backend by using QEMU's ``vhost`` feature, which would eliminate the high latency costs under which the 9p ``proxy`` backend currently suffers. However as of to date nobody -has indicated plans for such kind of reimplemention unfortunately. +has indicated plans for such kind of reimplementation unfortunately.
FWIW, all these changes has been included in my "tree-wide spelling" series. This particular change:
https://lists.nongnu.org/archive/html/qemu-devel/2023-07/msg03011.html
/mjt