Re: [PATCH v2 0/9] Add MTE stubs for aarch64 user mode

2024-06-17 Thread Gustavo Romero
Hi Alex, On 6/14/24 12:49 PM, Alex Bennée wrote: Gustavo Romero writes: This patchset adds the stubs necessary to support GDB memory tagging commands on QEMU aarch64 user mode. These new stubs handle the qIsAddressTagged, qMemTag, and QMemTag packets, which allow GDB memory tagging subcomman

[PATCH v6 00/23] hw/i386: Remove deprecated pc-i440fx-2.0 -> 2.3 machines

2024-06-17 Thread Philippe Mathieu-Daudé
Series fully reviewed. Since Igor reviewed, I plan to merge it myself if no feedback from Paolo / Michael. Since v5: - Addressed Igor review comments - Added R-b tags Since v4: - Rebased on top of 7b68a5fe2f ("Merge tag 'for-upstream') - Removed obsolete comment (Daniel) - Clean DEFINE_I440FX_MAC

[PATCH v6 05/23] hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size

2024-06-17 Thread Philippe Mathieu-Daudé
PCMachineClass::legacy_acpi_table_size was only used by the pc-i440fx-2.0 machine, which got removed. Remove it and simplify acpi_build(). Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov Signed-off-by: Philippe Mathieu-Daudé --- include/hw/i386/pc.h | 1 - hw/i386/acpi-build.c | 63 +

[PATCH v6 02/23] hw/i386/pc: Remove deprecated pc-i440fx-2.0 machine

2024-06-17 Thread Philippe Mathieu-Daudé
The pc-i440fx-2.0 machine was deprecated for the 8.2 release (see commit c7437f0ddb "docs/about: Mark the old pc-i440fx-2.0 - 2.3 machine types as deprecated"), time to remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --

[PATCH v6 03/23] hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flag

2024-06-17 Thread Philippe Mathieu-Daudé
XHCI_FLAG_FORCE_PCIE_ENDCAP was only used by the pc-i440fx-2.0 machine, which got removed. Remove it and simplify usb_xhci_pci_realize(). Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- hw/usb/hcd-xhci.h | 1 - hw/usb/hcd

[PATCH v6 06/23] hw/acpi/ich9: Remove 'memory-hotplug-support' property

2024-06-17 Thread Philippe Mathieu-Daudé
No external code sets the 'memory-hotplug-support' property, remove it. Suggested-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- hw/acpi/ich9.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/hw/acpi/ich9.c b/h

[PATCH v6 13/23] hw/i386/pc: Remove PCMachineClass::enforce_aligned_dimm

2024-06-17 Thread Philippe Mathieu-Daudé
PCMachineClass::enforce_aligned_dimm was only used by the pc-i440fx-2.1 machine, which got removed. It is now always true. Remove it, simplifying pc_get_device_memory_range(). Update the comment in Avocado test_phybits_low_pse36(). Reviewed-by: Zhao Liu Signed-off-by: Philippe Mathieu-Daudé Revi

[PATCH v6 04/23] hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flag

2024-06-17 Thread Philippe Mathieu-Daudé
XHCI_FLAG_SS_FIRST was only used by the pc-i440fx-2.0 machine, which got removed. Remove it and simplify various functions in hcd-xhci.c. Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- hw/usb/hcd-xhci.h | 3 +-- hw/usb/

[PATCH v6 10/23] hw/i386/pc: Remove PCMachineClass::smbios_uuid_encoded

2024-06-17 Thread Philippe Mathieu-Daudé
PCMachineClass::smbios_uuid_encoded was only used by the pc-i440fx-2.1 machine, which got removed. It is now always true, remove it. Reviewed-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- include/hw/i386/pc.h | 1 - hw/i386/fw_cfg.c

[PATCH v6 01/23] hw/i386/pc: Deprecate 2.4 to 2.12 pc-i440fx machines

2024-06-17 Thread Philippe Mathieu-Daudé
Similarly to the commit c7437f0ddb "docs/about: Mark the old pc-i440fx-2.0 - 2.3 machine types as deprecated", deprecate the 2.4 to 2.12 machines. Suggested-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- doc

[PATCH v6 16/23] hw/i386/pc: Remove deprecated pc-i440fx-2.2 machine

2024-06-17 Thread Philippe Mathieu-Daudé
The pc-i440fx-2.2 machine was deprecated for the 8.2 release (see commit c7437f0ddb "docs/about: Mark the old pc-i440fx-2.0 - 2.3 machine types as deprecated"), time to remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --

[PATCH v6 11/23] hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults()

2024-06-17 Thread Philippe Mathieu-Daudé
'uuid_encoded' is always true, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- include/hw/firmware/smbios.h | 3 +-- hw/arm/virt.c| 3 +-- hw/i386/fw_cfg.c | 2 +- hw/loongarch/virt.c | 2 +- hw/riscv/vi

[PATCH v6 18/23] hw/i386/pc: Remove PCMachineClass::rsdp_in_ram

2024-06-17 Thread Philippe Mathieu-Daudé
PCMachineClass::rsdp_in_ram was only used by the pc-i440fx-2.2 machine, which got removed. It is now always true. Remove it, simplifying acpi_setup(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- include/hw/i386/pc.h | 1

[PATCH v6 09/23] target/i386/kvm: Remove x86_cpu_change_kvm_default() and 'kvm-cpu.h'

2024-06-17 Thread Philippe Mathieu-Daudé
x86_cpu_change_kvm_default() was only used out of kvm-cpu.c by the pc-i440fx-2.1 machine, which got removed. Make it static, and remove its declaration. "kvm-cpu.h" is now empty, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Ma

[PATCH v6 07/23] hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug'

2024-06-17 Thread Philippe Mathieu-Daudé
acpi_memory_hotplug::is_enabled is set to %true once via ich9_lpc_initfn() -> ich9_pm_add_properties(). No need to check it, so remove now dead code. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- hw/acpi/ich9.c | 28 ++-- 1 f

[PATCH v6 21/23] hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macro

2024-06-17 Thread Philippe Mathieu-Daudé
Last commit removed the last non-NULL use of DEFINE_I440FX_MACHINE 3rd parameter. 'compatfn' is now obsolete, remove it. Suggested-by: Daniel P. Berrangé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Daniel P. Berrangé --- hw/i386/pc_piix.c

[PATCH v6 14/23] hw/mem/pc-dimm: Remove legacy_align argument from pc_dimm_pre_plug()

2024-06-17 Thread Philippe Mathieu-Daudé
'legacy_align' is always NULL, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: David Hildenbrand Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- include/hw/mem/pc-dimm.h | 3 +-- hw/arm/virt.c| 2 +- hw/i386/pc.c | 2 +- hw/

[PATCH v6 23/23] hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE

2024-06-17 Thread Philippe Mathieu-Daudé
PCMachineClass::acpi_data_size was only used by the pc-i440fx-2.0 machine, which got removed. Since it is constant, replace the class field by a definition (local to hw/i386/pc.c, since not used elsewhere). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu ---

[PATCH v6 22/23] target/i386: Remove X86CPU::kvm_no_smi_migration field

2024-06-17 Thread Philippe Mathieu-Daudé
X86CPU::kvm_no_smi_migration was only used by the pc-i440fx-2.3 machine, which got removed. Remove it and simplify kvm_put_vcpu_events(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Thomas Huth --- target/i386/cpu.h | 3 --- target/i386/cpu.c | 2 -- target

[PATCH v6 17/23] hw/i386/pc: Remove PCMachineClass::resizable_acpi_blob

2024-06-17 Thread Philippe Mathieu-Daudé
PCMachineClass::resizable_acpi_blob was only used by the pc-i440fx-2.2 machine, which got removed. It is now always true. Remove it, simplifying acpi_build(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- include/hw/i386/pc.h | 3 --- hw/i386/acpi-

[PATCH v6 08/23] hw/i386/pc: Remove deprecated pc-i440fx-2.1 machine

2024-06-17 Thread Philippe Mathieu-Daudé
The pc-i440fx-2.1 machine was deprecated for the 8.2 release (see commit c7437f0ddb "docs/about: Mark the old pc-i440fx-2.0 - 2.3 machine types as deprecated"), time to remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --

[PATCH v6 20/23] hw/i386/pc: Remove deprecated pc-i440fx-2.3 machine

2024-06-17 Thread Philippe Mathieu-Daudé
The pc-i440fx-2.3 machine was deprecated for the 8.2 release (see commit c7437f0ddb "docs/about: Mark the old pc-i440fx-2.0 - 2.3 machine types as deprecated"), time to remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --

[PATCH v6 19/23] hw/i386/acpi: Remove AcpiBuildState::rsdp field

2024-06-17 Thread Philippe Mathieu-Daudé
AcpiBuildState::rsdp is always NULL, remove it, simplifying acpi_build_update(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- hw/i386/acpi-build.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/

[PATCH v6 12/23] hw/smbios: Remove 'smbios_uuid_encoded', simplify smbios_encode_uuid()

2024-06-17 Thread Philippe Mathieu-Daudé
'smbios_encode_uuid' is always true, remove it, simplifying smbios_encode_uuid(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- hw/smbios/smbios.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/smbios/smbios.c b/hw/s

[PATCH v6 15/23] hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug()

2024-06-17 Thread Philippe Mathieu-Daudé
'legacy_align' is always NULL, remove it, simplifying memory_device_pre_plug(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: David Hildenbrand Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov --- include/hw/mem/memory-device.h | 2 +- hw/i386/pc.c

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Philippe Mathieu-Daudé
Hi Trent, On 14/6/24 23:06, Trent Huber wrote: Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section of the macOS man page. The value of the rlim_cur member has been adjusted accordingly for Darwin-based systems. Signed-off-by: Trent Huber

Re: [PATCH v2 00/11] qcow2: make subclusters discardable

2024-06-17 Thread Andrey Drobyshev
On 6/10/24 11:53 AM, Andrey Drobyshev wrote: > On 6/3/24 12:19 PM, Andrey Drobyshev wrote: >> On 5/13/24 9:31 AM, Andrey Drobyshev wrote: >>> v1: https://lists.nongnu.org/archive/html/qemu-devel/2023-10/msg07223.html >>> >>> Andrey Drobyshev (11): >>> qcow2: make function update_refcount_discard(

Re: [PATCH 02/18] tcg/loongarch64: Use fp load/store for I32 and I64 into vector regs

2024-06-17 Thread gaosong
在 2024/5/28 上午5:18, Richard Henderson 写道: Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 36 +--- 1 file changed, 10 insertions(+), 26 deletions(-) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/tcg/loongarch64/tcg-target.c.inc b/t

[PULL v2 00/25] target/i386, SCSI changes for 2024-06-11

2024-06-17 Thread Paolo Bonzini
The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for yo

[PULL 13/25] target/i386: convert MOV from/to CR and DR to new decoder

2024-06-17 Thread Paolo Bonzini
Complete implementation of C and D operand types, then the operations are just MOVs. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.h | 1 + target/i386/tcg/translate.c | 79 target/i386/tcg/decode-new.c.inc | 61 ++-- t

Re: [PATCH v4] mc146818rtc: add a way to generate RTC interrupts via QMP

2024-06-17 Thread Daniil Tatianin
On 5/29/24 6:27 PM, Philippe Mathieu-Daudé wrote: On 29/5/24 16:34, Markus Armbruster wrote: Daniil Tatianin writes: On 5/29/24 4:39 PM, Philippe Mathieu-Daudé wrote: On 29/5/24 14:43, Daniil Tatianin wrote: On 5/29/24 3:36 PM, Philippe Mathieu-Daudé wrote: On 29/5/24 14:03, Markus Armb

Re: [PATCH 1/1] i386/tcg: Allow IRET from user mode to user mode for dotnet runtime

2024-06-17 Thread Paolo Bonzini
On Mon, Jun 17, 2024 at 12:45 AM Robert Henry wrote: > I do not think I will have the time or focus to work on improving this patch > this summer, as I will retire in 2 weeks and need to make a clean break to > focus on other things (health, for one) for a while. > If anyone wants to put into pl

[PATCH] virtio-gpu-gl: declare dependency on ui-opengl

2024-06-17 Thread marcandre . lureau
From: Marc-André Lureau Since commit e8a2db94 "virtio-gpu-virgl: teach it to get the QEMU EGL display", virtio-gl depends on ui-opengl symbol "qemu_egl_display". Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2391 Fixes: e8a2db94 ("virtio-gpu-virgl: teach it to get the QEMU EGL display"

[PATCH 1/1] BootLogoLib: align logo coords to be even

2024-06-17 Thread Marcin Juszkiewicz
If we draw logo at odd coords then BootLogoLib goes into exception and boot process ends: Synchronous Exception at 0x0101FB943E48 PC 0x0101FB943E48 (0x0101FB93F000+0x4E48) [ 0] QemuVideoDxe.dll PC 0x0101FB943314 (0x0101FB93F000+0x4314) [ 0] QemuVideoDxe.dll PC 0x0101FB92F798 (0x0101FB9

Re: [PATCH 1/1] BootLogoLib: align logo coords to be even

2024-06-17 Thread Ard Biesheuvel
On Mon, 17 Jun 2024 at 10:37, Marcin Juszkiewicz wrote: > > If we draw logo at odd coords then BootLogoLib goes into exception and > boot process ends: > > Synchronous Exception at 0x0101FB943E48 > PC 0x0101FB943E48 (0x0101FB93F000+0x4E48) [ 0] QemuVideoDxe.dll > PC 0x0101FB943314 (0x0101F

Re: [RFC PATCH v2 3/5] rust: add PL011 device model

2024-06-17 Thread Manos Pitsidianakis
On Fri, 14 Jun 2024 20:50, Paolo Bonzini wrote: On Fri, Jun 14, 2024 at 9:04 AM Manos Pitsidianakis wrote: On Thu, 13 Jun 2024 23:57, Paolo Bonzini wrote: >On Thu, Jun 13, 2024 at 11:16 AM Daniel P. Berrangé wrote: >> I guess there's a balance to be had somewhere on the spectrum between do

Re: [PATCH 03/18] tcg/loongarch64: Handle i32 and i64 moves between gr and fr

2024-06-17 Thread gaosong
在 2024/5/28 上午5:18, Richard Henderson 写道: Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarc

Re: [PATCH 04/18] tcg/loongarch64: Support TCG_TYPE_V64

2024-06-17 Thread gaosong
在 2024/5/28 上午5:18, Richard Henderson 写道: We can implement this with fld_d, fst_d for load and store, and then use the normal v128 operations in registers. This will improve support for guests which use v64. Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.h | 2 +- tcg/lo

Re: [PATCH 05/18] util/loongarch64: Detect LASX vector support

2024-06-17 Thread gaosong
在 2024/5/28 上午5:18, Richard Henderson 写道: Signed-off-by: Richard Henderson --- host/include/loongarch64/host/cpuinfo.h | 1 + util/cpuinfo-loongarch.c| 1 + 2 files changed, 2 insertions(+) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/host/include/loongarch64/host/

Re: [PATCH 06/18] tcg/loongarch64: Simplify tcg_out_dup_vec

2024-06-17 Thread gaosong
在 2024/5/28 上午5:19, Richard Henderson 写道: Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarc

Re: [PATCH v3] hw/arm/virt: Avoid unexpected warning from Linux guest on host with Fujitsu CPUs

2024-06-17 Thread Philippe Mathieu-Daudé
On 17/6/24 07:26, Zhenyu Zhang wrote: On Thu, Jun 13, 2024 at 1:48 AM Robin Murphy wrote: On 2024-06-12 1:50 pm, Philippe Mathieu-Daudé wrote: On 12/6/24 14:48, Peter Maydell wrote: On Wed, 12 Jun 2024 at 13:33, Philippe Mathieu-Daudé wrote: Hi Zhenyu, Hello Philippe, On 12/6/24 04:05

Re: [PATCH v2 3/9] gdbstub: Add support for target-specific stubs

2024-06-17 Thread Alex Bennée
Gustavo Romero writes: > Hi Alex, > > On 6/14/24 8:27 AM, Alex Bennée wrote: >> Gustavo Romero writes: >> >>> Currently, it's not possible to have stubs specific to a given target, >>> even though there are GDB features which are target-specific, like, for >>> instance, memory tagging. >>> >>>

Re: [PATCH v2 0/9] Add MTE stubs for aarch64 user mode

2024-06-17 Thread Alex Bennée
Gustavo Romero writes: > Hi Alex, > > On 6/14/24 12:49 PM, Alex Bennée wrote: >> Gustavo Romero writes: >> >>> This patchset adds the stubs necessary to support GDB memory tagging >>> commands on QEMU aarch64 user mode. >>> >>> These new stubs handle the qIsAddressTagged, qMemTag, and QMemTag >

Re: [PATCH 07/18] tcg/loongarch64: Support LASX in tcg_out_dup_vec

2024-06-17 Thread gaosong
在 2024/5/28 上午5:19, Richard Henderson 写道: Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-targe

[PATCH v2] virtio-pci: Fix the use of an uninitialized irqfd.

2024-06-17 Thread Cindy Lu
The crash was reported in MAC OS and NixOS, here is the link for this bug https://gitlab.com/qemu-project/qemu/-/issues/2334 https://gitlab.com/qemu-project/qemu/-/issues/2321 The root cause is the function virtio_pci_set_guest_notifiers() was not called in the virtio_input device.So the vector_ir

Re: [PATCH 08/18] tcg/loongarch64: Support LASX in tcg_out_dupm_vec

2024-06-17 Thread gaosong
在 2024/5/28 上午5:19, Richard Henderson 写道: Each element size has a different encoding, so code cannot be shared in the same way as with tcg_out_dup_vec. Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 30 -- 1 file changed, 24 insertions(+),

Re: [PATCH 09/18] tcg/loongarch64: Use tcg_out_dup_vec in tcg_out_dupi_vec

2024-06-17 Thread gaosong
在 2024/5/28 上午5:19, Richard Henderson 写道: Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/t

Re: [PATCH 10/18] tcg/loongarch64: Support LASX in tcg_out_dupi_vec

2024-06-17 Thread gaosong
在 2024/5/28 上午5:19, Richard Henderson 写道: Signed-off-by: Richard Henderson --- tcg/loongarch64/tcg-target.c.inc | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) Reviewed-by: Song Gao Thanks. Song Gao diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-target.c.i

Re: [PATCH 01/26] hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Harsh Prateek Bora --- include/hw/pci-host/pnv_phb3.h | 2 +- hw/pci-host/pnv_phb3_msi.c | 21 ++--- hw/ppc/pnv.c

Re: [PATCH 01/26] hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
Hi Phillipe, One query below: On 6/17/24 15:41, Harsh Prateek Bora wrote: On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Harsh Prateek Bora ---   include/hw/pci-host/pnv_phb3.h |  2 +-  

Re: [PATCH 03/26] hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
Hi Phillipe, On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index fa23b27a2b..5854358f65 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -1223,7 +1223,13 @@ static void pnv_chip_power9_intc_destroy(PnvChip *chip, PowerPCCPU *cpu) static void pnv_chip_

RE: [PATCH v2 17/17] vfio/container: Move vfio_container_destroy() to an instance_finalize() handler

2024-06-17 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Subject: [PATCH v2 17/17] vfio/container: Move vfio_container_destroy() to >an instance_finalize() handler > >vfio_container_destroy() clears the resources allocated >VFIOContainerBase object. Now that VFIOContainerBase is a QOM object, >add a

RE: [PATCH v4 0/8] VIRTIO-IOMMU/VFIO: Fix host iommu geometry handling for hotplugged devices

2024-06-17 Thread Duan, Zhenzhong
>-Original Message- >From: Eric Auger >Subject: [PATCH v4 0/8] VIRTIO-IOMMU/VFIO: Fix host iommu geometry >handling for hotplugged devices > >This series is based on Zhenzhong HostIOMMUDevice: > >[PATCH v7 00/17] Add a host IOMMU device abstraction to check with >vIOMMU >https://lore.ke

Re: [PATCH 01/26] hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
On 6/17/24 15:49, Harsh Prateek Bora wrote: Hi Phillipe, One query below: On 6/17/24 15:41, Harsh Prateek Bora wrote: On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Harsh Prateek Bora

Re: [PATCH v2] Hexagon: lldb read/write predicate registers p0/p1/p2/p3

2024-06-17 Thread Matheus Tavares Bernardino
On Thu, 13 Jun 2024 12:22:09 -0600 Taylor Simpson wrote: > > hexagon-core.xml only exposes register p3_0 which is an alias that > aggregates the predicate registers. It is more convenient for users > to interact directly with the predicate registers. > > Tested with lldb downloaded from this lo

Re: [RFC PATCH] subprojects: add a wrapper for libvirglrenderer

2024-06-17 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/06/05 22:35, Alex Bennée wrote: >> As the latest features for virtio-gpu need a pretty recent version of >> libvirglrenderer. When it is not available on the system we can use a >> meson wrapper and provide it when --download is specified in >> configure. >> We hav

Re: [PATCH RESEND v7 00/12] vhost-user: support any POSIX system (tested on macOS, FreeBSD, OpenBSD)

2024-06-17 Thread Stefano Garzarella
Hi Michael, On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote: This series should be in a good shape, in which tree should we queue it? @Micheal would your tree be okay? Markus suggested a small change to patch 10, so do you want me to resend the whole series, or is it okay to

Re: [PATCH v2] virtio-pci: Fix the use of an uninitialized irqfd.

2024-06-17 Thread Philippe Mathieu-Daudé
Hi Cindy, On 17/6/24 11:55, Cindy Lu wrote: The crash was reported in MAC OS and NixOS, here is the link for this bug https://gitlab.com/qemu-project/qemu/-/issues/2334 https://gitlab.com/qemu-project/qemu/-/issues/2321 The root cause is the function virtio_pci_set_guest_notifiers() was not cal

Re: [PATCH v2 2/4] target/ppc: Move VSX vector with length storage access insns to decodetree.

2024-06-17 Thread Chinmay Rath
Hi Richard, On 6/17/24 00:43, Richard Henderson wrote: On 6/13/24 02:33, Chinmay Rath wrote: +/* EA <- (ra == 0) ? 0 : GPR[ra] */ +static TCGv do_ea_calc_ra(DisasContext *ctx, int ra) +{ +    TCGv EA; +    if (!ra) { +    EA = tcg_constant_tl(0); +    return EA; +    } +    EA = tcg_tem

Re: [PATCH] hw/arm/virt-acpi-build: Fix IORT id_count

2024-06-17 Thread Michael S. Tsirkin
On Thu, Jun 13, 2024 at 04:48:02PM -0700, Nicolin Chen wrote: > The IORT doc defines "Number of IDs" ("id_count" in the virt-acpi-build) > to be "the number of IDs in the range minus one". Otherwise, Linux kernel > reports "conflicting mapping for input ID" FW_BUG at the overlapped ID. > > Fixes:

linux-user: array overflow in pselect6 emulation

2024-06-17 Thread Andreas Schwab
$ cat select.c #include #include #include #include #include #include int main (int argc, char **argv) { int nfds = (argc > 1 ? atoi (argv[1]) : 1031); fd_set *fds = calloc ((nfds + (sizeof (fd_mask) * 8) - 1) / (sizeof (fd_mask) * 8), sizeof (fd_mask)); setrlimi

Re: [PATCH qemu ] hw/acpi: Fix big endian host creation of Generic Port Affinity Structures

2024-06-17 Thread Igor Mammedov
On Fri, 14 Jun 2024 15:08:35 +0100 Jonathan Cameron wrote: > On Fri, 14 Jun 2024 12:57:25 +0200 > Igor Mammedov wrote: > > > On Thu, 6 Jun 2024 18:47:16 +0100 > > Jonathan Cameron wrote: > > > > > On Thu, 6 Jun 2024 16:06:53 +0200 > > > Igor Mammedov wrote: > > > > > > > On Wed, 5 Jun

Re: [PATCH v6 21/23] hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macro

2024-06-17 Thread Igor Mammedov
On Mon, 17 Jun 2024 09:11:16 +0200 Philippe Mathieu-Daudé wrote: > Last commit removed the last non-NULL use of DEFINE_I440FX_MACHINE > 3rd parameter. 'compatfn' is now obsolete, remove it. > > Suggested-by: Daniel P. Berrangé > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Thomas Huth

Re: [PATCH] Update event idx if guest has made extra buffers during double check

2024-06-17 Thread Michael S. Tsirkin
Thanks for the patch! Yet something to improve: subject should list the affected component, and be shorter. On Thu, Jun 13, 2024 at 10:21:47AM +0800, thomas wrote: > Fixes: 06b12970174 ("virtio-net: fix network stall under load") this should come at the end. and what exactly does this refer

Re: [PATCH v6 22/23] target/i386: Remove X86CPU::kvm_no_smi_migration field

2024-06-17 Thread Igor Mammedov
On Mon, 17 Jun 2024 09:11:17 +0200 Philippe Mathieu-Daudé wrote: > X86CPU::kvm_no_smi_migration was only used by the > pc-i440fx-2.3 machine, which got removed. Remove it > and simplify kvm_put_vcpu_events(). > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Zhao Liu > Reviewed-by: Thom

Re: [PATCH v6 23/23] hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE

2024-06-17 Thread Igor Mammedov
On Mon, 17 Jun 2024 09:11:18 +0200 Philippe Mathieu-Daudé wrote: > PCMachineClass::acpi_data_size was only used by the pc-i440fx-2.0 > machine, which got removed. Since it is constant, replace the class > field by a definition (local to hw/i386/pc.c, since not used > elsewhere). > > Signed-off-b

[PATCH v2] ppc/pnv: Introduce pnv_chip_foreach_cpu()

2024-06-17 Thread Philippe Mathieu-Daudé
From: Cédric Le Goater This helper routine uses the machine definition, sockets, cores and threads, to loop on all CPUs of the machine. Replace CPU_FOREACH() with it. Signed-off-by: Cédric Le Goater Reviewed-by: Nicholas Piggin Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240424093048.1

Re: [PATCH 03/26] hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info()

2024-06-17 Thread Philippe Mathieu-Daudé
Hi Harsh, On 17/6/24 12:19, Harsh Prateek Bora wrote: On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index fa23b27a2b..5854358f65 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -1223,7 +1223,13 @@ static void pnv_chip_power9_intc_destroy(PnvChip *chip

Re: [PATCH 1/1] BootLogoLib: align logo coords to be even

2024-06-17 Thread Marcin Juszkiewicz
W dniu 17.06.2024 o 10:39, Ard Biesheuvel pisze: If we draw logo at odd coords then BootLogoLib goes into exception and boot process ends: Synchronous Exception at 0x0101FB943E48 PC 0x0101FB943E48 (0x0101FB93F000+0x4E48) [ 0] QemuVideoDxe.dll PC 0x0101FB943314 (0x0101FB93F000+0x4314)

Re: [PATCH v7 1/2] hw/misc/riscv_iopmp: Add RISC-V IOPMP device

2024-06-17 Thread LIU Zhiwei
On 2024/6/12 11:17, Ethan Chen wrote: Support basic functions of IOPMP specification v0.9.1 rapid-k model. The specification url: https://github.com/riscv-non-isa/iopmp-spec/releases/tag/v0.9.1 IOPMP check memory access from device is valid or not. This implementation uses IOMMU to change addr

Re: [PATCH v2 01/17] vfio: Make vfio_devices_dma_logging_start() return bool

2024-06-17 Thread Eric Auger
Hi Cédric, On 6/17/24 08:33, Cédric Le Goater wrote: > Since vfio_devices_dma_logging_start() takes an 'Error **' argument, > best practices suggest to return a bool. See the api/error.h Rules > section. It will simplify potential changes coming after. As I already mentionned the Rules section d

Re: [PATCH v2 02/17] vfio: Remove unused declarations from vfio-common.h

2024-06-17 Thread Eric Auger
On 6/17/24 08:33, Cédric Le Goater wrote: > These were forgotten in the recent cleanups. > > Signed-off-by: Cédric Le Goater > Reviewed-by: Zhenzhong Duan Reviewed-by: Eric Auger Eric > --- > include/hw/vfio/vfio-common.h | 4 > 1 file changed, 4 deletions(-) > > diff --git a/includ

Re: [RFC PATCH v2 3/5] rust: add PL011 device model

2024-06-17 Thread Paolo Bonzini
Il lun 17 giu 2024, 10:59 Manos Pitsidianakis < manos.pitsidiana...@linaro.org> ha scritto: > >qdev_define_type!(c"test-device", TestDevice); > >impl ObjectImpl for TestDevice {} > >impl DeviceImpl for TestDevice {} > > > >fn main() { > >let d = TestDevice::new(); > >d.cold_reset(); > >} >

Re: [PATCH v2 03/17] vfio/common: Move dirty tracking ranges update to helper

2024-06-17 Thread Eric Auger
Hi Cédric, On 6/17/24 08:33, Cédric Le Goater wrote: > From: Joao Martins > > Separate the changes that updates the ranges from the listener, to s/updates/update > make it reusable in preparation to expand its use to vIOMMU support. > > [ clg: - Rebased on upstream >- Introduced vfio_dirty

Re: [RFC PATCH] subprojects: add a wrapper for libvirglrenderer

2024-06-17 Thread Akihiko Odaki
On 2024/06/17 19:35, Alex Bennée wrote: Akihiko Odaki writes: On 2024/06/05 22:35, Alex Bennée wrote: As the latest features for virtio-gpu need a pretty recent version of libvirglrenderer. When it is not available on the system we can use a meson wrapper and provide it when --download is spe

Re: [PATCH v2 2/4] target/ppc: Move VSX vector with length storage access insns to decodetree.

2024-06-17 Thread Chinmay Rath
Hi Richard, On 6/17/24 00:43, Richard Henderson wrote: On 6/13/24 02:33, Chinmay Rath wrote: +/* EA <- (ra == 0) ? 0 : GPR[ra] */ +static TCGv do_ea_calc_ra(DisasContext *ctx, int ra) +{ +    TCGv EA; +    if (!ra) { +    EA = tcg_constant_tl(0); +    return EA; +    } +    EA = tcg_t

Re: [PATCH RESEND v7 00/12] vhost-user: support any POSIX system (tested on macOS, FreeBSD, OpenBSD)

2024-06-17 Thread Markus Armbruster
Stefano Garzarella writes: > Hi Michael, > > On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote: >>This series should be in a good shape, in which tree should we queue it? >>@Micheal would your tree be okay? > > Markus suggested a small change to patch 10, so do you want me to resen

Re: [PATCH qemu ] hw/acpi: Fix big endian host creation of Generic Port Affinity Structures

2024-06-17 Thread Jonathan Cameron via
On Fri, 14 Jun 2024 15:08:35 +0100 Jonathan Cameron wrote: > On Fri, 14 Jun 2024 12:57:25 +0200 > Igor Mammedov wrote: > > > On Thu, 6 Jun 2024 18:47:16 +0100 > > Jonathan Cameron wrote: > > > > > On Thu, 6 Jun 2024 16:06:53 +0200 > > > Igor Mammedov wrote: > > > > > > > On Wed, 5 Jun

Re: [PATCH v7 1/2] hw/misc/riscv_iopmp: Add RISC-V IOPMP device

2024-06-17 Thread Stefan Weil via
Am 12.06.24 um 05:17 schrieb Ethan Chen via: Support basic functions of IOPMP specification v0.9.1 rapid-k model. The specification url: https://github.com/riscv-non-isa/iopmp-spec/releases/tag/v0.9.1 IOPMP check memory access from device is valid or not. This implementation uses IOMMU to change

Re: [PATCH v2 01/17] vfio: Make vfio_devices_dma_logging_start() return bool

2024-06-17 Thread Cédric Le Goater
Hello Eric, On 6/17/24 1:31 PM, Eric Auger wrote: Hi Cédric, On 6/17/24 08:33, Cédric Le Goater wrote: Since vfio_devices_dma_logging_start() takes an 'Error **' argument, best practices suggest to return a bool. See the api/error.h Rules section. It will simplify potential changes coming afte

Re: [PATCH 06/26] hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: @@ -1389,8 +1392,10 @@ void xive_end_pic_print_info(XiveEND *end, uint32_t end_idx, Monitor *mon) if (qaddr_base) { monitor_printf(mon, " eq:@%08"PRIx64"% 6d/%5d ^%d", qaddr_base, qindex, qentries, qgen);

Re: [PATCH 07/26] hw/ppc: Avoid using Monitor in spapr_xive_end_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: @@ -198,13 +193,18 @@ static void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) if (!xive_eas_is_masked(eas)) { uint32_t end_idx = xive_get_field64(EAS_END_INDEX, eas->w); XiveEND *end; +

Re: [PATCH V3 0/2] improve -overcommit cpu-pm=on|off

2024-06-17 Thread Michael Tokarev
04.06.2024 03:02, Zide Chen wrote: Currently, if running "-overcommit cpu-pm=on" on hosts that don't have MWAIT support, the MWAIT/MONITOR feature is advertised to the guest and executing MWAIT/MONITOR on the guest triggers #UD. Typically #UD takes priority over VM-Exit interception checks and K

Re: [PATCH] hmp-commands-info.hx: Add missing info command for stats subcommand

2024-06-17 Thread Michael Tokarev
Applied to trivial-patches, thanks! /mjt -- GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24. New key: rsa4096/61AD3D98ECDF2C8E 9D8B E14E 3F2A 9DD7 9199 28F1 61AD 3D98 ECDF 2C8E Old key: rsa2048/457CE0A0804465C5 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 8044 65C5 Transition stat

Re: [PATCH] cpu: fix memleak of 'halt_cond' and 'thread'

2024-06-17 Thread Michael Tokarev
12.06.2024 20:04, Matheus Tavares Bernardino wrote: Since a4c2735f35 (cpu: move Qemu[Thread|Cond] setup into common code, 2024-05-30) these fields are now allocated at cpu_common_initfn(). So let's make sure we also free them at cpu_common_finalize(). Furthermore, the code also frees these on ro

Re: [PATCH 08/26] hw/ppc: Avoid using Monitor in spapr_xive_pic_print_info()

2024-06-17 Thread Harsh Prateek Bora
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: @@ -203,10 +201,8 @@ static void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) spapr_xive_end_pic_print_info(xive, end, buf); } -info = human_readable_text_from_str(buf); -mo

Re: [PATCH] fix SSE2/SSSE3 feature detection in tcg/decode-new.c.inc

2024-06-17 Thread Michael Tokarev
Adding Cc's. /mjt 29.05.2024 16:53, Frank Mehnert wrote: The correct bitmask is cpuid_features rather than cpuid_ext_features. --- target/i386/tcg/decode-new.c.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/tcg/decode-new.c.inc b/target/i386/tcg/decod

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Daniel P . Berrangé
On Fri, Jun 14, 2024 at 05:06:38PM -0400, Trent Huber wrote: > Darwin uses a subtly different version of the setrlimit() syscall as > described in the COMPATIBILITY section of the macOS man page. The value > of the rlim_cur member has been adjusted accordingly for Darwin-based > systems. > > Signe

Re: [PATCH] monitor: Remove obsolete stubs

2024-06-17 Thread Michael Tokarev
10.06.2024 09:39, Philippe Mathieu-Daudé wrote: hmp_info_roms() was removed in commit dd98234c05 ("qapi: introduce x-query-roms QMP command"), hmp_info_numa() in commit 1b8ae799d8 ("qapi: introduce x-query-numa QMP command"), hmp_info_ramblock() in commit ca411b7c8a ("qapi: introduce x-query-ra

Re: [PATCH 0/7] Remove some unused structures

2024-06-17 Thread Michael Tokarev
07.06.2024 17:04, Dr. David Alan Gilbert пишет: * Dr. David Alan Gilbert (d...@treblig.org) wrote: A bunch of structs that are currently unused, found with a simple script and a bit of eyeballing. The only one I'm that suspicious of is the SPARC one, where the patch which removed the use is a b

Re: [PATCH RESEND v7 00/12] vhost-user: support any POSIX system (tested on macOS, FreeBSD, OpenBSD)

2024-06-17 Thread Stefano Garzarella
On Mon, Jun 17, 2024 at 02:02:30PM GMT, Markus Armbruster wrote: Stefano Garzarella writes: Hi Michael, On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote: This series should be in a good shape, in which tree should we queue it? @Micheal would your tree be okay? Markus sugges

Guest agent guest-exec memory usage

2024-06-17 Thread Konstantin Kostiuk
Hi All, During the investigation of a possible memory leak in the `guest-exec` command of guest-agent, I found unexpected behavior for me. When we execute the `guest-exec` command with `capture-output = true`, guest-agent stores stdout/stderr until someone calls `guest-exec-status`. Just for test

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Michael Tokarev
17.06.2024 10:19, Philippe Mathieu-Daudé wrote: Hi Trent, On 14/6/24 23:06, Trent Huber wrote: Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section of the macOS man page. The value of the rlim_cur member has been adjusted accordingly for Da

Re: Guest agent guest-exec memory usage

2024-06-17 Thread Daniel P . Berrangé
On Mon, Jun 17, 2024 at 04:05:07PM +0300, Konstantin Kostiuk wrote: > Hi All, > > During the investigation of a possible memory leak in the `guest-exec` > command of guest-agent, I found unexpected behavior for me. When we execute > the `guest-exec` command with `capture-output = true`, guest-agen

Re: [PATCH v4 3/8] HostIOMMUDevice: Introduce get_iova_ranges callback

2024-06-17 Thread Cédric Le Goater
On 6/14/24 11:52 AM, Eric Auger wrote: Introduce a new HostIOMMUDevice callback that allows to retrieve the usable IOVA ranges. Implement this callback in the legacy VFIO and IOMMUFD VFIO host iommu devices. This relies on the VFIODevice agent's base container iova_ranges resource. Signed-off-b

Re: [PATCH 00/26] hw/ppc: Prefer HumanReadableText over Monitor

2024-06-17 Thread Harsh Prateek Bora
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote: Hi, This series remove uses of Monitor in hw/ppc/, replacing by the more generic HumanReadableText. Care is taken to keep the commit bisectables by updating functions one by one, also easing review. For rationale see previous series from Daniel

[PATCH] target/loongarch: Remove avail_64 in trans_srai_w()

2024-06-17 Thread Feiyang Chen
Since srai.w is a valid instruction on la32, simply remove the avail_64 check. Fixes: c0c0461e3a06 ("target/loongarch: Add avail_64 to check la64-only instructions") Signed-off-by: Feiyang Chen --- target/loongarch/tcg/insn_trans/trans_shift.c.inc | 4 1 file changed, 4 deletions(-) diff

Re: [PATCH RESEND v7 00/12] vhost-user: support any POSIX system (tested on macOS, FreeBSD, OpenBSD)

2024-06-17 Thread Michael S. Tsirkin
On Mon, Jun 17, 2024 at 02:59:14PM +0200, Stefano Garzarella wrote: > On Mon, Jun 17, 2024 at 02:02:30PM GMT, Markus Armbruster wrote: > > Stefano Garzarella writes: > > > > > Hi Michael, > > > > > > On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote: > > > > This series should be

[PATCH] hw/i386/fw_cfg: Add etc/e820 to fw_cfg late

2024-06-17 Thread David Woodhouse
From: David Woodhouse In e820_add_entry() the e820_table is reallocated with g_renew() to make space for a new entry. However, fw_cfg_arch_create() just uses the existing e820_table pointer. This leads to a use-after-free if anything adds a new entry after fw_cfg is set up. Shift the addition of

Re: [PATCH] Update event idx if guest has made extra buffers during double check

2024-06-17 Thread Yang Dongshan
hi, subject should list the affected component, and be shorter. ok, I will rewrite the subject: "update the latest available idx seen by the host to event idx" Fixes: 06b12970174 ("virtio-net: fix network stall under load") this should come at the end. I have submitted v2, it's at the end now.

  1   2   3   >