Re: qemu process consumes 100% host CPU after reverting snapshot

2024-03-28 Thread Chun Feng Wu
iotune or throttle group, after reverting snapshot, if I login vm, and run fio, I/O performance drops a lot in both QEMU6 and QEMU8, do anyone know the reason? Any explanation would be appreciated! On 2024/3/28 07:32, Chun Feng Wu wrote: Hi, I am testing throttle filter chain(multipl

qemu process consumes 100% host CPU after reverting snapshot

2024-03-27 Thread Chun Feng Wu
Hi, I am testing throttle filter chain(multiple throttle-groups on disk) with the following steps: 1. start guest vm(chained throttle filters applied on disk per https://github.com/qemu/qemu/blob/master/docs/throttle.txt) 2. take snapshot 3. revert snapshot after step3, I noticed qemu process

RE: Does "-object" support structured options now?

2024-03-06 Thread Chun Feng Wu
Yes, you’re right, QEMU >=6.0.0 works well, I failed test because I did it on QEMU 4.2.1 From: Daniel P. Berrangé Date: Wednesday, March 6, 2024 at 22:43 To: Chun Feng Wu , qemu-devel@nongnu.org Subject: [EXTERNAL] Re: Does "-object" support structured options now? On Wed, Mar 0

RE: Does "-object" support structured options now?

2024-03-06 Thread Chun Feng Wu
m-x86_64: -object {"qom-type":"throttle-group","id":"limits0","limits":{"iops-total":200}}: Parameter 'id' is missing Do you know why such error happens? -- Thanks and Regards, Wu From: Daniel P. Berrangé Date: Monday, March

Does "-object" support structured options now?

2024-03-03 Thread Chun Feng Wu
Hi, I noticed that throttle-group can be created with “-object”, however, per qemu doc(https://github.com/qemu/qemu/blob/master/docs/throttle.txt), “-object” doesn’t support structured options at that moment: “ A throttle-group can also be created with the -object command line option but at the

Does "'throttle' block filter" work?

2023-10-25 Thread Chun Feng Wu
Hi, I am trying to use “'throttle' block filter” mentioned at https://github.com/qemu/qemu/blob/master/docs/throttle.txt, however, it seems not work with the following steps, did I miss or mis-understand anything? 1. In RHEL 8.8, I created one vm qemu-kvm -m 2048 -drive file=/virt/images/focal

[Qemu-devel] [PATCH] intel-iommu: Check IOAPIC's Trigger Mode against the one in IRTE

2016-09-20 Thread Feng Wu
The Trigger Mode field of IOAPIC must match the Trigger Mode in the IRTE according to VT-d Spec 5.1.5.1. Signed-off-by: Feng Wu --- hw/i386/intel_iommu.c | 12 1 file changed, 12 insertions(+) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 28c31a2..f32ad5c 100644

[Qemu-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size

2015-08-04 Thread Feng Wu
io_regions[x] when handling XEN_PT_BAR_FLAG_UPPER. Signed-off-by: Feng Wu --- I cannot test this patch sicne I don't have such a device, if someone have it, it would be highly appreicated if he can help to verfiy this patch. hw/xen/xen_pt_config_init.c | 22 +++--- 1 files chang

[Qemu-devel] [v3 1/2] kvm, vfio: Define new VFIO data structure for VT-d Posted-Interrupts.

2014-12-12 Thread Feng Wu
Define new VFIO data structure for VT-d Posted-Interrupts. Signed-off-by: Feng Wu --- linux-headers/linux/kvm.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 1937afa..6463b28 100644 --- a/linux-headers/linux/kvm.h

[Qemu-devel] [v3 2/2] kvm, vfio: Update VT-d Posted-Interrupts related information

2014-12-12 Thread Feng Wu
update the IRTE with the new guest interrupt configuration. Signed-off-by: Feng Wu --- hw/misc/vfio.c | 60 ++- 1 files changed, 58 insertions(+), 2 deletions(-) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index fd318a1..5bdc49c 100644 --- a

[Qemu-devel] [v3 1/2] kvm, vfio: Define new VFIO data structure for VT-d Posted-Interrupts.

2014-12-12 Thread Feng Wu
Define new VFIO data structure for VT-d Posted-Interrupts. Signed-off-by: Feng Wu --- linux-headers/linux/kvm.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 1937afa..48edf23 100644 --- a/linux

[Qemu-devel] [v3 0/2] Add VT-d Posted-Interrupts support

2014-12-12 Thread Feng Wu
1->v2: * Enable this feature based on VFIO mechanism v2->v3: * KVM_DEV_VFIO_DEVICE_POSTING_IRQ --> KVM_DEV_VFIO_DEVICE_POST_IRQ * Add KVM_DEV_VFIO_DEVICE_UPPOST_IRQ attribute in linux header file Feng Wu (2): kvm, vfio: Define new VFIO data structure for VT-d Posted-Interrupts. kvm,

[Qemu-devel] [v3 2/2] kvm, vfio: Update VT-d Posted-Interrupts related information

2014-12-12 Thread Feng Wu
update the IRTE with the new guest interrupt configuration. Signed-off-by: Feng Wu --- hw/misc/vfio.c | 60 -- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index fd318a1..5bdc49c 100644 --- a

[Qemu-devel] [v3 0/2] Add VT-d Posted-Interrupts support

2014-12-12 Thread Feng Wu
gt;v2: Enable this feature based on VFIO mechanism v2->v3: KVM_DEV_VFIO_DEVICE_POSTING_IRQ --> KVM_DEV_VFIO_DEVICE_POST_IRQ Feng Wu (2): kvm, vfio: Define new VFIO data structure for VT-d Posted-Interrupts. kvm, vfio: Update VT-d Posted-Interrupts related information hw/misc/

[Qemu-devel] [v2 0/2] Add VT-d Posted-Interrupts support

2014-12-02 Thread Feng Wu
gt;v2: Enable this feature based on VFIO mechanism Feng Wu (2): kvm, vfio: Define new VFIO data structure for VT-d Posted-Interrupts. kvm, vfio: Update VT-d Posted-Interrupts related information hw/misc/vfio.c| 60 +++- linux-headers/

[Qemu-devel] [v2 2/2] kvm, vfio: Update VT-d Posted-Interrupts related information

2014-12-02 Thread Feng Wu
update the IRTE with the new guest interrupt configuration. Signed-off-by: Feng Wu --- hw/misc/vfio.c | 60 ++- 1 files changed, 58 insertions(+), 2 deletions(-) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index fd318a1..3e88358 100644 --- a

[Qemu-devel] [v2 1/2] kvm, vfio: Define new VFIO data structure for VT-d Posted-Interrupts.

2014-12-02 Thread Feng Wu
Define new VFIO data structure for VT-d Posted-Interrupts. Signed-off-by: Feng Wu --- linux-headers/linux/kvm.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 1937afa..2253d01 100644 --- a/linux

[Qemu-devel] [RFC PATCH v1 0/2] VFIO: add VT-d Posted-Interrupts support

2014-11-25 Thread Feng Wu
associated IRTE according to VT-d PI Spec. Feng Wu (2): linux-headers: Update KVM headers x86: Update VT-d Posted-Interrupts related information hw/misc/vfio.c| 60 +++- linux-headers/linux/kvm.h | 10 +++ 2 files changed, 68 insertions

[Qemu-devel] [RFC PATCH v1 1/2] linux-headers: Update KVM headers

2014-11-25 Thread Feng Wu
Sync-up KVM related Linux headers from KVM tree using scripts/update-linux-header.sh New VFIO attribute and data structure for VT-d Posted-Interrupts. Signed-off-by: Feng Wu --- linux-headers/linux/kvm.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/linux

[Qemu-devel] [RFC PATCH v1 2/2] x86: Update VT-d Posted-Interrupts related information

2014-11-25 Thread Feng Wu
update the IRTE with the new guest interrupt configuration. Signed-off-by: Feng Wu --- hw/misc/vfio.c | 60 ++- 1 files changed, 58 insertions(+), 2 deletions(-) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index fd318a1..d453db4 100644 --- a

[Qemu-devel] [PATCH] Add VT-d Posted-Interrupts support in QEMU

2014-11-09 Thread Feng Wu
KVM side. You can find the VT-d Posted-Interrtups Spec. in the following URL: http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html Feng Wu (1): x86: Update VT-d Posted-Interrupts related information hw/i386/kvm/pci-assign.c | 24

[Qemu-devel] [PATCH] x86: Update VT-d Posted-Interrupts related information

2014-11-09 Thread Feng Wu
update the IRTE with the new guest interrtup configuration. Signed-off-by: Feng Wu --- hw/i386/kvm/pci-assign.c | 24 linux-headers/linux/kvm.h |2 ++ target-i386/kvm.c |5 + target-i386/kvm_i386.h|1 + 4 files changed, 32 insertions(+), 0