代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/qemu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 4a79b3c07dca4f1e21e4dbb1e59bf437b2a814fa Mon Sep 17 00:00:00 2001
From: fangyi <eric.fangyi@huawei.com>
Date: Tue, 29 Oct 2024 19:58:14 +0800
Subject: [PATCH 5/6] Revert "vdpa: block migration if SVQ does not admit a
feature"
Use a new scheme instead for kernel vdpa, So revert it.
This reverts commit 57ac831865e370012496fb581a38d261cb72c5d0.
---
hw/virtio/vhost-vdpa.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
index bb3320946d..69cf3b76e9 100644
--- a/hw/virtio/vhost-vdpa.c
+++ b/hw/virtio/vhost-vdpa.c
@@ -596,21 +596,6 @@ static int vhost_vdpa_init(struct vhost_dev *dev, void *opaque, Error **errp)
return 0;
}
- /*
- * If dev->shadow_vqs_enabled at initialization that means the device has
- * been started with x-svq=on, so don't block migration
- */
- if (dev->migration_blocker == NULL && !v->shadow_vqs_enabled) {
- /* We don't have dev->features yet */
- uint64_t features;
- ret = vhost_vdpa_get_dev_features(dev, &features);
- if (unlikely(ret)) {
- error_setg_errno(errp, -ret, "Could not get device features");
- return ret;
- }
- vhost_svq_valid_features(features, &dev->migration_blocker);
- }
-
/*
* Similar to VFIO, we end up pinning all guest memory and have to
* disable discarding of RAM.
--
2.43.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。