53 lines
1.9 KiB
Diff
53 lines
1.9 KiB
Diff
From 03ad2d1426775c5c993f59512932c4bbf62206c1 Mon Sep 17 00:00:00 2001
|
|
From: Laurent Vivier <lvivier@redhat.com>
|
|
Date: Thu, 25 Feb 2021 23:14:25 -0500
|
|
Subject: [PATCH 28/54] failover: Remove external partially_hotplugged property
|
|
|
|
RH-Author: Laurent Vivier <lvivier@redhat.com>
|
|
Message-id: <20210225231447.2187738-6-lvivier@redhat.com>
|
|
Patchwork-id: 101251
|
|
O-Subject: [RHEL-AV-8.4.0 qemu-kvm PATCH v2 05/27] failover: Remove external partially_hotplugged property
|
|
Bugzilla: 1819991
|
|
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
|
|
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
|
From: Juan Quintela <quintela@redhat.com>
|
|
|
|
BZ: https://bugzilla.redhat.com/1819991
|
|
BRANCH: rhel-av-8.4.0
|
|
UPSTREAM: Merged
|
|
|
|
It was only set "once", and with the wrong value. As far as I can see,
|
|
libvirt still don't use it.
|
|
|
|
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
|
Message-Id: <20201118083748.1328-7-quintela@redhat.com>
|
|
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
|
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
(cherry picked from commit 594d308b9314b446ed2ccc42de7b4d57ba1b7118)
|
|
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
|
|
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
---
|
|
hw/net/virtio-net.c | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
|
|
index 3f658d6246..6ca85627d8 100644
|
|
--- a/hw/net/virtio-net.c
|
|
+++ b/hw/net/virtio-net.c
|
|
@@ -3135,10 +3135,6 @@ static bool failover_replug_primary(VirtIONet *n, Error **errp)
|
|
}
|
|
qdev_set_parent_bus(n->primary_dev, primary_bus, &error_abort);
|
|
qatomic_set(&n->primary_should_be_hidden, false);
|
|
- if (!qemu_opt_set_bool(n->primary_device_opts,
|
|
- "partially_hotplugged", true, errp)) {
|
|
- return false;
|
|
- }
|
|
hotplug_ctrl = qdev_get_hotplug_handler(n->primary_dev);
|
|
if (hotplug_ctrl) {
|
|
hotplug_handler_pre_plug(hotplug_ctrl, n->primary_dev, &err);
|
|
--
|
|
2.27.0
|
|
|