Re: [PATCH 09/18] qapi/machine: Rename CpuS390* to S390Cpu, and drop 'prefix'

2024-07-30 Thread Zhao Liu
VmdkAdapterType', > 'ChardevBackendKind', > -'CpuS390Entitlement', > -'CpuS390Polarization', > -'CpuS390State', > +'S390CpuEntitlement', > +'S390CpuPolarization', > +'S390CpuState', > 'CxlCorErrorType', > 'DisplayProtocol', > 'DriveBackupWrapper', It seems to be in alphabetical order. The new names don't follow the original order. Just the above nits, Reviewed-by: Zhao Liu

Re: [PATCH 07/18] qapi/machine: Drop temporary 'prefix'

2024-07-30 Thread Zhao Liu
> --- > qapi/machine.json| 1 - > hw/core/numa.c | 4 ++-- > hw/pci-bridge/cxl_upstream.c | 4 ++-- > 3 files changed, 4 insertions(+), 5 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH] docs: fix typo

2023-12-14 Thread Zhao Liu
On Thu, Dec 14, 2023 at 11:53:18PM +0100, Samuel Tardieu wrote: > Date: Thu, 14 Dec 2023 23:53:18 +0100 > From: Samuel Tardieu > Subject: [PATCH] docs: fix typo > X-Mailer: git-send-email 2.42.0 > > Signed-off-by: Samuel Tardieu > --- Reviewed-by: Zhao Liu > doc

Re: [PATCH 01/21] hw/i386/pc: Do not use C99 mixed-declarations style

2024-02-22 Thread Zhao Liu
Hi Philippe, On Fri, Feb 16, 2024 at 12:02:52PM +0100, Philippe Mathieu-Daudé wrote: > Date: Fri, 16 Feb 2024 12:02:52 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH 01/21] hw/i386/pc: Do not use C99 mixed-declarations style > X-Mailer: git-send-email 2.41.0 > > QEMU's coding style gener

Re: [PATCH 02/21] hw/i386/pc_sysfw: Use qdev_is_realized() instead of QOM API

2024-02-22 Thread Zhao Liu
fer QDev API for QDev objects, avoid the underlying QOM layer. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/i386/pc_sysfw.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Zhao Liu > > diff --git a/hw/i386/pc_sysfw.c b/hw/i386/pc_sys

Re: [PATCH 17/21] hw/i386/iommu: Prefer object_initialize_child over object_initialize

2024-02-22 Thread Zhao Liu
Hi Philippe, On Fri, Feb 16, 2024 at 12:03:08PM +0100, Philippe Mathieu-Daudé wrote: > Date: Fri, 16 Feb 2024 12:03:08 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH 17/21] hw/i386/iommu: Prefer object_initialize_child over > object_initialize > X-Mailer: git-send-email 2.41.0 > > When

Re: [PATCH 11/21] hw/usb: Add QOM parentship relation with hub devices

2024-02-22 Thread Zhao Liu
Hi Philippe, On Fri, Feb 16, 2024 at 12:03:02PM +0100, Philippe Mathieu-Daudé wrote: > Date: Fri, 16 Feb 2024 12:03:02 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH 11/21] hw/usb: Add QOM parentship relation with hub devices > X-Mailer: git-send-email 2.41.0 > > QDev objects created wit

Re: [PATCH 06/21] hw: Replace DEVICE(object_new) -> qdev_new()

2024-02-22 Thread Zhao Liu
ev objects, avoid the underlying QOM layer. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/arm/musicpal.c | 2 +- > hw/core/qdev.c| 2 +- > hw/sparc/sun4m.c | 4 ++-- > 3 files changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Zhao Liu > > diff --git

Re: [PATCH 09/21] hw/usb: Inline usb_try_new()

2024-02-22 Thread Zhao Liu
> > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/usb/bus.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) Reviewed-by: Zhao Liu > > diff --git a/hw/usb/bus.c b/hw/usb/bus.c > index 59c39945dd..148224f06a 100644 > --- a/hw/usb/bus.c > +++ b/hw/usb

Re: [PATCH 07/21] target: Replace DEVICE(object_new) -> qdev_new()

2024-02-22 Thread Zhao Liu
r QDev objects, avoid the underlying QOM layer. > > Signed-off-by: Philippe Mathieu-Daudé > --- > target/mips/cpu.c | 2 +- > target/xtensa/cpu.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Zhao Liu > > diff --git a/target/mips/cpu.c b/tar

Re: [PATCH 10/21] hw/usb: Inline usb_new()

2024-02-22 Thread Zhao Liu
Signed-off-by: Philippe Mathieu-Daudé > --- > include/hw/usb.h| 1 - > hw/usb/bus.c| 9 ++--- > hw/usb/dev-serial.c | 2 +- > 3 files changed, 3 insertions(+), 9 deletions(-) Reviewed-by: Zhao Liu > > diff --git a/include/hw/usb.h b/include/hw/usb.h > index

Re: [PATCH 03/21] hw/ppc/spapr_cpu: Use qdev_is_realized() instead of QOM API

2024-02-22 Thread Zhao Liu
fer QDev API for QDev objects, avoid the underlying QOM layer. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/ppc/spapr_cpu_core.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Zhao Liu > > diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr

Re: [PATCH 21/21] hw: Add QOM parentship relation with CPUs

2024-02-22 Thread Zhao Liu
s3adsp1800_mmu.c | 1 + > hw/mips/cps.c| 1 + > hw/nios2/10m50_devboard.c| 1 + > hw/ppc/e500.c| 1 + > hw/ppc/spapr.c | 1 + > 7 files changed, 7 insertions(+) Reviewed-by: Zhao Liu &

[PATCH v2 03/29] block: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 11/29] block/vdi: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 07/29] block/qcow2-bitmap: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 08/29] block/qcow2: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 05/29] block/nbd: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 09/29] block/qed: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 10/29] block/snapshot: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 13/29] block/virtio-blk: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

[PATCH v2 04/29] block/copy-before-write: Fix missing ERRP_GUARD() for error_prepend()

2024-03-11 Thread Zhao Liu
From: Zhao Liu As the comment in qapi/error, passing @errp to error_prepend() requires ERRP_GUARD(): * = Why, when and how to use ERRP_GUARD() = * * Without ERRP_GUARD(), use of the @errp parameter is restricted: ... * - It should not be passed to error_prepend(), error_vprepend() or

Re: [PATCH 01/10] error: Drop superfluous #include "qapi/qmp/qerror.h"

2024-03-12 Thread Zhao Liu
ends/iommufd.c | 1 - > chardev/char-fe.c | 1 - > system/rtc.c | 1 - > 3 files changed, 3 deletions(-) > Reviewed-by: Zhao Liu

Re: [PATCH 02/10] qapi: Inline and remove QERR_BUS_NO_HOTPLUG definition

2024-03-12 Thread Zhao Liu
t; > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Cédric Le Goater > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/qerror.h | 3 --- > hw/ppc/spapr_pci.c| 5 ++--- > system/qdev-monitor.c | 8 +--- > 3 files changed, 7 insertions(+), 9 deletions(-) > Reviewed-by: Zhao Liu

Re: [PATCH 03/10] qapi: Inline and remove QERR_DEVICE_HAS_NO_MEDIUM definition

2024-03-12 Thread Zhao Liu
up. > > Signed-off-by: Philippe Mathieu-Daudé > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/qerror.h | 3 --- > block/snapshot.c | 7 --- > blockdev.c | 2 +- > 3 files changed, 5 insertions(+), 7 deletions(-) > Reviewed-by: Zhao Liu

Re: [PATCH 04/10] qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG definition

2024-03-12 Thread Zhao Liu
up. > > Signed-off-by: Philippe Mathieu-Daudé > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/qerror.h | 3 --- > hw/core/qdev.c| 4 ++-- > system/qdev-monitor.c | 2 +- > 3 files changed, 3 insertions(+), 6 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH 05/10] qapi: Inline and remove QERR_INVALID_PARAMETER definition

2024-03-12 Thread Zhao Liu
dé > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/qerror.h | 3 --- > qapi/opts-visitor.c | 2 +- > util/qemu-option.c| 10 +- > 3 files changed, 6 insertions(+), 9 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH 06/10] qapi: Inline QERR_INVALID_PARAMETER_TYPE definition (constant value)

2024-03-12 Thread Zhao Liu
y: Markus Armbruster > --- > qapi/qobject-input-visitor.c | 32 ++++---- > qapi/string-input-visitor.c | 8 > qom/object.c | 12 > 3 files changed, 28 insertions(+), 24 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH 07/10] qapi: Inline and remove QERR_INVALID_PARAMETER_TYPE definition

2024-03-12 Thread Zhao Liu
y). > > Signed-off-by: Philippe Mathieu-Daudé > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/qerror.h | 3 --- > qom/object.c | 4 ++-- > scripts/qapi/visit.py | 5 ++--- > 3 files changed, 4 insertions(+), 8 deletions(-) > Reviewed-by: Zhao Liu

Re: [PATCH 09/10] qapi: Inline and remove QERR_MIGRATION_ACTIVE definition

2024-03-12 Thread Zhao Liu
++-- > migration/savevm.c| 2 +- > 4 files changed, 4 insertions(+), 7 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH 10/10] qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definition

2024-03-12 Thread Zhao Liu
lude/qapi/qmp/qerror.h. > > Signed-off-by: Philippe Mathieu-Daudé > Signed-off-by: Markus Armbruster > --- > include/qapi/qmp/qerror.h | 3 --- > hw/core/qdev-properties.c | 3 +-- > 2 files changed, 1 insertion(+), 5 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH 08/10] qapi: Correct error message for 'vcpu_dirty_limit' parameter

2024-03-12 Thread Zhao Liu
ALID_PARAMETER_VALUE, > - "vcpu_dirty_limit", > - "is invalid, it must greater then 1 MB/s"); > +error_setg(errp, "Parameter 'vcpu_dirty_limit' is invalid," > + " it must greater than 1 MB/s"); > return false; > } > Otherwise, Reviewed-by: Zhao Liu

Re: [PATCH v2 05/11] rust/block: Add empty crate

2025-02-18 Thread Zhao Liu
> diff --git a/rust/block/Cargo.toml b/rust/block/Cargo.toml > new file mode 100644 > index 00..fbc2f2d6ef > --- /dev/null > +++ b/rust/block/Cargo.toml > @@ -0,0 +1,16 @@ > +[package] > +name = "block" > +version = "0.1.0" > +edition = "2021" > +authors = ["Kevin Wolf "] > +license = "GPL-

Re: [PATCH 1/2] rust: subprojects: add libc crate

2025-02-19 Thread Zhao Liu
to update subprojects/.gitignore. With this nit fixed, Reviewed-by: Zhao Liu

Re: [PATCH v2 04/11] rust/qemu-api: Add wrappers to run futures in QEMU

2025-02-19 Thread Zhao Liu
> +/// Use QEMU's event loops to run a Rust [`Future`] to completion and return > its result. > +/// > +/// This function must be called in coroutine context. If the future isn't > ready yet, it yields. > +pub fn qemu_co_run_future(future: F) -> F::Output { > +let waker = Waker::from(Arc::new

Re: [PATCH v2 10/11] bochs-rs: Add bochs block driver reimplementation in Rust

2025-02-19 Thread Zhao Liu
> +use crate::driver::{block_driver, BdrvChild, BlockDriver, Mapping, > MappingTarget, Request}; > +use crate::SizedIoBuffer; > +use qemu_api::bindings; it's better to list all items from bindings here, which helps in understanding which parts will need a wrapper added later. > +use qemu_api::er

Re: [PATCH v2 01/11] rust: Build separate qemu_api_tools and qemu_api_system

2025-02-19 Thread Zhao Liu
> diff --git a/rust/qemu-api/Cargo.toml b/rust/qemu-api/Cargo.toml > index 57747bc934..bc0393add4 100644 > --- a/rust/qemu-api/Cargo.toml > +++ b/rust/qemu-api/Cargo.toml > @@ -25,6 +25,7 @@ version_check = "~0.9" > default = ["debug_cell"] > allocator = [] > debug_cell = [] > +system= [] With

Re: [PATCH v2 08/11] rust/block: Add driver module

2025-02-19 Thread Zhao Liu
> +impl BdrvChild { > +/// Creates a new child reference from a `BlockdevRef`. > +pub unsafe fn new( > +parent: *mut bindings::BlockDriverState, > +bref: *mut bindings::BlockdevRef, > +errp: *mut *mut bindings::Error, > +) -> Option { > +unsafe { > +

Re: [PATCH v3 13/19] hw/block/fdc-isa: Remove 'fallback' property

2025-05-06 Thread Zhao Liu
lippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > hw/block/fdc-isa.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 07/19] hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_MIGRATE_EXTRA definition

2025-05-06 Thread Zhao Liu
> Reviewed-by: Daniel P. Berrangé > Reviewed-by: Thomas Huth > --- > include/hw/virtio/virtio-pci.h | 4 > hw/virtio/virtio-pci.c | 6 +- > 2 files changed, 1 insertion(+), 9 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 06/19] hw/net/e1000: Remove unused E1000_FLAG_MAC flag

2025-05-06 Thread Zhao Liu
ld > compatibility code"). > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > hw/net/e1000.c | 72 ++ > 1 file changed, 14 insertions(+), 58 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 09/19] hw/i386/pc: Remove deprecated pc-q35-2.5 and pc-i440fx-2.5 machines

2025-05-06 Thread Zhao Liu
ow unused empty pc_compat_2_5[] array. > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > include/hw/i386/pc.h | 3 --- > hw/i386/pc.c | 3 --- > hw/i386/pc_piix.c| 13 - > hw/i386/pc_q35.c | 13 - > 4 files changed, 32 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 08/19] hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_DISABLE_PCIE definition

2025-05-06 Thread Zhao Liu
CI_FLAG_* enum removal). > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > Reviewed-by: Thomas Huth > --- > include/hw/virtio/virtio-pci.h | 4 > hw/virtio/virtio-pci.c | 5 + > 2 files changed, 1 insertion(+), 8 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 10/19] hw/i386/x86: Remove X86MachineClass::save_tsc_khz field

2025-05-06 Thread Zhao Liu
nclude/hw/i386/x86.h | 5 - > hw/i386/x86.c | 1 - > target/i386/machine.c | 5 ++--- > 3 files changed, 2 insertions(+), 9 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 11/19] hw/nvram/fw_cfg: Remove legacy FW_CFG_ORDER_OVERRIDE

2025-05-06 Thread Zhao Liu
t; include/hw/nvram/fw_cfg.h | 10 > hw/core/loader.c | 14 - > hw/i386/pc.c | 7 +-- > hw/nvram/fw_cfg.c | 109 +++--- > system/vl.c | 5 -- > 7 files changed, 9 insertions(+), 141 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 12/19] hw/core/machine: Remove hw_compat_2_5[] array

2025-05-06 Thread Zhao Liu
rray was only used by the pc-q35-2.5 and > pc-i440fx-2.5 machines, which got removed. Remove it. > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > include/hw/boards.h | 3 --- > hw/core/machine.c | 9 - > 2 files changed, 12 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 02/19] hw/i386/pc: Remove PCMachineClass::broken_reserved_end field

2025-05-06 Thread Zhao Liu
; --- > include/hw/i386/pc.h | 1 - > hw/i386/pc.c | 13 + > 2 files changed, 5 insertions(+), 9 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 03/19] hw/i386/pc: Remove pc_compat_2_4[] array

2025-05-06 Thread Zhao Liu
s only used by the pc-q35-2.4 > and pc-i440fx-2.4 machines, which got removed. Remove it. > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > include/hw/i386/pc.h | 3 --- > hw/i386/pc.c | 19 --- > 2 files changed, 22 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 04/19] target/i386/cpu: Remove X86CPU::check_cpuid field

2025-05-06 Thread Zhao Liu
el P. Berrangé > --- > target/i386/cpu.h | 1 - > target/i386/cpu.c | 3 +-- > 2 files changed, 1 insertion(+), 3 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 05/19] hw/core/machine: Remove hw_compat_2_4[] array

2025-05-06 Thread Zhao Liu
rray was only used by the pc-q35-2.4 and > pc-i440fx-2.4 machines, which got removed. Remove it. > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > include/hw/boards.h | 3 --- > hw/core/machine.c | 9 - > 2 files changed, 12 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 01/19] hw/i386/pc: Remove deprecated pc-q35-2.4 and pc-i440fx-2.4 machines

2025-05-06 Thread Zhao Liu
s/qtest/test-x86-cpuid-compat.c | 14 -- > 3 files changed, 40 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 14/19] hw/scsi/vmw_pvscsi: Remove PVSCSI_COMPAT_OLD_PCI_CONFIGURATION definition

2025-05-06 Thread Zhao Liu
Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > Reviewed-by: Thomas Huth > --- > hw/scsi/vmw_pvscsi.c | 26 +++--- > 1 file changed, 7 insertions(+), 19 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 15/19] hw/scsi/vmw_pvscsi: Remove PVSCSI_COMPAT_DISABLE_PCIE_BIT definition

2025-05-06 Thread Zhao Liu
t_flags field. > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > Reviewed-by: Thomas Huth > --- > hw/scsi/vmw_pvscsi.c | 30 +- > 1 file changed, 1 insertion(+), 29 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 16/19] hw/scsi/vmw_pvscsi: Convert DeviceRealize -> InstanceInit

2025-05-06 Thread Zhao Liu
> Simplify replacing pvscsi_realize() by pvscsi_instance_init(), > removing the need for device_class_set_parent_realize(). > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > hw/scsi/vmw_pvscsi.c | 13 +++-- > 1 file changed, 3 insertions(+), 10 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 17/19] hw/net/vmxnet3: Remove VMXNET3_COMPAT_FLAG_OLD_MSI_OFFSETS definition

2025-05-06 Thread Zhao Liu
hilippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > hw/net/vmxnet3.c | 20 ++-- > 1 file changed, 6 insertions(+), 14 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 18/19] hw/net/vmxnet3: Remove VMXNET3_COMPAT_FLAG_DISABLE_PCIE definition

2025-05-06 Thread Zhao Liu
thieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > hw/net/vmxnet3.c | 11 +-- > 1 file changed, 1 insertion(+), 10 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v3 19/19] hw/net/vmxnet3: Merge DeviceRealize in InstanceInit

2025-05-06 Thread Zhao Liu
rging vmxnet3_realize() within vmxnet3_instance_init(), > removing the need for device_class_set_parent_realize(). > > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Daniel P. Berrangé > --- > hw/net/vmxnet3.c | 15 +-- > 1 file changed, 1 insertion(+), 14 deletions(-) Reviewed-by: Zhao Liu

Re: [PATCH v4 04/19] target/i386/cpu: Remove X86CPU::check_cpuid field

2025-05-27 Thread Zhao Liu
On Wed, May 28, 2025 at 10:09:56AM +0800, Xiaoyao Li wrote: > Date: Wed, 28 May 2025 10:09:56 +0800 > From: Xiaoyao Li > Subject: Re: [PATCH v4 04/19] target/i386/cpu: Remove X86CPU::check_cpuid > field > > On 5/12/2025 4:39 PM, Philippe Mathieu-Daudé wrote: > > The X86CPU::check_cpuid boolean w

Re: [PATCH-for-10.1 v6 02/14] qemu/target-info: Factor target_arch() out

2025-07-09 Thread Zhao Liu
et-info-qapi.h | 21 + > include/qemu/target-info.h | 2 +- > hw/core/machine-qmp-cmds.c | 8 +++- > target-info.c | 8 ++++++++ > 4 files changed, 33 insertions(+), 6 deletions(-) > create mode 100644 include/qemu/target-info-qapi.h Reviewed-by: Zhao Liu

Re: [PATCH-for-10.1 v6 10/14] hw/core/null-machine: Define machine as generic QOM type

2025-07-09 Thread Zhao Liu
ouvier > --- > hw/core/null-machine.c | 14 -- > 1 file changed, 12 insertions(+), 2 deletions(-) Reviewed-by: Zhao Liu