[PATCH v2 0/2] virtio: fix for assertion failure: virtio_net_get_subqueue(nc)->async_tx.elem failed

2023-02-05 Thread Xuan Zhuo
In the current design, we stop the device from operating on the vring during per-queue reset by resetting the structure VirtQueue. But before the reset operation, when recycling some resources, we should stop referencing new vring resources. This bug is caused by this reason. https://gitlab.

Re: [PATCH v2] KVM: dirty ring: check if vcpu is created before dirty_ring_reap_one

2023-02-05 Thread Weinan Liu??????????
Hi, Peter, > IMHO that one will be more straightforward and self contained than this > one. What do you think? Yes, it is. > When posting new patches, please also remember to copy maintainers. For > this one, it's: Thanks for your suggestion. Weinan Liu

Re: [RFC v2 12/13] vdpa: preemptive kick at enable

2023-02-05 Thread Si-Wei Liu
On 2/5/2023 2:00 AM, Michael S. Tsirkin wrote: On Sat, Feb 04, 2023 at 03:04:02AM -0800, Si-Wei Liu wrote: For network hardware device, I thought suspend just needs to wait until the completion of ongoing Tx/Rx DMA transaction already in the flight, rather than to drain all the upcoming packe

RE: [PATCH v4 04/16] hw/9pfs: Implement Windows specific xxxdir() APIs

2023-02-05 Thread Shi, Guohuai
> -Original Message- > From: Christian Schoenebeck > Sent: Saturday, February 4, 2023 01:55 > To: Greg Kurz ; qemu-devel@nongnu.org > Cc: Meng, Bin ; Marc-André Lureau > ; Daniel P. Berrangé > ; Shi, Guohuai > Subject: Re: [PATCH v4 04/16] hw/9pfs: Implement Windows specific xxxdir() >

Re: [PATCH 01/10] hw/riscv/virt: Add OEM_ID and OEM_TABLE_ID fields

2023-02-05 Thread Bin Meng
On Thu, Feb 2, 2023 at 12:54 PM Sunil V L wrote: > > ACPI needs OEM_ID and OEM_TABLE_ID for the machine. Add these fields > in the RISCVVirtState structure and initialize with default values. > > Signed-off-by: Sunil V L > --- > hw/riscv/virt.c | 4 > include/hw/riscv/virt.h | 2 ++

Re: [PATCH v2 0/9] Various win32 fixes & teach 'getfd' QMP command to import sockets

2023-02-05 Thread Marc-André Lureau
Hi On Sun, Jan 29, 2023 at 10:25 PM wrote: > > From: Marc-André Lureau > > Hi, > > The following series first fixes a few tests on win32. The second part focuses > on 'add_client' support, by limiting its scope to sockets and adding win32 > support. Finally, it enables vnc-display test on win32,

Re: [PATCH v2 07/10] hw/ide/piix: Require an ISABus only for user-created instances

2023-02-05 Thread Philippe Mathieu-Daudé
On 5/2/23 23:32, Mark Cave-Ayland wrote: On 05/02/2023 22:21, BALATON Zoltan wrote: On Sun, 5 Feb 2023, Mark Cave-Ayland wrote: On 26/01/2023 21:17, Bernhard Beschow wrote: Internal instances now defer interrupt wiring to the caller which decouples them from the ISABus. User-created devices s

Re: [PATCH V1] meson: fix dependency on qemu-keymap

2023-02-05 Thread Marc-André Lureau
Hi On Wed, Jan 25, 2023 at 9:28 PM Steve Sistare wrote: > When qemu-keymap is not available on the host, and enable-xkbcommon > is specified, parallel make fails with: > > % make clean > ... > % make -j 32 > ... > FAILED: pc-bios/keymaps/is > ./qemu-keymap -f pc-bios/keymaps/is -l is

Re: qemu-img hangs on s390x

2023-02-05 Thread Philippe Mathieu-Daudé
+s390x/block lists On 5/2/23 20:10, Michael Tokarev wrote: There's a bug filed against qemu on debian, about qemu-img hanging on s390x. While digging in, I discovered that the thing is broken there indeed, and it is broken for a very long time, and it is interesting. The reproducer is rather

Re: [PATCH v3 4/6] i386: Mask and report unavailable multi-bit feature values

2023-02-05 Thread Yuan Yao
On Fri, Jan 06, 2023 at 12:38:24AM -0800, Lei Wang wrote: > Some feature words, e.g., feature words in AMX-related CPUID leaf 0x1D and > 0x1E are not bit-wise but multiple bits represents one value. Handle this > situation when the values specified are not the same as which are reported > by KVM. T

Re: [PATCH 6/6] gitlab-ci.d/buildtest: Disintegrate the build-coroutine-sigaltstack job

2023-02-05 Thread Thomas Huth
On 03/02/2023 22.14, Juan Quintela wrote: Peter Maydell wrote: On Fri, 3 Feb 2023 at 15:44, Thomas Huth wrote: On 03/02/2023 13.08, Kevin Wolf wrote: Am 03.02.2023 um 12:23 hat Thomas Huth geschrieben: On 30/01/2023 11.58, Daniel P. Berrangé wrote: On Mon, Jan 30, 2023 at 11:44:46AM +0100

Re: [PATCH v3 1/6] i386: Introduce FeatureWordInfo for AMX CPUID leaf 0x1D and 0x1E

2023-02-05 Thread Yuan Yao
On Fri, Jan 06, 2023 at 12:38:21AM -0800, Lei Wang wrote: > CPUID leaf 0x1D and 0x1E enumerate tile and TMUL information for AMX. > > Introduce FeatureWord FEAT_1D_1_EAX, FEAT_1D_1_EBX, FEAT_1D_1_ECX and > FEAT_1E_0_EBX. Thus these features of AMX can be expanded when > "-cpu host/max" and can be c

<    1   2