Re: [PATCH v8 2/4] target/arm: Add support for FEAT_TLBIRANGE

2021-05-08 Thread Richard Henderson
On 5/4/21 8:04 PM, Rebecca Cran wrote: +static uint64_t tlbi_aa64_range_get_length(CPUARMState *env, + uint64_t value) +{ +unsigned int page_shift; +unsigned int page_size_granule; +uint64_t num; +uint64_t scale; +uint64_t exponent; +

[Bug 1894781] Re: [Feature request] Provide a way to do TLS first in QEMU/NBD connections (not after NBD negotiation)

2021-05-08 Thread Vjaceslavs Klimovs
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1894781 Title: [Feature request] Provide a way to do TLS first in QEMU/NBD connections (not

Re: [PATCH v8 1/4] accel/tcg: Add TLB invalidation support for ranges of addresses

2021-05-08 Thread Richard Henderson
On 5/4/21 8:04 PM, Rebecca Cran wrote: Add functions to support the FEAT_TLBIRANGE ARMv8.4 feature that adds TLB invalidation instructions to invalidate ranges of addresses. Signed-off-by: Rebecca Cran --- accel/tcg/cputlb.c | 128 +++- include/exec/exec-all.h | 46

Re: [PATCH v8 3/4] target/arm: Add support for FEAT_TLBIOS

2021-05-08 Thread Richard Henderson
On 5/4/21 8:04 PM, Rebecca Cran wrote: +static const ARMCPRegInfo tlbios_reginfo[] = { +{ .name = "TLBI_VMALLE1OS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 1, .opc2 = 0, + .access = PL1_W, .type = ARM_CP_NO_RAW, + .writefn =

[Bug 1859254] Re: host window size does not change when guest video screen size changes while moving host window

2021-05-08 Thread Benjamin David Lunt
Bug still exists, therefore I have marked as 'new' per your request. Using latest version of QEMU for Windows (from https://qemu.weilnetz.de/) still does not adjust the host window size if a quest size changes while the host window is being moved. Thank you, Ben ** Changed in: qemu

Re: [OSS-Fuzz] Assertion Failure: !in6_zero(_addr) (#111)

2021-05-08 Thread Samuel Thibault
Hello, Alexander Bulekov, le lun. 03 mai 2021 16:09:33 -0400, a ecrit: > Forwarding this along to the list, so it doesn't get burried during the > gitlab issue migration. Thanks! Pushed a proposed fix on https://gitlab.freedesktop.org/slirp/libslirp/-/merge_requests/86 Samuel > -

Re: io_uring code appears to be broken

2021-05-08 Thread Rebecca Cran
Of course I realized I only have headers for version 0.2 and upstream is now up to 2.0, so it looks like I just need to update. -- Rebecca Cran On 5/8/21 3:19 PM, Rebecca Cran wrote: I noticed that after installing liburing-devel-0.2-lp152.2.1.x86_64, a "./configure" causes support for

io_uring code appears to be broken

2021-05-08 Thread Rebecca Cran
I noticed that after installing liburing-devel-0.2-lp152.2.1.x86_64, a "./configure" causes support for io_uring to be enabled by default. It appears to be broken, so I was wondering if it should be disabled unless explicitly enabled via configure? I'm running openSUSE Leap 15.2. [285/9281]

[PATCH] accel/tcg: Add tlb_flush interface for a range of pages

2021-05-08 Thread Richard Henderson
Call these tlb_flush_range_by_mmuidx*. Rewrite the_flush_page_bits_by_mmuidx* to use the new functions, passing in TARGET_PAGE_SIZE for length. Signed-off-by: Richard Henderson --- include/exec/exec-all.h | 44 accel/tcg/cputlb.c | 232 2

Re: [PATCH v2] This makes it easier to figure out whether a particular instruction was actually translated.

2021-05-08 Thread Nathan Ringo
I'm mostly looking at AArch64, so they're the same there :) I'm using this to collect code coverage information, so I have the disassembly, and it's slightly easier to report it that way; if you think it'd be more useful on other architectures to report the byte range instead, it'd be an easy

Re: [PATCH trivial] hw/gpio/aspeed: spelling fix (addtional)

2021-05-08 Thread Philippe Mathieu-Daudé
On 5/8/21 11:36 AM, Michael Tokarev wrote: > Fixes: 36d737ee82b2972167e97901c5271ba3f904ba71 > Signed-off-by: Michael Tokarev > --- > hw/gpio/aspeed_gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé

[PATCH v2] migration/dirtyrate: make sample page count configurable

2021-05-08 Thread huangy81
From: Hyman Huang(黄勇) introduce optional sample-pages argument in calc-dirty-rate, making sample page count per GB configurable so that more accurate dirtyrate can be calculated. Signed-off-by: Hyman Huang(黄勇) --- migration/dirtyrate.c | 31 --- migration/dirtyrate.h | 8

[PATCH v2] make sample page count configurable

2021-05-08 Thread huangy81
From: Hyman Huang(黄勇) This is v2 of introducing sample pages argument to dirty rate interface v2: - do the code clean on the basis of review by David - add qemu version to 6.1 since which the argument introduced - raise the upper limit of sample pages refer as MAX_SAMPLE_PAGE_COUNT v1: - code

[Bug 1892684] Re: curl and wget segfaults when link has redirects

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1890208] Re: Mouse pointer disappears when it is over console window

2021-05-08 Thread Thomas Huth
Does your emulated machine have a graphics card (VGA or something similar)? If so, you might need to remove it from the guest. Also, have you tried to report this issue to the virt-manager project first? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification

[Bug 1893807] Re: Crash when launching windows qemu version from WSL2

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1894617] Re: qemu-i386 mmap but offset greater than 32 bits

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1894781] Re: [Feature request] Provide a way to do TLS first in QEMU/NBD connections (not after NBD negotiation)

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1893634] Re: blk_get_max_transfer() works only with sg

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1890395] Re: qmp/hmp: crash if client closes socket too early

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1892544] Re: meson qemu 5.2 can not built with msys2

2021-05-08 Thread Thomas Huth
As far as I know, MSYS2 was finally working again after the change to the meson build system, so this should have been fixed. If there are still problems left, please open a new ticket in the new issue tracker at gitlab: https://gitlab.com/qemu-project/qemu/-/issues ** Changed in: qemu

[Bug 1895219] Re: qemu git -vnc fails due to missing en-us keymap

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU

[Bug 1894818] Re: COLO's guest VNC client hang after failover

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

Re: [RESEND PATCH 01/32] memory: Add RAM_PROTECTED flag to skip IOMMU mappings

2021-05-08 Thread Yang Zhong
On Fri, May 07, 2021 at 02:45:21PM +0200, Paolo Bonzini wrote: > On 07/05/21 07:24, Yang Zhong wrote: > > Paolo, i will revert this patch, but in order to disable sgx epc memory > > region > > as DMA target, we still need to skip this memory region while adding this > > memory > > region.

[Bug 1892541] Re: qemu 5.1 on windows 10 with whpx can not install Windows 7 guest

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[Bug 1895122] Re: qemu on wsl tests failed, this configured with debug

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[PATCH 1/1] multi-process: fix usage information

2021-05-08 Thread Dongli Zhang
>From source code, the 'devid' of x-remote-object should be one of devices in remote QEMU process. Signed-off-by: Dongli Zhang --- I have verified by reading the code and playing with below orchestrator. https://github.com/finallyjustice/sample/blob/master/kvm/multiprocess/orchestrator.py

[Bug 1894804] Re: Second DEVICE_DELETED event missing during virtio-blk disk device detach

2021-05-08 Thread Thomas Huth
Is there still anything left to do here for upstream QEMU? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1894804 Title: Second DEVICE_DELETED

[Bug 1895053] Re: Cannot nspawn raspbian 10 [FAILED] Failed to start Journal Service.

2021-05-08 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting the bug state to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then

[PULL 08/10] hw/net/imx_fec: return 0xffff when accessing non-existing PHY

2021-05-08 Thread Jason Wang
From: Guenter Roeck If a PHY does not exist, attempts to read from it should return 0x. Otherwise the Linux kernel will believe that a PHY is there and select the non-existing PHY. This in turn will result in network errors later on since the real PHY is not selected or configured. Since

[PULL 04/10] ebpf: Added eBPF RSS loader.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko Added function that loads RSS eBPF program. Added stub functions for RSS eBPF loader. Added meson and configuration options. By default, eBPF feature enabled if libbpf is present in the build system. libbpf checked in configuration shell script and meson script.

[PULL 07/10] MAINTAINERS: Added eBPF maintainers information.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko Signed-off-by: Yuri Benditovich Signed-off-by: Andrew Melnychenko Signed-off-by: Jason Wang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f880f45..0576a2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PULL 09/10] virtio-net: failover: add missing remove_migration_state_change_notifier()

2021-05-08 Thread Jason Wang
From: Laurent Vivier In the failover case configuration, virtio_net_device_realize() uses an add_migration_state_change_notifier() to add a state notifier, but this notifier is not removed by the unrealize function when the virtio-net card is unplugged. If the card is unplugged and a migration

Re: [PULL 00/10] Net patches

2021-05-08 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1620458319-5670-1-git-send-email-jasow...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 1620458319-5670-1-git-send-email-jasow...@redhat.com Subject: [PULL 00/10] Net

[PATCH trivial] vnc: spelling fix (enable->enabled)

2021-05-08 Thread Michael Tokarev
Signed-off-by: Michael Tokarev diff --git a/ui/vnc.c b/ui/vnc.c index 456db47d71..2bea46b2b3 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -598,3 +598,3 @@ bool vnc_display_reload_certs(const char *id, Error **errp) if (!vd->tlscreds) { -error_setg(errp, "vnc tls is not enable"); +

[RFC PATCH 3/3] vfio/migration: Add support for manual clear vfio dirty log

2021-05-08 Thread Kunkun Jiang
From: Zenghui Yu The new capability VFIO_DIRTY_LOG_MANUAL_CLEAR and the new ioctl VFIO_IOMMU_DIRTY_PAGES_FLAG_GET_BITMAP_NOCLEAR and VFIO_IOMMU_DIRTY_PAGES_FLAG_CLEAR_BITMAP have been introduced in the kernel, tweak the userspace side to use them. Check if the kernel supports

[RFC PATCH 0/3] vfio/migration: Support manual clear vfio dirty log

2021-05-08 Thread Kunkun Jiang
In the past, we clear dirty log immediately after sync dirty log to userspace. This may cause redundant dirty handling if userspace handles dirty log iteratively: After vfio clears dirty log, new dirty log starts to generate. These new dirty log will be reported to userspace even if they are

[PATCH trivial] qapi: spelling fix (addtional)

2021-05-08 Thread Michael Tokarev
Fixes: 3d0d3c30ae3a259bff176f85a3efa2d0816695af Signed-off-by: Michael Tokarev --- qapi/qom.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qapi/qom.json b/qapi/qom.json index cd0e76d564..40d70c434a 100644 --- a/qapi/qom.json +++ b/qapi/qom.json @@ -251,8 +251,8 @@

[RFC PATCH 2/3] vfio: Maintain DMA mapping range for the container

2021-05-08 Thread Kunkun Jiang
From: Zenghui Yu When synchronizing dirty bitmap from kernel VFIO we do it in a per-iova-range fashion and we allocate the userspace bitmap for each of the ioctl. This patch introduces `struct VFIODMARange` to describe a range of the given DMA mapping with respect to a VFIO_IOMMU_MAP_DMA

Re: [PATCH v4] hw/ppc: moved has_spr to cpu.h

2021-05-08 Thread David Gibson
On Fri, May 07, 2021 at 01:41:46PM -0300, Lucas Mateus Castro (alqotel) wrote: > Moved has_spr to cpu.h as ppc_has_spr and turned it into an inline function. > Change spr verification in pnv.c and spapr.c to a version that can > compile in a !TCG environment. > > Signed-off-by: Lucas Mateus

[PULL 02/10] net: Added SetSteeringEBPF method for NetClientState.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko For now, that method supported only by Linux TAP. Linux TAP uses TUNSETSTEERINGEBPF ioctl. Signed-off-by: Andrew Melnychenko Signed-off-by: Jason Wang --- include/net/net.h | 2 ++ net/tap-bsd.c | 5 + net/tap-linux.c | 13 + net/tap-solaris.c

[PULL 03/10] ebpf: Added eBPF RSS program.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko RSS program and Makefile to build it. The bpftool used to generate '.h' file. The data in that file may be loaded by libbpf. EBPF compilation is not required for building qemu. You can use Makefile if you need to regenerate rss.bpf.skeleton.h. Signed-off-by: Yuri

[PULL 06/10] docs: Added eBPF documentation.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko Signed-off-by: Yuri Benditovich Signed-off-by: Andrew Melnychenko Signed-off-by: Jason Wang --- docs/devel/ebpf_rss.rst | 125 docs/devel/index.rst| 1 + 2 files changed, 126 insertions(+) create mode 100644

Re: [PULL 00/10] Net patches

2021-05-08 Thread Jason Wang
On Sat, May 8, 2021 at 3:31 PM wrote: > > Patchew URL: > https://patchew.org/QEMU/1620458319-5670-1-git-send-email-jasow...@redhat.com/ > > > > Hi, > > This series seems to have some coding style problems. See output below for > more information: > > Type: series > Message-id:

[PATCH trivial] hw/gpio/aspeed: spelling fix (addtional)

2021-05-08 Thread Michael Tokarev
Fixes: 36d737ee82b2972167e97901c5271ba3f904ba71 Signed-off-by: Michael Tokarev --- hw/gpio/aspeed_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/gpio/aspeed_gpio.c b/hw/gpio/aspeed_gpio.c index 985a259e05..34d8acb0e3 100644 --- a/hw/gpio/aspeed_gpio.c +++

[PULL 05/10] virtio-net: Added eBPF RSS to virtio-net.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko When RSS is enabled the device tries to load the eBPF program to select RX virtqueue in the TUN. If eBPF can be loaded the RSS will function also with vhost (works with kernel 5.8 and later). Software RSS is used as a fallback with vhost=off when eBPF can't be loaded or

[PULL 01/10] net/tap: Added TUNSETSTEERINGEBPF code.

2021-05-08 Thread Jason Wang
From: Andrew Melnychenko Additional code that will be used for eBPF setting steering routine. Signed-off-by: Andrew Melnychenko Signed-off-by: Jason Wang --- net/tap-linux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tap-linux.h b/net/tap-linux.h index 2f36d10..1d06fe0 100644

[PULL 00/10] Net patches

2021-05-08 Thread Jason Wang
The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672: Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100) are available in the git repository at: https://github.com/jasowang/qemu.git

[PULL 10/10] tap-bsd: Remove special casing for older OpenBSD releases

2021-05-08 Thread Jason Wang
From: Brad Smith OpenBSD added support for tap(4) 10 releases ago. Remove the special casing for older releases. Signed-off-by: Brad Smith Signed-off-by: Jason Wang --- net/tap-bsd.c | 8 1 file changed, 8 deletions(-) diff --git a/net/tap-bsd.c b/net/tap-bsd.c index

Re: Adjustments of NVDIMM devices and future data safety

2021-05-08 Thread Liu, Jingqi
Hi Milan, On 4/30/2021 8:18 PM, Milan Zamazal wrote: Hi, I work on NVDIMM support in oVirt/RHV, I think other virtualization management software built on top of QEMU may have similar concerns. When a virtual NVDIMM device size is specified, it's not necessarily the eventual NVDIMM device size

[RFC PATCH 1/3] linux-headers: update against 5.12 and "manual clear vfio dirty log" series

2021-05-08 Thread Kunkun Jiang
From: Zenghui Yu The new capability VFIO_DIRTY_LOG_MANUAL_CLEAR and the new ioctl VFIO_IOMMU_DIRTY_PAGES_FLAG_GET_BITMAP_NOCLEAR and VFIO_IOMMU_DIRTY_PAGES_FLAG_CLEAR_BITMAP have been introduced in the kernel, update the header to add them. Signed-off-by: Zenghui Yu Signed-off-by: Kunkun Jiang

disconnect from all devices

2021-05-08 Thread Danny Dykes
PLEASE!! Disconnect from all devices. Sent from Mail for Windows 10

Re: [PATCH v8 0/4] Implements the NetBSD Virtual Machine Monitor accelerator

2021-05-08 Thread Reinoud Zandijk
ping? On Wed, Apr 07, 2021 at 04:16:27PM +, Reinoud Zandijk wrote: > The NetBSD team has implemented its new hypervisor called NVMM. It has been > included since NetBSD 9.0 and has been in use now for quite some time. NVMM > adds user-mode capabilities to create and manage virtual machines,