Skip to content

Commit e3a6e0d

Browse files
zhaolichangvivier
zhaolichang
authored andcommitted
qemu/: fix some comment spelling errors
I found that there are many spelling errors in the comments of qemu, so I used the spellcheck tool to check the spelling errors and finally found some spelling errors in the folder. Signed-off-by: zhaolichang <[email protected]> Reviewed-by: Alex Bennee <[email protected]> Message-Id: <[email protected]> Signed-off-by: Laurent Vivier <[email protected]>
1 parent 8edacae commit e3a6e0d

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

Changelog

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ version 0.8.0:
241241
version 0.7.2:
242242

243243
- x86_64 fixes (Win2000 and Linux 2.6 boot in 32 bit)
244-
- merge self modifying code handling in dirty ram page mecanism.
244+
- merge self modifying code handling in dirty ram page mechanism.
245245
- MIPS fixes (Ralf Baechle)
246246
- better user net performances
247247

accel/tcg/user-exec.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static inline int handle_cpu_signal(uintptr_t pc, siginfo_t *info,
8888
* use that value directly. Within cpu_restore_state_from_tb, we
8989
* assume PC comes from GETPC(), as used by the helper functions,
9090
* so we adjust the address by -GETPC_ADJ to form an address that
91-
* is within the call insn, so that the address does not accidentially
91+
* is within the call insn, so that the address does not accidentally
9292
* match the beginning of the next guest insn. However, when the
9393
* pc comes from the signal frame it points to the actual faulting
9494
* host memory insn and not the return from a call insn.

audio/audio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ static AudioState *audio_init(Audiodev *dev, const char *name)
16741674
head = audio_handle_legacy_opts();
16751675
/*
16761676
* In case of legacy initialization, all Audiodevs in the list will have
1677-
* the same configuration (except the driver), so it does't matter which
1677+
* the same configuration (except the driver), so it doesn't matter which
16781678
* one we chose. We need an Audiodev to set up AudioState before we can
16791679
* init a driver. Also note that dev at this point is still in the
16801680
* list.

block.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2602,7 +2602,7 @@ static void bdrv_replace_child_noperm(BdrvChild *child,
26022602

26032603
/*
26042604
* Updates @child to change its reference to point to @new_bs, including
2605-
* checking and applying the necessary permisson updates both to the old node
2605+
* checking and applying the necessary permission updates both to the old node
26062606
* and to @new_bs.
26072607
*
26082608
* NULL is passed as @new_bs for removing the reference before freeing @child.

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -3411,7 +3411,7 @@ EOF
34113411
xfs="yes"
34123412
else
34133413
if test "$xfs" = "yes" ; then
3414-
feature_not_found "xfs" "Instal xfsprogs/xfslibs devel"
3414+
feature_not_found "xfs" "Install xfsprogs/xfslibs devel"
34153415
fi
34163416
xfs=no
34173417
fi

fsdev/virtfs-proxy-helper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static void statfs_to_prstatfs(ProxyStatFS *pr_stfs, struct statfs *stfs)
518518

519519
/*
520520
* Gets stat/statfs information and packs in out_iovec structure
521-
* on success returns number of bytes packed in out_iovec struture
521+
* on success returns number of bytes packed in out_iovec structure
522522
* otherwise returns -errno
523523
*/
524524
static int do_stat(int type, struct iovec *iovec, struct iovec *out_iovec)

hmp-commands.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ ERST
12671267
},
12681268
SRST
12691269
``drive_backup``
1270-
Start a point-in-time copy of a block device to a specificed target.
1270+
Start a point-in-time copy of a block device to a specified target.
12711271
ERST
12721272

12731273
{

libdecnumber/decNumber.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5626,7 +5626,7 @@ static const uShort LNnn[90] = {
56265626
/* would certainly save at least one if it were made ten times */
56275627
/* bigger, too (for truncated fractions 0.100 through 0.999). */
56285628
/* However, for most practical evaluations, at least four or five */
5629-
/* iterations will be neede -- so this would only speed up by */
5629+
/* iterations will be needed -- so this would only speed up by */
56305630
/* 20-25% and that probably does not justify increasing the table */
56315631
/* size. */
56325632
/* */

qemu-img.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ static int64_t find_nonzero(const uint8_t *buf, int64_t n)
11881188
* 'pnum' is set to the number of sectors (including and immediately following
11891189
* the first one) that are known to be in the same allocated/unallocated state.
11901190
* The function will try to align the end offset to alignment boundaries so
1191-
* that the request will at least end aligned and consequtive requests will
1191+
* that the request will at least end aligned and consecutive requests will
11921192
* also start at an aligned offset.
11931193
*/
11941194
static int is_allocated_sectors(const uint8_t *buf, int n, int *pnum,

qobject/qdict.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ QDict *qdict_new(void)
3333
}
3434

3535
/**
36-
* tdb_hash(): based on the hash agorithm from gdbm, via tdb
36+
* tdb_hash(): based on the hash algorithm from gdbm, via tdb
3737
* (from module-init-tools)
3838
*/
3939
static unsigned int tdb_hash(const char *name)

scsi/pr-manager-helper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static int pr_manager_helper_initialize(PRManagerHelper *pr_mgr,
127127
qio_channel_set_delay(QIO_CHANNEL(sioc), false);
128128
pr_mgr->ioc = QIO_CHANNEL(sioc);
129129

130-
/* A simple feature negotation protocol, even though there is
130+
/* A simple feature negotiation protocol, even though there is
131131
* no optional feature right now.
132132
*/
133133
r = pr_manager_helper_read(pr_mgr, &flags, sizeof(flags), errp);

0 commit comments

Comments
 (0)