maint: remove / fix many doubled words
Many source files have doubled words (eg "the the", "to to", and so on). Most of these can simply be removed, but a couple were actual mis-spellings (eg "to to" instead of "to do"). There was even one triple word score "to to to" :-) Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
a8f15a2775
commit
b6af097528
@ -498,7 +498,7 @@ int qcow2_get_cluster_offset(BlockDriverState *bs, uint64_t offset,
|
||||
|
||||
*cluster_offset = 0;
|
||||
|
||||
/* seek the the l2 offset in the l1 table */
|
||||
/* seek to the l2 offset in the l1 table */
|
||||
|
||||
l1_index = offset >> l1_bits;
|
||||
if (l1_index >= s->l1_size) {
|
||||
@ -612,7 +612,7 @@ static int get_cluster_table(BlockDriverState *bs, uint64_t offset,
|
||||
uint64_t *l2_table = NULL;
|
||||
int ret;
|
||||
|
||||
/* seek the the l2 offset in the l1 table */
|
||||
/* seek to the l2 offset in the l1 table */
|
||||
|
||||
l1_index = offset >> (s->l2_bits + s->cluster_bits);
|
||||
if (l1_index >= s->l1_size) {
|
||||
|
@ -1294,7 +1294,7 @@ static int realloc_refcount_array(BDRVQcowState *s, void **array,
|
||||
/*
|
||||
* Increases the refcount for a range of clusters in a given refcount table.
|
||||
* This is used to construct a temporary refcount table out of L1 and L2 tables
|
||||
* which can be compared the the refcount table saved in the image.
|
||||
* which can be compared to the refcount table saved in the image.
|
||||
*
|
||||
* Modifies the number of errors in res.
|
||||
*/
|
||||
|
@ -327,7 +327,7 @@ and applet.
|
||||
|
||||
int vcard_emul_get_login_count(VCard *card);
|
||||
|
||||
This function returns the the number of remaining login attempts for this
|
||||
This function returns the number of remaining login attempts for this
|
||||
card. If the card emulator does not know, or the card does not have a
|
||||
way of giving this information, this function returns -1.
|
||||
|
||||
@ -421,7 +421,7 @@ functions:
|
||||
The vcard is the value returned from vcard_new. The type is the
|
||||
card type emulator that this card should presented to the guest as.
|
||||
The flags are card type emulator specific options. The certs,
|
||||
cert_len, and keys are all arrays of length cert_count. These are the
|
||||
cert_len, and keys are all arrays of length cert_count. These are
|
||||
the same of the parameters xxxx_card_init() accepts.
|
||||
|
||||
Finally the card is associated with its reader by the call:
|
||||
|
@ -135,7 +135,7 @@ configuration:
|
||||
TAG+="seat", ENV{ID_AUTOSEAT}="1"
|
||||
|
||||
Patch with this rule has been submitted to upstream udev/systemd, was
|
||||
accepted and and should be included in the next systemd release (222).
|
||||
accepted and should be included in the next systemd release (222).
|
||||
So, if your guest has this or a newer version, multiseat will work just
|
||||
fine without any manual guest configuration.
|
||||
|
||||
|
@ -257,7 +257,7 @@ L2 table entry:
|
||||
|
||||
63: 0 for a cluster that is unused or requires COW, 1 if its
|
||||
refcount is exactly one. This information is only accurate
|
||||
in L2 tables that are reachable from the the active L1
|
||||
in L2 tables that are reachable from the active L1
|
||||
table.
|
||||
|
||||
Standard Cluster Descriptor:
|
||||
|
@ -297,7 +297,7 @@ but not fired. If only partial credits are returned, the interrupt remains
|
||||
masked but the device generates an interrupt, signaling the driver that more
|
||||
outstanding work is available.
|
||||
|
||||
(* this masking is unrelated to to the MSI-X interrupt mask register)
|
||||
(* this masking is unrelated to the MSI-X interrupt mask register)
|
||||
|
||||
Endianness
|
||||
----------
|
||||
|
@ -43,7 +43,7 @@
|
||||
* Added rx/tx buffer reset when enabling rx/tx operation
|
||||
*
|
||||
* 2010-Feb-04 Frediano Ziglio: Rewrote timer support using QEMU timer only
|
||||
* when strictly needed (required for for
|
||||
* when strictly needed (required for
|
||||
* Darwin)
|
||||
* 2011-Mar-22 Benjamin Poirier: Implemented VLAN offloading
|
||||
*/
|
||||
|
@ -1429,7 +1429,7 @@ static void usb_host_free_streams(USBDevice *udev, USBEndpoint **eps,
|
||||
* still present in the first place. Attemping to contine where we
|
||||
* left off is impossible.
|
||||
*
|
||||
* What we are going to to to here is emulate a surprise removal of
|
||||
* What we are going to do here is emulate a surprise removal of
|
||||
* the usb device passed through, then kick host scan so the device
|
||||
* will get re-attached (and re-initialized by the guest) in case it
|
||||
* is still present.
|
||||
|
@ -226,7 +226,7 @@ static int vfio_dma_map(VFIOContainer *container, hwaddr iova,
|
||||
/*
|
||||
* Try the mapping, if it fails with EBUSY, unmap the region and try
|
||||
* again. This shouldn't be necessary, but we sometimes see it in
|
||||
* the the VGA ROM space.
|
||||
* the VGA ROM space.
|
||||
*/
|
||||
if (ioctl(container->fd, VFIO_IOMMU_MAP_DMA, &map) == 0 ||
|
||||
(errno == EBUSY && vfio_dma_unmap(container, iova, size) == 0 &&
|
||||
|
@ -23,7 +23,7 @@ typedef struct BlockDriverInfo {
|
||||
bool is_dirty;
|
||||
/*
|
||||
* True if unallocated blocks read back as zeroes. This is equivalent
|
||||
* to the the LBPRZ flag in the SCSI logical block provisioning page.
|
||||
* to the LBPRZ flag in the SCSI logical block provisioning page.
|
||||
*/
|
||||
bool unallocated_blocks_are_zero;
|
||||
/*
|
||||
|
@ -324,7 +324,7 @@ void memory_region_unref(MemoryRegion *mr);
|
||||
* @owner: the object that tracks the region's reference count
|
||||
* @ops: a structure containing read and write callbacks to be used when
|
||||
* I/O is performed on the region.
|
||||
* @opaque: passed to to the read and write callbacks of the @ops structure.
|
||||
* @opaque: passed to the read and write callbacks of the @ops structure.
|
||||
* @name: used for debugging; not visible to the user or ABI
|
||||
* @size: size of the region.
|
||||
*/
|
||||
|
@ -3014,7 +3014,7 @@ static int elf_core_dump(int signr, const CPUArchState *env)
|
||||
if (dump_write(fd, &elf, sizeof (elf)) != 0)
|
||||
goto out;
|
||||
|
||||
/* fill in in-memory version of notes */
|
||||
/* fill in the in-memory version of notes */
|
||||
if (fill_note_info(&info, signr, env) < 0)
|
||||
goto out;
|
||||
|
||||
|
@ -778,7 +778,7 @@ static void qemu_rdma_dump_gid(const char *who, struct rdma_cm_id *id)
|
||||
*
|
||||
* If the source VM connects with an IPv4 address without knowing that the
|
||||
* destination has bound to '[::]' the migration will unconditionally fail
|
||||
* unless the management software is explicitly listening on the the IPv4
|
||||
* unless the management software is explicitly listening on the IPv4
|
||||
* address while using a RoCE-based device.
|
||||
*
|
||||
* If the source VM connects with an IPv6 address, then we're OK because we can
|
||||
|
@ -1772,7 +1772,7 @@ Use @code{set architecture i8086} to dump 16 bit code. Then use
|
||||
|
||||
Advanced debugging options:
|
||||
|
||||
The default single stepping behavior is step with the IRQs and timer service routines off. It is set this way because when gdb executes a single step it expects to advance beyond the current instruction. With the IRQs and and timer service routines on, a single step might jump into the one of the interrupt or exception vectors instead of executing the current instruction. This means you may hit the same breakpoint a number of times before executing the instruction gdb wants to have executed. Because there are rare circumstances where you want to single step into an interrupt vector the behavior can be controlled from GDB. There are three commands you can query and set the single step behavior:
|
||||
The default single stepping behavior is step with the IRQs and timer service routines off. It is set this way because when gdb executes a single step it expects to advance beyond the current instruction. With the IRQs and timer service routines on, a single step might jump into the one of the interrupt or exception vectors instead of executing the current instruction. This means you may hit the same breakpoint a number of times before executing the instruction gdb wants to have executed. Because there are rare circumstances where you want to single step into an interrupt vector the behavior can be controlled from GDB. There are three commands you can query and set the single step behavior:
|
||||
@table @code
|
||||
@item maintenance packet qqemu.sstepbits
|
||||
|
||||
|
@ -103,7 +103,7 @@ First image format
|
||||
@item -F
|
||||
Second image format
|
||||
@item -s
|
||||
Strict mode - fail on on different image size or sector allocation
|
||||
Strict mode - fail on different image size or sector allocation
|
||||
@end table
|
||||
|
||||
Parameters to convert subcommand:
|
||||
|
@ -3150,7 +3150,7 @@ provide cycle accurate emulation. Modern CPUs contain superscalar out of
|
||||
order cores with complex cache hierarchies. The number of instructions
|
||||
executed often has little or no correlation with actual performance.
|
||||
|
||||
@option{align=on} will activate the delay algorithm which will try to
|
||||
@option{align=on} will activate the delay algorithm which will try
|
||||
to synchronise the host clock and the virtual clock. The goal is to
|
||||
have a guest running at the real frequency imposed by the shift option.
|
||||
Whenever the guest clock is behind the host clock and if
|
||||
|
@ -173,7 +173,7 @@ typedef struct CPUARMState {
|
||||
uint32_t GE; /* cpsr[19:16] */
|
||||
uint32_t thumb; /* cpsr[5]. 0 = arm mode, 1 = thumb mode. */
|
||||
uint32_t condexec_bits; /* IT bits. cpsr[15:10,26:25]. */
|
||||
uint64_t daif; /* exception masks, in the bits they are in in PSTATE */
|
||||
uint64_t daif; /* exception masks, in the bits they are in PSTATE */
|
||||
|
||||
uint64_t elr_el[4]; /* AArch64 exception link regs */
|
||||
uint64_t sp_el[4]; /* AArch64 banked stack pointers */
|
||||
@ -1488,7 +1488,7 @@ bool write_list_to_cpustate(ARMCPU *cpu);
|
||||
*/
|
||||
bool write_cpustate_to_list(ARMCPU *cpu);
|
||||
|
||||
/* Does the core conform to the the "MicroController" profile. e.g. Cortex-M3.
|
||||
/* Does the core conform to the "MicroController" profile. e.g. Cortex-M3.
|
||||
Note the M in older cores (eg. ARM7TDMI) stands for Multiply. These are
|
||||
conventional cores (ie. Application or Realtime profile). */
|
||||
|
||||
|
@ -2123,7 +2123,7 @@ static void vmsa_ttbcr_raw_write(CPUARMState *env, const ARMCPRegInfo *ri,
|
||||
}
|
||||
}
|
||||
|
||||
/* Update the masks corresponding to the the TCR bank being written
|
||||
/* Update the masks corresponding to the TCR bank being written
|
||||
* Note that we always calculate mask and base_mask, but
|
||||
* they are only used for short-descriptor tables (ie if EAE is 0);
|
||||
* for long-descriptor tables the TCR fields are used differently
|
||||
|
@ -8500,7 +8500,7 @@ static void disas_arm_insn(DisasContext *s, unsigned int insn)
|
||||
}
|
||||
/* Perform base writeback before the loaded value to
|
||||
ensure correct behavior with overlapping index registers.
|
||||
ldrd with base writeback is is undefined if the
|
||||
ldrd with base writeback is undefined if the
|
||||
destination and index registers overlap. */
|
||||
if (!(insn & (1 << 24))) {
|
||||
gen_add_datah_offset(s, insn, address_offset, addr);
|
||||
|
@ -81,7 +81,7 @@ void lm32_watchpoint_insert(CPULM32State *env, int idx, target_ulong address,
|
||||
|
||||
switch (wp_type) {
|
||||
case LM32_WP_DISABLED:
|
||||
/* nothing to to */
|
||||
/* nothing to do */
|
||||
break;
|
||||
case LM32_WP_READ:
|
||||
flags = BP_CPU | BP_STOP_BEFORE_ACCESS | BP_MEM_READ;
|
||||
|
@ -1012,7 +1012,7 @@ static void dec_load(DisasContext *dc)
|
||||
tcg_temp_free(v);
|
||||
|
||||
if (ex) { /* lwx */
|
||||
/* no support for for AXI exclusive so always clear C */
|
||||
/* no support for AXI exclusive so always clear C */
|
||||
write_carryi(dc, 0);
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ void helper_raise_exception(CPUMoxieState *env, int ex)
|
||||
/* Stash the address where the exception occurred. */
|
||||
cpu_restore_state(cs, GETPC());
|
||||
env->sregs[5] = env->pc;
|
||||
/* Jump the the exception handline routine. */
|
||||
/* Jump to the exception handline routine. */
|
||||
env->pc = env->sregs[1];
|
||||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "qemu/atomic.h"
|
||||
|
||||
/*
|
||||
* bitmaps provide an array of bits, implemented using an an
|
||||
* bitmaps provide an array of bits, implemented using an
|
||||
* array of unsigned longs. The number of valid bits in a
|
||||
* given bitmap does _not_ need to be an exact multiple of
|
||||
* BITS_PER_LONG.
|
||||
|
Loading…
Reference in New Issue
Block a user