Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for…
Browse files Browse the repository at this point in the history
…-5.2-pull-request' into staging

Pull request trivial patches 20200919

# gpg: Signature made Sat 19 Sep 2020 19:43:35 BST
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Laurent Vivier <[email protected]>" [full]
# gpg:                 aka "Laurent Vivier <[email protected]>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <[email protected]>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/trivial-branch-for-5.2-pull-request:
  contrib/: fix some comment spelling errors
  qapi/: fix some comment spelling errors
  disas/: fix some comment spelling errors
  linux-user/: fix some comment spelling errors
  util/: fix some comment spelling errors
  scripts/: fix some comment spelling errors
  docs/: fix some comment spelling errors
  migration/: fix some comment spelling errors
  qemu/: fix some comment spelling errors
  scripts/git.orderfile: Display meson files along with buildsys ones
  hw/timer/hpet: Fix debug format strings
  hw/timer/hpet: Remove unused functions hpet_ram_readb, hpet_ram_readw
  meson: remove empty else and duplicated gio deps
  manual: escape backslashes in "parsed-literal" blocks
  ui/spice-input: Remove superfluous forward declaration
  hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definition
  hw/gpio/max7310: Remove impossible check

Signed-off-by: Peter Maydell <[email protected]>
  • Loading branch information
pm215 committed Sep 22, 2020
2 parents 4dad0a9 + 639b090 commit 834b927
Show file tree
Hide file tree
Showing 69 changed files with 163 additions and 179 deletions.
2 changes: 1 addition & 1 deletion Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ version 0.8.0:
version 0.7.2:

- 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)
- better user net performances

Expand Down
2 changes: 1 addition & 1 deletion accel/tcg/user-exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* assume PC comes from GETPC(), as used by the helper functions,
* 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
* pc comes from the signal frame it points to the actual faulting
* host memory insn and not the return from a call insn.
Expand Down
2 changes: 1 addition & 1 deletion audio/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ static AudioState *audio_init(Audiodev *dev, const char *name)
head = audio_handle_legacy_opts();
/*
* 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
* init a driver. Also note that dev at this point is still in the
* list.
Expand Down
2 changes: 1 addition & 1 deletion block.c
Original file line number Diff line number Diff line change
Expand Up @@ -2602,7 +2602,7 @@ static void bdrv_replace_child_noperm(BdrvChild *child,

/*
* 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.
*
* NULL is passed as @new_bs for removing the reference before freeing @child.
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -3415,7 +3415,7 @@ EOF
xfs="yes"
else
if test "$xfs" = "yes" ; then
feature_not_found "xfs" "Instal xfsprogs/xfslibs devel"
feature_not_found "xfs" "Install xfsprogs/xfslibs devel"
fi
xfs=no
fi
Expand Down
6 changes: 3 additions & 3 deletions contrib/gitdm/filetypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# in the gitdm sample-config directory.
#
# This file contains associations parameters regarding filetypes
# (documentation, develompent, multimedia, images...)
# (documentation, development, multimedia, images...)
#
# format:
# filetype <type> <regex> [<comment>]
Expand Down Expand Up @@ -59,8 +59,8 @@ filetype code \.s$ # Assembly
filetype code \.S$ # Assembly
filetype code \.asm$ # Assembly
filetype code \.awk$ # awk
filetype code ^common$ # script fragements
filetype code ^common.*$ # script fragements
filetype code ^common$ # script fragments
filetype code ^common.*$ # script fragments
filetype code (qom|qmp)-\w+$ # python script fragments

#
Expand Down
2 changes: 1 addition & 1 deletion contrib/ivshmem-client/ivshmem-client.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ int ivshmem_client_notify_all_vects(const IvshmemClient *client,
const IvshmemClientPeer *peer);

/**
* Broadcat a notification to all vectors of all peers
* Broadcast a notification to all vectors of all peers
*
* @client: The ivshmem client
*
Expand Down
4 changes: 2 additions & 2 deletions contrib/libvhost-user/libvhost-user.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ vu_add_mem_reg(VuDev *dev, VhostUserMsg *vmsg) {

/*
* If we are in postcopy mode and we receive a u64 payload with a 0 value
* we know all the postcopy client bases have been recieved, and we
* we know all the postcopy client bases have been received, and we
* should start generating faults.
*/
if (track_ramblocks &&
Expand Down Expand Up @@ -973,7 +973,7 @@ vu_set_mem_table_exec(VuDev *dev, VhostUserMsg *vmsg)
for (i = 0; i < dev->max_queues; i++) {
if (dev->vq[i].vring.desc) {
if (map_ring(dev, &dev->vq[i])) {
vu_panic(dev, "remaping queue %d during setmemtable", i);
vu_panic(dev, "remapping queue %d during setmemtable", i);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion contrib/libvhost-user/libvhost-user.h
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ typedef struct VuVirtqElement {
* @remove_watch: a remove_watch callback
* @iface: a VuDevIface structure with vhost-user device callbacks
*
* Intializes a VuDev vhost-user context.
* Initializes a VuDev vhost-user context.
*
* Returns: true on success, false on failure.
**/
Expand Down
2 changes: 1 addition & 1 deletion disas/hppa.c
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info)
fput_fp_reg (GET_FIELD (insn, 6, 10), info);
break;

/* 'fA' will not generate a space before the regsiter
/* 'fA' will not generate a space before the register
name. Normally that is fine. Except that it
causes problems with xmpyu which has no FP format
completer. */
Expand Down
8 changes: 4 additions & 4 deletions disas/m68k.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct floatformat
unsigned int exp_start;
unsigned int exp_len;
/* Bias added to a "true" exponent to form the biased exponent. It
is intentionally signed as, otherwize, -exp_bias can turn into a
is intentionally signed as, otherwise, -exp_bias can turn into a
very large number (e.g., given the exp_bias of 0x3fff and a 64
bit long, the equation (long)(1 - exp_bias) evaluates to
4294950914) instead of -16382). */
Expand Down Expand Up @@ -479,7 +479,7 @@ struct m68k_opcode_alias
and remaining 3 bits of register shifted 9 bits in first word.
Indicate upper/lower in 1 bit shifted 7 bits in second word.
Use with `R' or `u' format.
n `m' withouth upper/lower indication. (For M[S]ACx; 4 bits split
n `m' without upper/lower indication. (For M[S]ACx; 4 bits split
with MSB shifted 6 bits in first word and remaining 3 bits of
register shifted 9 bits in first word. No upper/lower
indication is done.) Use with `R' or `u' format.
Expand Down Expand Up @@ -854,7 +854,7 @@ fetch_arg (unsigned char *buffer,

/* Check if an EA is valid for a particular code. This is required
for the EMAC instructions since the type of source address determines
if it is a EMAC-load instruciton if the EA is mode 2-5, otherwise it
if it is a EMAC-load instruction if the EA is mode 2-5, otherwise it
is a non-load EMAC instruction and the bits mean register Ry.
A similar case exists for the movem instructions where the register
mask is interpreted differently for different EAs. */
Expand Down Expand Up @@ -1080,7 +1080,7 @@ print_indexed (int basereg,

/* Returns number of bytes "eaten" by the operand, or
return -1 if an invalid operand was found, or -2 if
an opcode tabe error was found.
an opcode table error was found.
ADDR is the pc for this arg to be relative to. */

static int
Expand Down
2 changes: 1 addition & 1 deletion disas/ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5226,7 +5226,7 @@ operand_value_powerpc (const struct powerpc_operand *operand,
if ((operand->flags & PPC_OPERAND_SIGNED) != 0)
{
/* BITM is always some number of zeros followed by some
number of ones, followed by some numer of zeros. */
number of ones, followed by some number of zeros. */
unsigned long top = operand->bitm;
/* top & -top gives the rightmost 1 bit, so this
fills in any trailing zeros. */
Expand Down
6 changes: 3 additions & 3 deletions docs/COLO-FT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ the heartbeat stops responding, the secondary node will trigger a failover
as soon as it determines the absence.

COLO disk Manager:
When primary VM writes data into image, the colo disk manger captures this data
When primary VM writes data into image, the colo disk manager captures this data
and sends it to secondary VM's which makes sure the context of secondary VM's
image is consistent with the context of primary VM 's image.
For more details, please refer to docs/block-replication.txt.
Expand Down Expand Up @@ -146,12 +146,12 @@ in test procedure.

== Test procedure ==
Note: Here we are running both instances on the same host for testing,
change the IP Addresses if you want to run it on two hosts. Initally
change the IP Addresses if you want to run it on two hosts. Initially
127.0.0.1 is the Primary Host and 127.0.0.2 is the Secondary Host.

== Startup qemu ==
1. Primary:
Note: Initally, $imagefolder/primary.qcow2 needs to be copied to all hosts.
Note: Initially, $imagefolder/primary.qcow2 needs to be copied to all hosts.
You don't need to change any IP's here, because 0.0.0.0 listens on any
interface. The chardev's with 127.0.0.1 IP's loopback to the local qemu
instance.
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/blkdebug.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Rules support the following attributes:

errno - the numeric errno value to return when a request matches this rule.
The errno values depend on the host since the numeric values are not
standarized in the POSIX specification.
standardized in the POSIX specification.

sector - (optional) a sector number that the request must overlap in order to
match this rule
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ It can be issued immediately after migration is started or any
time later on. Issuing it after the end of a migration is harmless.
Blocktime is a postcopy live migration metric, intended to show how
long the vCPU was in state of interruptable sleep due to pagefault.
long the vCPU was in state of interruptible sleep due to pagefault.
That metric is calculated both for all vCPUs as overlapped value, and
separately for each vCPU. These values are calculated on destination
side. To enable postcopy blocktime calculation, enter following
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ the warning.
A few important files for suppressing warnings are:

tests/tsan/suppressions.tsan - Has TSan warnings we wish to suppress at runtime.
The comment on each supression will typically indicate why we are
The comment on each suppression will typically indicate why we are
suppressing it. More information on the file format can be found here:

https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/tracing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ without any sub-directory path prefix. eg io/channel-buffer.c would do
#include "trace.h"

To access the 'io/trace.h' file. While it is possible to include a trace.h
file from outside a source files' own sub-directory, this is discouraged in
file from outside a source file's own sub-directory, this is discouraged in
general. It is strongly preferred that all events be declared directly in
the sub-directory that uses them. The only exception is where there are some
shared trace events defined in the top level directory trace-events file.
Expand Down
2 changes: 1 addition & 1 deletion docs/interop/bitmaps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ Bitmaps can generally be modified at any time, but certain operations often
only make sense when paired directly with other commands. When a VM is paused,
it's easy to ensure that no guest writes occur between individual QMP
commands. When a VM is running, this is difficult to accomplish with
individual QMP commands that may allow guest writes to occur inbetween each
individual QMP commands that may allow guest writes to occur between each
command.

For example, using only individual QMP commands, we could:
Expand Down
4 changes: 2 additions & 2 deletions docs/interop/dbus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Depending on the use case, you may choose different scenarios:
- Everything the same UID

- Convenient for developers
- Improved reliability - crash of one part doens't take
- Improved reliability - crash of one part doesn't take
out entire VM
- No security benefit over traditional QEMU, unless additional
unless additional controls such as SELinux or AppArmor are
Expand Down Expand Up @@ -87,7 +87,7 @@ For example, to allow only ``qemu`` user to talk to ``qemu-helper``
</policy>
dbus-daemon can also perfom SELinux checks based on the security
dbus-daemon can also perform SELinux checks based on the security
context of the source and the target. For example, ``virtiofs_t``
could be allowed to send a message to ``svirt_t``, but ``virtiofs_t``
wouldn't be allowed to send a message to ``virtiofs_t``.
Expand Down
2 changes: 1 addition & 1 deletion docs/interop/nbd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ the operation of that feature.
* 2.12: NBD_CMD_BLOCK_STATUS for "base:allocation"
* 3.0: NBD_OPT_STARTTLS with TLS Pre-Shared Keys (PSK),
NBD_CMD_BLOCK_STATUS for "qemu:dirty-bitmap:", NBD_CMD_CACHE
* 4.2: NBD_FLAG_CAN_MULTI_CONN for sharable read-only exports,
* 4.2: NBD_FLAG_CAN_MULTI_CONN for shareable read-only exports,
NBD_CMD_FLAG_FAST_ZERO
2 changes: 1 addition & 1 deletion docs/interop/vhost-user-gpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ VhostUserGpuCursorPos

:scanout-id: ``u32``, the scanout where the cursor is located

:x/y: ``u32``, the cursor postion
:x/y: ``u32``, the cursor position

VhostUserGpuCursorUpdate
^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
4 changes: 2 additions & 2 deletions docs/interop/vhost-user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ the ``VHOST_USER_SET_MEM_TABLE`` request. For invalidation events, the
(3), the I/O virtual address and the size. On success, the slave is
expected to reply with a zero payload, non-zero otherwise.

The slave relies on the slave communcation channel (see :ref:`Slave
The slave relies on the slave communication channel (see :ref:`Slave
communication <slave_communication>` section below) to send IOTLB miss
and access failure events, by sending ``VHOST_USER_SLAVE_IOTLB_MSG``
requests to the master with a ``struct vhost_iotlb_msg`` as
Expand Down Expand Up @@ -1450,7 +1450,7 @@ vhost-user backends can provide various devices & services and may
need to be configured manually depending on the use case. However, it
is a good idea to follow the conventions listed here when
possible. Users, QEMU or libvirt, can then rely on some common
behaviour to avoid heterogenous configuration and management of the
behaviour to avoid heterogeneous configuration and management of the
backend programs and facilitate interoperability.

Each backend installed on a host system should come with at least one
Expand Down
2 changes: 1 addition & 1 deletion docs/rdma.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ qemu_rdma_exchange_send(header, data, optional response header & data):
of the connection (described below).

All of the remaining command types (not including 'ready')
described above all use the aformentioned two functions to do the hard work:
described above all use the aforementioned two functions to do the hard work:

1. After connection setup, RAMBlock information is exchanged using
this protocol before the actual migration begins. This information includes
Expand Down
4 changes: 2 additions & 2 deletions docs/specs/ppc-spapr-hotplug.txt
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ ibm,dynamic-memory

This property describes the dynamically reconfigurable memory. It is a
property encoded array that has an integer N, the number of LMBs followed
by N LMB list entires.
by N LMB list entries.

Each LMB list entry consists of the following elements:

Expand All @@ -390,7 +390,7 @@ Each LMB list entry consists of the following elements:
ibm,dynamic-memory-v2

This property describes the dynamically reconfigurable memory. This is
an alternate and newer way to describe dyanamically reconfigurable memory.
an alternate and newer way to describe dynamically reconfigurable memory.
It is a property encoded array that has an integer N (the number of
LMB set entries) followed by N LMB set entries. There is an LMB set entry
for each sequential group of LMBs that share common attributes.
Expand Down
4 changes: 2 additions & 2 deletions docs/specs/ppc-spapr-xive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ default mode. ``dual`` means that both modes XICS **and** XIVE are
supported and if the guest OS supports XIVE, this mode will be
selected.

The choosen interrupt mode is activated after a reconfiguration done
The chosen interrupt mode is activated after a reconfiguration done
in a machine reset.

KVM negotiation
Expand Down Expand Up @@ -158,7 +158,7 @@ XIVE Device tree properties
---------------------------

The properties for the PAPR interrupt controller node when the *XIVE
native exploitation mode* is selected shoud contain:
native exploitation mode* is selected should contain:

- ``device_type``

Expand Down
2 changes: 1 addition & 1 deletion docs/system/arm/aspeed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Boot options
------------

The Aspeed machines can be started using the -kernel option to load a
Linux kernel or from a firmare image which can be downloaded from the
Linux kernel or from a firmware image which can be downloaded from the
OpenPOWER jenkins :

https://openpower.xyz/
Expand Down
8 changes: 4 additions & 4 deletions docs/system/deprecated.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Creating sound card devices and vnc without ``audiodev=`` property (since 4.2)

When not using the deprecated legacy audio config, each sound card
should specify an ``audiodev=`` property. Additionally, when using
vnc, you should specify an ``audiodev=`` propery if you plan to
vnc, you should specify an ``audiodev=`` property if you plan to
transmit audio through the VNC protocol.

Creating sound card devices using ``-soundhw`` (since 5.1)
Expand Down Expand Up @@ -111,7 +111,7 @@ Splitting RAM by default between NUMA nodes has the same issues as ``mem``
parameter described above with the difference that the role of the user plays
QEMU using implicit generic or board specific splitting rule.
Use ``memdev`` with *memory-backend-ram* backend or ``mem`` (if
it's supported by used machine type) to define mapping explictly instead.
it's supported by used machine type) to define mapping explicitly instead.

``-mem-path`` fallback to RAM (since 4.1)
'''''''''''''''''''''''''''''''''''''''''
Expand Down Expand Up @@ -541,10 +541,10 @@ The ``[hub_id name]`` parameter tuple of the 'hostfwd_add' and
Guest Emulator ISAs
-------------------

RISC-V ISA privledge specification version 1.09.1 (removed in 5.1)
RISC-V ISA privilege specification version 1.09.1 (removed in 5.1)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

The RISC-V ISA privledge specification version 1.09.1 has been removed.
The RISC-V ISA privilege specification version 1.09.1 has been removed.
QEMU supports both the newer version 1.10.0 and the ratified version 1.11.0, these
should be used instead of the 1.09.1 version.

Expand Down
8 changes: 4 additions & 4 deletions docs/system/device-url-syntax.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ These are specified using a special URL syntax.

.. parsed-literal::

|qemu_system| -iscsi initiator-name=iqn.2001-04.com.example:my-initiator \
-cdrom iscsi://192.0.2.1/iqn.2001-04.com.example/2 \
|qemu_system| -iscsi initiator-name=iqn.2001-04.com.example:my-initiator \\
-cdrom iscsi://192.0.2.1/iqn.2001-04.com.example/2 \\
-drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1

Example (CHAP username/password via URL):
Expand All @@ -39,8 +39,8 @@ These are specified using a special URL syntax.

.. parsed-literal::

LIBISCSI_CHAP_USERNAME="user" \
LIBISCSI_CHAP_PASSWORD="password" \
LIBISCSI_CHAP_USERNAME="user" \\
LIBISCSI_CHAP_PASSWORD="password" \\
|qemu_system| -drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1

``NBD``
Expand Down
Loading

0 comments on commit 834b927

Please sign in to comment.