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 <zhaolichang@huawei.com>
Reviewed-by: Alex Bennee <alex.bennee@linaro.org>
Message-Id: <20200917075029.313-2-zhaolichang@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
stable-6.0
zhaolichang 2020-09-17 15:50:20 +08:00 committed by Laurent Vivier
parent 8edacae026
commit e3a6e0daf4
11 changed files with 11 additions and 11 deletions

View File

@ -241,7 +241,7 @@ version 0.8.0:
version 0.7.2: version 0.7.2:
- x86_64 fixes (Win2000 and Linux 2.6 boot in 32 bit) - x86_64 fixes (Win2000 and Linux 2.6 boot in 32 bit)
- merge self modifying code handling in dirty ram page mecanism. - merge self modifying code handling in dirty ram page mechanism.
- MIPS fixes (Ralf Baechle) - MIPS fixes (Ralf Baechle)
- better user net performances - better user net performances

View File

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

View File

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

View File

@ -2602,7 +2602,7 @@ static void bdrv_replace_child_noperm(BdrvChild *child,
/* /*
* Updates @child to change its reference to point to @new_bs, including * Updates @child to change its reference to point to @new_bs, including
* checking and applying the necessary permisson updates both to the old node * checking and applying the necessary permission updates both to the old node
* and to @new_bs. * and to @new_bs.
* *
* NULL is passed as @new_bs for removing the reference before freeing @child. * NULL is passed as @new_bs for removing the reference before freeing @child.

2
configure vendored
View File

@ -3411,7 +3411,7 @@ EOF
xfs="yes" xfs="yes"
else else
if test "$xfs" = "yes" ; then if test "$xfs" = "yes" ; then
feature_not_found "xfs" "Instal xfsprogs/xfslibs devel" feature_not_found "xfs" "Install xfsprogs/xfslibs devel"
fi fi
xfs=no xfs=no
fi fi

View File

@ -518,7 +518,7 @@ static void statfs_to_prstatfs(ProxyStatFS *pr_stfs, struct statfs *stfs)
/* /*
* Gets stat/statfs information and packs in out_iovec structure * Gets stat/statfs information and packs in out_iovec structure
* on success returns number of bytes packed in out_iovec struture * on success returns number of bytes packed in out_iovec structure
* otherwise returns -errno * otherwise returns -errno
*/ */
static int do_stat(int type, struct iovec *iovec, struct iovec *out_iovec) static int do_stat(int type, struct iovec *iovec, struct iovec *out_iovec)

View File

@ -1267,7 +1267,7 @@ ERST
}, },
SRST SRST
``drive_backup`` ``drive_backup``
Start a point-in-time copy of a block device to a specificed target. Start a point-in-time copy of a block device to a specified target.
ERST ERST
{ {

View File

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

View File

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

View File

@ -33,7 +33,7 @@ QDict *qdict_new(void)
} }
/** /**
* tdb_hash(): based on the hash agorithm from gdbm, via tdb * tdb_hash(): based on the hash algorithm from gdbm, via tdb
* (from module-init-tools) * (from module-init-tools)
*/ */
static unsigned int tdb_hash(const char *name) static unsigned int tdb_hash(const char *name)

View File

@ -127,7 +127,7 @@ static int pr_manager_helper_initialize(PRManagerHelper *pr_mgr,
qio_channel_set_delay(QIO_CHANNEL(sioc), false); qio_channel_set_delay(QIO_CHANNEL(sioc), false);
pr_mgr->ioc = QIO_CHANNEL(sioc); pr_mgr->ioc = QIO_CHANNEL(sioc);
/* A simple feature negotation protocol, even though there is /* A simple feature negotiation protocol, even though there is
* no optional feature right now. * no optional feature right now.
*/ */
r = pr_manager_helper_read(pr_mgr, &flags, sizeof(flags), errp); r = pr_manager_helper_read(pr_mgr, &flags, sizeof(flags), errp);