[PATCH 2/2] ui: fix incorrect pointer position on highdpi with gtk

2021-11-21 Thread Alexander Orzechowski
Signed-off-by: Alexander Orzechowski --- ui/gtk.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index d2892ea6b4..b2670142b5 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -838,10 +838,11 @@ static gboolean gd_motion_event(GtkWidget *widget, GdkEv

[PATCH 0/2] Fix trivial errors with highdpi/wayland

2021-11-21 Thread Alexander Orzechowski
Hi, this patch series is ment to fix two problems with highdpi/wayland with gtk that makes the program unusuable. As it stands currently: The virtual machine window will only render in the bottom-left quarter of the screen (with 2x scaling) while using the gtk,gl=on and virtgl backend. This also f

[PATCH 1/2] ui: fix incorrect scaling on highdpi with gtk/opengl

2021-11-21 Thread Alexander Orzechowski
Signed-off-by: Alexander Orzechowski --- ui/gtk-gl-area.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/gtk-gl-area.c b/ui/gtk-gl-area.c index 461da7712f..d3565698ae 100644 --- a/ui/gtk-gl-area.c +++ b/ui/gtk-gl-area.c @@ -41,15 +41,16 @@ void gd_gl_area_draw(Virtu

Re: [PATCH for-6.2 0/2] escc: fixes for STATUS_TXEMPTY and SPEC_ALLSENT

2021-11-21 Thread Mark Cave-Ayland
On 18/11/2021 18:23, Peter Maydell wrote: On Thu, 18 Nov 2021 at 18:18, Mark Cave-Ayland wrote: This is another attempt to fix booting 32-bit QEMU SPARC machines in qemu-system-sparc using a real Sun PROM based upon further experiments and re-reading of the ESCC datasheet from a previous patc

[PULL 0/2] qemu-sparc queue 20211121

2021-11-21 Thread Mark Cave-Ayland
The following changes since commit 8627edfb3f1fca24a96a0954148885c3241c10f8: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2021-11-19 17:16:57 +0100) are available in the Git repository at: git://github.com/mcayland/qemu.git tags/qemu-sparc-20211121

[PULL 2/2] escc: update the R_SPEC register SPEC_ALLSENT bit when writing to W_TXCTRL1

2021-11-21 Thread Mark Cave-Ayland
The ESCC datasheet states that SPEC_ALLSENT is always set in sync mode and set in async mode once all characters have cleared the transmitter. Since writes to SERIAL_DATA use a synchronous chardev API, the guest can never see the state when transmission is in progress so it is possible to set SPEC

[PULL 1/2] escc: always set STATUS_TXEMPTY in R_STATUS on device reset

2021-11-21 Thread Mark Cave-Ayland
The "Transmit Interrupts and Transmit Buffer Empty Bit" section of the ESCC datasheet states the following about the STATUS_TXEMPTY bit: "After a hardware reset (including a hardware reset by software), or a channel reset, this bit is set to 1". Update escc_reset() to set the STATUS_TXEMPTY bit in

[PATCH v4 04/10] hw/arm/virt: Support clusters on ARM virt machines

2021-11-21 Thread Yanan Wang via
In implementations of ARM64 architecture, at most there could be a CPU topology hierarchy like "sockets/dies/clusters/cores/threads" defined. For example, some ARM64 server chip Kunpeng 920 totally has 2 sockets, 2 NUMA nodes (also represent CPU dies range) in each socket, 6 clusters in each NUMA n

[PATCH v4 05/10] hw/arm/virt: Support cluster level in DT cpu-map

2021-11-21 Thread Yanan Wang via
Support one cluster level between core and physical package in the cpu-map of Arm/virt devicetree. This is also consistent with Linux Doc "Documentation/devicetree/bindings/cpu/cpu-topology.txt". Signed-off-by: Yanan Wang --- hw/arm/virt.c | 15 --- 1 file changed, 8 insertions(+), 7

[PATCH v4 09/10] hw/acpi/virt-acpi-build: Support cluster level in PPTT generation

2021-11-21 Thread Yanan Wang via
Support cluster level in generation of ACPI Processor Properties Topology Table (PPTT) for ARM virt machines. Signed-off-by: Yanan Wang --- hw/arm/virt-acpi-build.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index bef7

[PATCH v4 00/10] ARM virt: Introduce CPU clusters topology support

2021-11-21 Thread Yanan Wang via
Hi, This series introduces the new CPU clusters topology parameter and enable the support for it on ARM virt machines. Background and descriptions: The new Cluster-Aware Scheduling support has landed in Linux 5.16, which has been proved to benefit the scheduling performance (e.g. load balance and

[PATCH v4 02/10] hw/core/machine: Introduce CPU cluster topology support

2021-11-21 Thread Yanan Wang via
The new Cluster-Aware Scheduling support has landed in Linux 5.16, which has been proved to benefit the scheduling performance (e.g. load balance and wake_affine strategy) on both x86_64 and AArch64. So now in Linux 5.16 we have four-level arch-neutral CPU topology definition like below and a new

[PATCH v4 03/10] hw/core/machine: Wrap target specific parameters together

2021-11-21 Thread Yanan Wang via
Wrap the CPU target specific parameters together into a single variable, so that we don't need to update the other lines but a single line when new topology parameters are introduced. No functional change intended. Signed-off-by: Yanan Wang --- hw/core/machine-smp.c | 17 ++--- 1 fi

[PATCH v4 10/10] tests/acpi/bios-table-test: Update expected virt/PPTT file

2021-11-21 Thread Yanan Wang via
Run ./tests/data/acpi/rebuild-expected-aml.sh from build directory to update PPTT binary. Also empty bios-tables-test-allowed-diff.h. The disassembled differences between actual and expected PPTT: /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20180810 (64-bit version

[PATCH v4 01/10] qemu-options: Improve readability of SMP related Docs

2021-11-21 Thread Yanan Wang via
We have a description in qemu-options.hx for each CPU topology parameter to explain what it exactly means, and also an extra declaration for the target-specific one, e.g. "for PC only" when describing "dies", and "for PC, it's on one die" when describing "cores". Now we are going to introduce one

[PATCH v4 08/10] tests/acpi/bios-tables-test: Allow changes to virt/PPTT file

2021-11-21 Thread Yanan Wang via
List test/data/acpi/virt/PPTT as the expected files allowed to be changed in tests/qtest/bios-tables-test-allowed-diff.h Signed-off-by: Yanan Wang --- tests/qtest/bios-tables-test-allowed-diff.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/te

[PATCH v4 07/10] hw/arm/virt-acpi-build: Make an ARM specific PPTT generator

2021-11-21 Thread Yanan Wang via
We have a generic build_pptt() in hw/acpi/aml-build.c but it's currently only used in ARM acpi initialization. Now we are going to support the new CPU cluster parameter which is currently only supported by ARM, it won't be a very good idea to add it to the generic build_pptt() as it will make the c

[PATCH v4 06/10] hw/acpi/aml-build: Improve scalability of PPTT generation

2021-11-21 Thread Yanan Wang via
Currently we generate a PPTT table of n-level processor hierarchy with n-level loops in build_pptt(). It works fine as now there are only three CPU topology parameters. But the code may become less scalable with the processor hierarchy levels increasing. This patch only improves the scalability of

[PATCH] linux-user: fix Coverity CID 1464101

2021-11-21 Thread Laurent Vivier
target_mmap() can fail and return -1, but we don't check for that and instead assume it's always valid. Fixes: db2af69d6ba8 ("linux-user: Add infrastructure for a signal trampoline page") Cc: richard.hender...@linaro.org Reported-by: Peter Maydell Signed-off-by: Laurent Vivier --- linux-user/e

Re: [PULL 0/2] qemu-sparc queue 20211121

2021-11-21 Thread Richard Henderson
github.com/mcayland/qemu.git tags/qemu-sparc-20211121 for you to fetch changes up to 319e89cdc32096432b578152a47d0d156033b711: escc: update the R_SPEC register SPEC_ALLSENT bit when writing to W_TXCTRL1 (2021-11-21 09:56:52 +)

Re: [PATCH] linux-user: fix Coverity CID 1464101

2021-11-21 Thread Richard Henderson
On 11/21/21 4:17 PM, Laurent Vivier wrote: target_mmap() can fail and return -1, but we don't check for that and instead assume it's always valid. Fixes: db2af69d6ba8 ("linux-user: Add infrastructure for a signal trampoline page") Cc: richard.hender...@linaro.org Reported-by: Peter Maydell Sig

Re: [PATCH] migration: fix dump-vmstate with modules

2021-11-21 Thread Laurent Vivier
I think it would be good to have this in 6.2 Thanks, Laurent On 16/11/2021 08:28, Laurent Vivier wrote: To work correctly -dump-vmstate and vmstate-static-checker.py need to dump all the supported vmstates. But as some devices can be modules, they are not loaded at startup and not dumped. Fix

[PATCH] ui/gtk: graphic_hw_gl_flushed after closing dmabuf->fence_fd

2021-11-21 Thread Dongwon Kim
The dmabuf often becomes invalid right after unblocking pipeline and graphic_hw_gl_flushed in case a new scanout blob is submitted because the dmabuf associated with the current guest scanout is freed after swapping. So both graphic_hw_gl_block and graphic_hw_gl_flushed should be executed after cl

Re: [PATCH 35/35] test/tcg/ppc64le: Add float reference files

2021-11-21 Thread Cédric Le Goater
On 11/19/21 17:05, Richard Henderson wrote: Generated on Power9, PowerNV 9006-22P. Signed-off-by: Richard Henderson --- tests/tcg/ppc64le/float_convs.ref | 748 + tests/tcg/ppc64le/float_madds.ref | 768 ++ 2 files changed, 1516 insert

Re: [PATCH 02/11] dump: Remove is_zero_page()

2021-11-21 Thread Marc-André Lureau
On Fri, Nov 19, 2021 at 8:59 PM Juan Quintela wrote: > > It just calls buffer_is_zero(). Just change the callers. > > Signed-off-by: Juan Quintela Reviewed-by: Marc-André Lureau > --- > dump/dump.c | 10 +- > 1 file changed, 1 insertion(+), 9 deletions(-) > > diff --git a/dump/dump.c

Re: [PATCH] ui/vnc-clipboard: fix adding notifier twice

2021-11-21 Thread Nikta Lapshin
On 11/10/21 13:38, Vladimir Sementsov-Ogievskiy wrote: vnc_server_cut_text_caps() is not guaranteed to be called only once. If it called twice, we finally call notifier_list_add() twice with same element. Which leads to loopback QLIST. So, on next notifier_list_notify() we'll loop forever and

Re: [PATCH for-6.2] hw/misc/sifive_u_otp: Use IF_PFLASH for the OTP device instead of IF_NONE

2021-11-21 Thread Alistair Francis
On Fri, Nov 19, 2021 at 8:27 PM Thomas Huth wrote: > > Configuring a drive with "if=none" is meant for creation of a backend > only, it should not get automatically assigned to a device frontend. > Use "if=pflash" for the One-Time-Programmable device instead (like > it is e.g. also done for the ef

Re: [RFC PATCH-for-6.2?] hw/misc/sifive_u_otp: Do not reset OTP content on hardware reset

2021-11-21 Thread Alistair Francis
On Fri, Nov 19, 2021 at 8:48 PM Philippe Mathieu-Daudé wrote: > > Once a "One Time Programmable" is programmed, it shouldn't be reset. > > Do not re-initialize the OTP content in the DeviceReset handler, > initialize it once in the DeviceRealize one. > > Fixes: 9fb45c62ae8 ("riscv: sifive: Impleme

[PATCH v2 00/11] 9p: Add support for darwin

2021-11-21 Thread Will Cohen
This is a followup to https://lists.gnu.org/archive/html/qemu-devel/2021-10/msg02902.html, adding 9p server support for Darwin. Since v1, the following changes have been made: Submission and formatting - Submission via git-publish - Signed-off-by headers now reflect modifications since original

[PATCH v2 01/11] 9p: linux: Fix a couple Linux assumptions

2021-11-21 Thread Will Cohen
From: Keno Fischer - Guard Linux only headers. - Add qemu/statfs.h header to abstract over the which headers are needed for struct statfs - Define `ENOATTR` only if not only defined (it's defined in system headers on Darwin). Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for

[PATCH v2 08/11] 9p: darwin: Compatibility for f/l*xattr

2021-11-21 Thread Will Cohen
From: Keno Fischer On darwin `fgetxattr` takes two extra optional arguments, and the l* variants are not defined (in favor of an extra flag to the regular variants. Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for NixOS] Signed-off-by: Michael Roitzsch Signed-off-by: Will Cohen ---

[PATCH v2 04/11] 9p: darwin: Handle struct dirent differences

2021-11-21 Thread Will Cohen
From: Keno Fischer On darwin d_seekoff exists, but is optional and does not seem to be commonly used by file systems. Use `telldir` instead to obtain the seek offset. Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for NixOS] Signed-off-by: Michael Roitzsch Signed-off-by: Will Cohen -

[PATCH v2 10/11] 9p: darwin: Implement compatibility for mknodat

2021-11-21 Thread Will Cohen
From: Keno Fischer Darwin does not support mknodat. However, to avoid race conditions with later setting the permissions, we must avoid using mknod on the full path instead. We could try to fchdir, but that would cause problems if multiple threads try to call mknodat at the same time. However, lu

[PATCH v2 02/11] 9p: Rename 9p-util -> 9p-util-linux

2021-11-21 Thread Will Cohen
From: Keno Fischer The current file only has the Linux versions of these functions. Rename the file accordingly and update the Makefile to only build it on Linux. A Darwin version of these will follow later in the series. Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for NixOS] Signed

[PATCH v2 11/11] 9p: darwin: meson: Allow VirtFS on Darwin

2021-11-21 Thread Will Cohen
From: Keno Fischer Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for NixOS] Signed-off-by: Michael Roitzsch [Will Cohen: - Rebase to master] Signed-off-by: Will Cohen --- fsdev/meson.build | 1 + meson.build | 12 2 files changed, 9 insertions(+), 4 deletions(-)

[PATCH v2 06/11] 9p: darwin: Compatibility defn for XATTR_SIZE_MAX

2021-11-21 Thread Will Cohen
From: Keno Fischer Signed-off-by: Keno Fischer Signed-off-by: Michael Roitzsch [Will Cohen: - Adjust coding style] Signed-off-by: Will Cohen --- hw/9pfs/9p.c | 8 1 file changed, 8 insertions(+) diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index c941b46f60..d671995aa4 100644 --- a/hw/9p

[PATCH v2 07/11] 9p: darwin: *xattr_nofollow implementations

2021-11-21 Thread Will Cohen
From: Keno Fischer This implements the darwin equivalent of the functions that were moved to 9p-util(-linux) earlier in this series in the new 9p-util-darwin file. Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for NixOS] Signed-off-by: Michael Roitzsch Signed-off-by: Will Cohen ---

[PATCH v2 05/11] 9p: darwin: Ignore O_{NOATIME, DIRECT}

2021-11-21 Thread Will Cohen
From: Keno Fischer Darwin doesn't have either of these flags. Darwin does have F_NOCACHE, which is similar to O_DIRECT, but has different enough semantics that other projects don't generally map them automatically. In any case, we don't support O_DIRECT on Linux at the moment either. Signed-off-

[PATCH v2 03/11] 9p: darwin: Handle struct stat(fs) differences

2021-11-21 Thread Will Cohen
From: Keno Fischer Signed-off-by: Keno Fischer Signed-off-by: Michael Roitzsch Signed-off-by: Will Cohen --- hw/9pfs/9p-proxy.c | 17 ++--- hw/9pfs/9p-synth.c | 2 ++ hw/9pfs/9p.c | 16 ++-- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/hw/9pfs

[PATCH v2 09/11] 9p: darwin: Provide fallback impl for utimensat

2021-11-21 Thread Will Cohen
From: Keno Fischer This function is new in Mac OS 10.13. Provide a fallback implementation when building against older SDKs. The complication in the definition comes having to separately handle the used SDK version and the target OS version. - If the SDK version is too low (__MAC_10_13 not defin

Re: [RFC PATCH v2 1/7] target/riscv: rvk: add cfg properties for zbk* and zk*

2021-11-21 Thread Alistair Francis
On Tue, Nov 16, 2021 at 6:11 PM liweiwei wrote: > > Signed-off-by: liweiwei > Signed-off-by: wangjunqiang Acked-by: Alistair Francis Alistair > --- > target/riscv/cpu.c | 23 +++ > target/riscv/cpu.h | 13 + > 2 files changed, 36 insertions(+) > > diff --git

Re: [PATCH 2/3] virtio-net: Only enable userland vq if using tap backend

2021-11-21 Thread Jason Wang
On Fri, Nov 19, 2021 at 3:50 PM Eugenio Perez Martin wrote: > > On Fri, Nov 19, 2021 at 3:44 AM Jason Wang wrote: > > > > On Thu, Nov 18, 2021 at 3:57 PM Eugenio Perez Martin > > wrote: > > > > > > On Thu, Nov 18, 2021 at 6:06 AM Jason Wang wrote: > > > > > > > > On Thu, Nov 18, 2021 at 3:29 AM

Re: [PATCH v5 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-11-21 Thread Jason Wang
On Fri, Nov 19, 2021 at 6:10 PM Vladislav Yaroshchuk wrote: > > > > пт, 19 нояб. 2021 г. в 05:57, Jason Wang : >> >> On Fri, Nov 19, 2021 at 1:12 AM Vladislav Yaroshchuk >> wrote: >> > >> > >> > >> > пн, 15 нояб. 2021 г. в 07:47, Jason Wang : >> >> >> >> On Fri, Nov 12, 2021 at 5:14 PM Vladislav

[PATCH for-6.2] qapi/machine.json: Fix incorrect description for die-id

2021-11-21 Thread Yanan Wang via
In terms of scope, die-id should mean "the die number within socket the CPU belongs to" instead of "the die number within node/board the CPU belongs to". Fix it to avoid confusing the Doc reader. Fixes: 176d2cda0d ("i386/cpu: Consolidate die-id validity in smp context") Signed-off-by: Yanan Wang

Re: [PATCH 2/3] vdpa: Add dummy receive callbacks

2021-11-21 Thread Jason Wang
On Fri, Nov 19, 2021 at 6:20 PM Eugenio Pérez wrote: > > Qemu falls back on userland handlers even if vhost-user and vhost-vdpa > cases. These assumes a tap device can handle the packets. > > If a vdpa device fail to start, it can trigger a sigsegv because of > that. Add dummy receivers that retur

Re: [PATCH 0/3] vdpa: Fix SIGSEGV on failed vdpa devices

2021-11-21 Thread Jason Wang
On Fri, Nov 19, 2021 at 6:20 PM Eugenio Pérez wrote: > > Qemu falls back on userland handlers even if vhost-user and vhost-vdpa > cases. These assumes a tap device can handle the packets. > > If a vdpa device fail to start, it can trigger a sigsegv because of > that. Add dummy receivers that retur

Re: [PATCH V3 2/2] test/qtest/test-filter-mirror.c: Change the default vnet_hdr_support

2021-11-21 Thread Jason Wang
On Fri, Nov 19, 2021 at 1:45 PM Zhang Chen wrote: > > As net filters changed default vnet_hdr_support=on. > For this e1000 test case need to add vnet_hdr_support=off. > > Signed-off-by: Zhang Chen > --- I squashed this into the previous patch to have a better bisection behaviour and queue it for

Re: [PATCH V3 1/2] net/filter: Enable the vnet_hdr_support by default

2021-11-21 Thread Jason Wang
On Fri, Nov 19, 2021 at 1:45 PM Zhang Chen wrote: > > This patch make filters and colo-compare module support vnet_hdr by > default. And also support -device non-virtio-net(like e1000.). > Because when enabled the support will make the vnet_hdr_len field > become must-delivery part of filter trans

[PATCH 1/2] docs: Drop deprecated 'props' from object-add

2021-11-21 Thread Rao, Lei
From: "Rao, Lei" In commit 5024340745 "qapi/qom: Drop deprecated 'props' from object-add" (v6.0.0), we also should update documents. Signed-off-by: Lei Rao --- docs/system/authz.rst | 26 ++ docs/throttle.txt | 8 +++- docs/tools/qemu-nbd.rst | 2 +- 3 fil

[PATCH 2/2] docs: Use double quotes instead of single quotes for COLO

2021-11-21 Thread Rao, Lei
From: "Rao, Lei" Signed-off-by: Lei Rao --- docs/COLO-FT.txt | 106 ++--- docs/block-replication.txt | 52 +++--- 2 files changed, 79 insertions(+), 79 deletions(-) diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt index fd5ffcc

Re: [PATCH for-7.0 v7 01/10] target/ppc: introduce PMUEventType and PMU overflow timers

2021-11-21 Thread David Gibson
On Fri, Nov 19, 2021 at 03:22:07PM -0300, Daniel Henrique Barboza wrote: > This patch starts an IBM Power8+ compatible PMU implementation by adding > the representation of PMU events that we are going to sample, > PMUEventType. This enum represents a Perf event that is being sampled by > a specific

Re: [PATCH for-7.0 v7 02/10] target/ppc: PMU basic cycle count for pseries TCG

2021-11-21 Thread David Gibson
On Fri, Nov 19, 2021 at 03:22:08PM -0300, Daniel Henrique Barboza wrote: > This patch adds the barebones of the PMU logic by enabling cycle > counting. The overall logic goes as follows: > > - a helper is added to control the PMU state on each MMCR0 write. This > allows for the PMU to start/stop a

Re: [PATCH v5 02/18] exec/memop: Adding signed quad and octo defines

2021-11-21 Thread Alistair Francis
On Sat, Nov 13, 2021 at 1:13 AM Frédéric Pétrot wrote: > > Adding defines to handle signed 64-bit and unsigned 128-bit quantities in > memory accesses. > > Signed-off-by: Frédéric Pétrot Reviewed-by: Alistair Francis Alistair > --- > include/exec/memop.h | 7 +++ > 1 file changed, 7 inse

Re: [PATCH 2/3] virtio-net: Only enable userland vq if using tap backend

2021-11-21 Thread Eugenio Perez Martin
On Mon, Nov 22, 2021 at 3:39 AM Jason Wang wrote: > > On Fri, Nov 19, 2021 at 3:50 PM Eugenio Perez Martin > wrote: > > > > On Fri, Nov 19, 2021 at 3:44 AM Jason Wang wrote: > > > > > > On Thu, Nov 18, 2021 at 3:57 PM Eugenio Perez Martin > > > wrote: > > > > > > > > On Thu, Nov 18, 2021 at 6:0

Re: [PATCH 2/3] virtio-net: Only enable userland vq if using tap backend

2021-11-21 Thread Jason Wang
On Mon, Nov 22, 2021 at 2:24 PM Eugenio Perez Martin wrote: > > On Mon, Nov 22, 2021 at 3:39 AM Jason Wang wrote: > > > > On Fri, Nov 19, 2021 at 3:50 PM Eugenio Perez Martin > > wrote: > > > > > > On Fri, Nov 19, 2021 at 3:44 AM Jason Wang wrote: > > > > > > > > On Thu, Nov 18, 2021 at 3:57 PM

Re: [PATCH 2/3] vdpa: Add dummy receive callbacks

2021-11-21 Thread Eugenio Perez Martin
On Mon, Nov 22, 2021 at 4:55 AM Jason Wang wrote: > > On Fri, Nov 19, 2021 at 6:20 PM Eugenio Pérez wrote: > > > > Qemu falls back on userland handlers even if vhost-user and vhost-vdpa > > cases. These assumes a tap device can handle the packets. > > > > If a vdpa device fail to start, it can tr

[PULL 0/2] riscv-to-apply queue

2021-11-21 Thread Alistair Francis
From: Alistair Francis The following changes since commit c5fbdd60cf1fb52f01bdfe342b6fa65d5343e1b1: Merge tag 'qemu-sparc-20211121' of git://github.com/mcayland/qemu into staging (2021-11-21 14:12:25 +0100) are available in the Git repository at: g...@github.com:alistair23/qem

[PULL 1/2] hw/misc/sifive_u_otp: Use IF_PFLASH for the OTP device instead of IF_NONE

2021-11-21 Thread Alistair Francis
From: Thomas Huth Configuring a drive with "if=none" is meant for creation of a backend only, it should not get automatically assigned to a device frontend. Use "if=pflash" for the One-Time-Programmable device instead (like it is e.g. also done for the efuse device in hw/arm/xlnx-zcu102.c). Sinc

[PULL 2/2] hw/misc/sifive_u_otp: Do not reset OTP content on hardware reset

2021-11-21 Thread Alistair Francis
From: Philippe Mathieu-Daudé Once a "One Time Programmable" is programmed, it shouldn't be reset. Do not re-initialize the OTP content in the DeviceReset handler, initialize it once in the DeviceRealize one. Fixes: 9fb45c62ae8 ("riscv: sifive: Implement a model for SiFive FU540 OTP") Signed-off

Re: [PATCH v3 3/3] cpus-common: implement dirty limit on vCPU

2021-11-21 Thread Markus Armbruster
huang...@chinatelecom.cn writes: > From: Hyman Huang(黄勇) > > implement dirtyrate calculation periodically basing on > dirty-ring and throttle vCPU until it reachs the quota > dirtyrate given by user. > > introduce qmp commands set-dirty-limit/cancel-dirty-limit to > set/cancel dirty limit on vCPU

Re: [PATCH 2/2] docs: Use double quotes instead of single quotes for COLO

2021-11-21 Thread Markus Armbruster
Looks like this is based on your "[PATCH] docs/COLO-FT.txt: Drop deprecated 'props' from object-add in COLO docs". To make things easier for reviewers and maintainers, please resend all three patches together in a single series. I'd squash "[PATCH] docs/COLO-FT.txt: Drop deprecated 'props' from o

[PATCH v2 1/2] docs: Drop deprecated 'props' from object-add

2021-11-21 Thread Rao, Lei
From: "Rao, Lei" In commit 5024340745 "qapi/qom: Drop deprecated 'props' from object-add" (v6.0.0), we also should update documents. Signed-off-by: Lei Rao --- docs/COLO-FT.txt| 16 docs/system/authz.rst | 26 ++ docs/throttle.txt | 8 +

[PATCH v2 2/2] docs: Use double quotes instead of single quotes for COLO

2021-11-21 Thread Rao, Lei
From: "Rao, Lei" Signed-off-by: Lei Rao --- docs/COLO-FT.txt | 106 ++--- docs/block-replication.txt | 52 +++--- 2 files changed, 79 insertions(+), 79 deletions(-) diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt index fd5ffcc