QEMU update to version 6.2.0-108:
- vdpa:Fix dirty page bitmap synchronization not done after suspend for vdpa devices Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com> (cherry picked from commit f19bb019f0d8e3fa0c7d87ce1fcddaefd4ac3b5b)
This commit is contained in:
parent
01ac1c6fda
commit
7b0ab8bdd9
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 6.2.0
|
Version: 6.2.0
|
||||||
Release: 107
|
Release: 108
|
||||||
Epoch: 10
|
Epoch: 10
|
||||||
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
||||||
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
||||||
@ -1182,6 +1182,7 @@ Patch1167: linux-aio-fix-unbalanced-plugged-counter-in-laio_io_.patch
|
|||||||
Patch1168: qapi-qom-Define-cache-enumeration-and-properties-for.patch
|
Patch1168: qapi-qom-Define-cache-enumeration-and-properties-for.patch
|
||||||
Patch1169: hw-core-machine-smp-Initialize-caches_bitmap-before-.patch
|
Patch1169: hw-core-machine-smp-Initialize-caches_bitmap-before-.patch
|
||||||
Patch1170: qemu-Support-specifying-the-cache-size-presented-to-.patch
|
Patch1170: qemu-Support-specifying-the-cache-size-presented-to-.patch
|
||||||
|
Patch1171: vdpa-Fix-dirty-page-bitmap-synchronization-not-done-.patch
|
||||||
|
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -1780,6 +1781,9 @@ getent passwd qemu >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 14 2025 <fengjiabo1@huawei.com> - 10:6.2.0-108
|
||||||
|
- vdpa:Fix dirty page bitmap synchronization not done after suspend for vdpa devices
|
||||||
|
|
||||||
* Wed Mar 26 2025 <fengjiabo1@huawei.com> - 10:6.2.0-107
|
* Wed Mar 26 2025 <fengjiabo1@huawei.com> - 10:6.2.0-107
|
||||||
- qemu: Support specifying the cache size presented to guest
|
- qemu: Support specifying the cache size presented to guest
|
||||||
- hw/core/machine-smp: Initialize caches_bitmap before reading
|
- hw/core/machine-smp: Initialize caches_bitmap before reading
|
||||||
|
|||||||
39
vdpa-Fix-dirty-page-bitmap-synchronization-not-done-.patch
Normal file
39
vdpa-Fix-dirty-page-bitmap-synchronization-not-done-.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
From 7a8e59e39b342574852c18851f3926742f0adc0c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Adttil <2429917001@qq.com>
|
||||||
|
Date: Thu, 24 Apr 2025 09:47:45 +0800
|
||||||
|
Subject: [PATCH] vdpa:Fix dirty page bitmap synchronization not done after
|
||||||
|
suspend for vdpa devices
|
||||||
|
|
||||||
|
Change the flag for vdpa device to determine whether to perform log_sync
|
||||||
|
from dev->started to dev->log, and do not release dev->log after vdpa device
|
||||||
|
suspend, and release it uniformly by vhost_dev_stop.
|
||||||
|
|
||||||
|
Signed-off-by: Adttil <2429917001@qq.com>
|
||||||
|
---
|
||||||
|
hw/virtio/vhost.c | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
|
||||||
|
index ed1506d3e0..91b0019469 100644
|
||||||
|
--- a/hw/virtio/vhost.c
|
||||||
|
+++ b/hw/virtio/vhost.c
|
||||||
|
@@ -288,7 +288,7 @@ static void vhost_log_sync(MemoryListener *listener,
|
||||||
|
memory_listener);
|
||||||
|
MigrationState *ms = migrate_get_current();
|
||||||
|
|
||||||
|
- if (!dev->log_enabled || !dev->started) {
|
||||||
|
+ if (!dev->log_enabled || !dev->log) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -2327,7 +2327,6 @@ int vhost_dev_suspend(struct vhost_dev *hdev, VirtIODevice *vdev, bool vrings)
|
||||||
|
memory_listener_unregister(&hdev->iommu_listener);
|
||||||
|
}
|
||||||
|
vhost_stop_config_intr(hdev);
|
||||||
|
- vhost_log_put(hdev, true);
|
||||||
|
hdev->started = false;
|
||||||
|
vdev->vhost_started = false;
|
||||||
|
hdev->vdev = NULL;
|
||||||
|
--
|
||||||
|
2.41.0.windows.1
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user