mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-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 "laurent@vivier.eu" # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full] # gpg: aka "Laurent Vivier <laurent@vivier.eu>" [full] # gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [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 <peter.maydell@linaro.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>]
|
||||
@@ -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
|
||||
|
||||
#
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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 &&
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
**/
|
||||
|
||||
+1
-1
@@ -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. */
|
||||
|
||||
+4
-4
@@ -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). */
|
||||
@@ -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.
|
||||
@@ -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. */
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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. */
|
||||
|
||||
+3
-3
@@ -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.
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
@@ -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``.
|
||||
|
||||
@@ -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
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user