Skip to content

Commit

Permalink
Fix typos and misspellings
Browse files Browse the repository at this point in the history
Fix various typos and misspellings. The bulk of these were found with
codespell.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
  • Loading branch information
pm215 authored and stefanhaRH committed Mar 22, 2013
1 parent a7b66fa commit 085d813
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docs/usb-storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ qemu usb storage emulation
QEMU has three devices for usb storage emulation.

Number one emulates the classic bulk-only transport protocol which is
used by 99% of the usb sticks on the marked today and is called
used by 99% of the usb sticks on the market today and is called
"usb-storage". Usage (hooking up to xhci, other host controllers work
too):

Expand Down Expand Up @@ -36,7 +36,7 @@ It's called "usb-bot". It shares most code with "usb-storage", and
the guest will not be able to see the difference. The qemu command
line interface is simliar to usb-uas though, i.e. no automatic scsi
disk creation. It also features support for up to 16 LUNs. The LUN
numbers must be continous, i.e. for three devices you must use 0+1+2.
numbers must be continuous, i.e. for three devices you must use 0+1+2.
The 0+1+5 numbering from the "usb-uas" example isn't going to work
with "usb-bot".

Expand Down
2 changes: 1 addition & 1 deletion hw/arm-misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "exec/memory.h"
#include "hw/irq.h"

/* The CPU is also modeled as an interrupt controller. */
/* The CPU is also modelled as an interrupt controller. */
#define ARM_PIC_CPU_IRQ 0
#define ARM_PIC_CPU_FIQ 1
qemu_irq *arm_pic_init_cpu(ARMCPU *cpu);
Expand Down
2 changes: 1 addition & 1 deletion hw/pci/pci_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ do { printf("pci_host_data: " fmt , ## __VA_ARGS__); } while (0)
* bit 0 - 7: offset in configuration space of a given pci device
*/

/* the helper functio to get a PCIDeice* for a given pci address */
/* the helper function to get a PCIDevice* for a given pci address */
static inline PCIDevice *pci_dev_find_by_addr(PCIBus *bus, uint32_t addr)
{
uint8_t bus_num = addr >> 16;
Expand Down
2 changes: 1 addition & 1 deletion hw/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ static void sdhci_do_adma(SDHCIState *s)
}
}

/* we have unfinished bussiness - reschedule to continue ADMA */
/* we have unfinished business - reschedule to continue ADMA */
qemu_mod_timer(s->transfer_timer,
qemu_get_clock_ns(vm_clock) + SDHC_TRANSFER_DELAY);
}
Expand Down
2 changes: 1 addition & 1 deletion include/qom/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ typedef struct InterfaceInfo InterfaceInfo;
* Methods are always <emphasis>virtual</emphasis>. Overriding a method in
* #TypeInfo.class_init of a subclass leads to any user of the class obtained
* via OBJECT_GET_CLASS() accessing the overridden function.
* The original function is not automatically invoked. It is the responsability
* The original function is not automatically invoked. It is the responsibility
* of the overriding class to determine whether and when to invoke the method
* being overridden.
*
Expand Down
8 changes: 4 additions & 4 deletions monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -3560,10 +3560,10 @@ static const mon_cmd_t *qmp_find_cmd(const char *cmdname)
* If @cmdline is blank, return NULL.
* If it can't be parsed, report to @mon, and return NULL.
* Else, insert command arguments into @qdict, and return the command.
* If sub-command table exist, and if @cmdline contains addtional string for
* sub-command, this function will try search sub-command table. if no
* addtional string for sub-command exist, this function will return the found
* one in @table.
* If a sub-command table exists, and if @cmdline contains an additional string
* for a sub-command, this function will try to search the sub-command table.
* If no additional string for a sub-command is present, this function will
* return the command found in @table.
* Do not assume the returned command points into @table! It doesn't
* when the command is a sub-command.
*/
Expand Down
2 changes: 1 addition & 1 deletion net/tap.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
/* QEMU vlans does not support multiqueue tap, in this case peer is set.
* For -netdev, peer is always NULL. */
if (peer && (tap->has_queues || tap->has_fds || tap->has_vhostfds)) {
error_report("Multiqueue tap cannnot be used with QEMU vlans");
error_report("Multiqueue tap cannot be used with QEMU vlans");
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion qemu-options.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ is a TCP port number, not a display number.
@item websocket

Opens an additional TCP listening port dedicated to VNC Websocket connections.
By defintion the Websocket port is 5700+@var{display}. If @var{host} is
By definition the Websocket port is 5700+@var{display}. If @var{host} is
specified connections will only be allowed from this host.
As an alternative the Websocket port could be specified by using
@code{websocket}=@var{port}.
Expand Down
2 changes: 1 addition & 1 deletion qga/commands-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void qmp_guest_shutdown(bool has_mode, const char *mode, Error **err)
return;
}

/* succeded */
/* succeeded */
}

int64_t qmp_guest_get_time(Error **errp)
Expand Down
2 changes: 1 addition & 1 deletion target-i386/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -4746,7 +4746,7 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s,
}
s->pc++;

/* 4.1.1-4.1.3: No preceeding lock, 66, f2, f3, or rex prefixes. */
/* 4.1.1-4.1.3: No preceding lock, 66, f2, f3, or rex prefixes. */
if (prefixes & (PREFIX_REPZ | PREFIX_REPNZ
| PREFIX_LOCK | PREFIX_DATA)) {
goto illegal_op;
Expand Down
2 changes: 1 addition & 1 deletion target-s390x/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ struct DisasInsn {
};

/* ====================================================================== */
/* Miscelaneous helpers, used by several operations. */
/* Miscellaneous helpers, used by several operations. */

static void help_l2_shift(DisasContext *s, DisasFields *f,
DisasOps *o, int mask)
Expand Down

0 comments on commit 085d813

Please sign in to comment.