libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
From 7d27eb2ca9d5a3a9add7bf2bc2850aa72b97a806 Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <7d27eb2ca9d5a3a9add7bf2bc2850aa72b97a806@dist-git>
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
From: Peter Krempa <pkrempa@redhat.com>
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
Date: Wed, 28 Jul 2021 17:37:21 +0200
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
Subject: [PATCH] RHEL: Enable usage of x-blockdev-reopen
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
RHEL-only
|
|
|
|
|
|
|
|
Introduce a new capability QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API
|
|
|
|
based on the presence of '__com.redhat_rhel-av-8_2_0-api' feature for
|
|
|
|
'x-blockdev-reopen' which states that reopen works for what libvirt
|
|
|
|
is going to use it and wire up code to call the x- prefixed command.
|
|
|
|
|
|
|
|
This implementation will become dormant once qemu starts supporting
|
|
|
|
upstream-stable blockdev-reopen.
|
|
|
|
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1799013
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
Starting with libvirt-7.6, upstream has adapted to the new format of
|
|
|
|
arguments so this patch was modified to support blockdev-reopen which
|
|
|
|
takes an array of nodes to reopen.
|
|
|
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1929765
|
|
|
|
Message-Id: <3fcde2fc6add36d5276ae224caf18adc8bca7d48.1627486352.git.pkrempa@redhat.com>
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
|
---
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
src/qemu/qemu_block.c | 24 +++++++++++++++---------
|
|
|
|
src/qemu/qemu_block.h | 3 ++-
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
src/qemu/qemu_capabilities.c | 11 +++++++++++
|
|
|
|
src/qemu/qemu_capabilities.h | 1 +
|
|
|
|
src/qemu/qemu_monitor.c | 5 +++--
|
|
|
|
src/qemu/qemu_monitor.h | 3 ++-
|
|
|
|
src/qemu/qemu_monitor_json.c | 12 +++++++++---
|
|
|
|
src/qemu/qemu_monitor_json.h | 3 ++-
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
tests/qemumonitorjsontest.c | 2 +-
|
|
|
|
9 files changed, 46 insertions(+), 18 deletions(-)
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
|
|
|
|
diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index 0bc92f6a23..3af064614e 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_block.c
|
|
|
|
+++ b/src/qemu/qemu_block.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -3287,7 +3287,8 @@ qemuBlockBitmapsHandleCommitFinish(virStorageSource *topsrc,
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
qemuBlockReopenFormatMon(qemuMonitor *mon,
|
|
|
|
- virStorageSource *src)
|
|
|
|
+ virStorageSource *src,
|
|
|
|
+ bool downstream)
|
|
|
|
{
|
|
|
|
g_autoptr(virJSONValue) reopenprops = NULL;
|
|
|
|
g_autoptr(virJSONValue) srcprops = NULL;
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -3296,15 +3297,19 @@ qemuBlockReopenFormatMon(qemuMonitor *mon,
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
if (!(srcprops = qemuBlockStorageSourceGetBlockdevProps(src, src->backingStore)))
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
- if (virJSONValueArrayAppend(reopenoptions, &srcprops) < 0)
|
|
|
|
- return -1;
|
|
|
|
+ if (downstream) {
|
|
|
|
+ reopenprops = g_steal_pointer(&srcprops);
|
|
|
|
+ } else {
|
|
|
|
+ if (virJSONValueArrayAppend(reopenoptions, &srcprops) < 0)
|
|
|
|
+ return -1;
|
|
|
|
|
|
|
|
- if (virJSONValueObjectCreate(&reopenprops,
|
|
|
|
- "a:options", &reopenoptions,
|
|
|
|
- NULL) < 0)
|
|
|
|
- return -1;
|
|
|
|
+ if (virJSONValueObjectCreate(&reopenprops,
|
|
|
|
+ "a:options", &reopenoptions,
|
|
|
|
+ NULL) < 0)
|
|
|
|
+ return -1;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- if (qemuMonitorBlockdevReopen(mon, &reopenprops) < 0)
|
|
|
|
+ if (qemuMonitorBlockdevReopen(mon, &reopenprops, downstream) < 0)
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
return 0;
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -3328,6 +3333,7 @@ qemuBlockReopenFormat(virDomainObj *vm,
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
{
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
qemuDomainObjPrivate *priv = vm->privateData;
|
|
|
|
virQEMUDriver *driver = priv->driver;
|
|
|
|
+ bool downstream = virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API);
|
|
|
|
int rc;
|
|
|
|
|
|
|
|
/* If we are lacking the object here, qemu might have opened an image with
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -3341,7 +3347,7 @@ qemuBlockReopenFormat(virDomainObj *vm,
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
if (qemuDomainObjEnterMonitorAsync(driver, vm, asyncJob) < 0)
|
|
|
|
return -1;
|
|
|
|
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
- rc = qemuBlockReopenFormatMon(priv->mon, src);
|
|
|
|
+ rc = qemuBlockReopenFormatMon(priv->mon, src, downstream);
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
|
|
|
|
if (qemuDomainObjExitMonitor(driver, vm) < 0 || rc < 0)
|
|
|
|
return -1;
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
diff --git a/src/qemu/qemu_block.h b/src/qemu/qemu_block.h
|
|
|
|
index 54601a48a9..88fc9974c4 100644
|
|
|
|
--- a/src/qemu/qemu_block.h
|
|
|
|
+++ b/src/qemu/qemu_block.h
|
|
|
|
@@ -268,7 +268,8 @@ qemuBlockBitmapsHandleCommitFinish(virStorageSource *topsrc,
|
|
|
|
/* only for use in qemumonitorjsontest */
|
|
|
|
int
|
|
|
|
qemuBlockReopenFormatMon(qemuMonitor *mon,
|
|
|
|
- virStorageSource *src);
|
|
|
|
+ virStorageSource *src,
|
|
|
|
+ bool downstream);
|
|
|
|
|
|
|
|
int
|
|
|
|
qemuBlockReopenReadWrite(virDomainObj *vm,
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index 70c3ec2f0c..99e9eb485e 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_capabilities.c
|
|
|
|
+++ b/src/qemu/qemu_capabilities.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -638,6 +638,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
|
|
|
"query-display-options", /* QEMU_CAPS_QUERY_DISPLAY_OPTIONS */
|
|
|
|
"s390-pv-guest", /* QEMU_CAPS_S390_PV_GUEST */
|
|
|
|
"set-action", /* QEMU_CAPS_SET_ACTION */
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
+ "blockdev-reopen.__com.redhat_rhel-av-8_2_0-api",
|
|
|
|
);
|
|
|
|
|
|
|
|
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
@@ -1551,6 +1552,7 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVhostUserFS[] =
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
/* see documentation for virQEMUQAPISchemaPathGet for the query format */
|
|
|
|
static struct virQEMUCapsStringFlags virQEMUCapsQMPSchemaQueries[] = {
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
{ "block-commit/arg-type/*top", QEMU_CAPS_ACTIVE_COMMIT },
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
+ { "x-blockdev-reopen/$__com.redhat_rhel-av-8_2_0-api", QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API },
|
|
|
|
{ "blockdev-add/arg-type/options/+gluster/debug-level", QEMU_CAPS_GLUSTER_DEBUG_LEVEL},
|
|
|
|
{ "blockdev-add/arg-type/+gluster/debug", QEMU_CAPS_GLUSTER_DEBUG_LEVEL},
|
|
|
|
{ "blockdev-add/arg-type/+vxhs", QEMU_CAPS_VXHS},
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -5155,6 +5157,15 @@ virQEMUCapsInitProcessCaps(virQEMUCaps *qemuCaps)
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
qemuCaps->arch == VIR_ARCH_MIPS)
|
|
|
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_SCSI_NCR53C90);
|
|
|
|
|
|
|
|
+ /* RHEL-only:
|
|
|
|
+ * - if upstream blockdev-reopen is enabled, clear the downstream flag
|
|
|
|
+ * - if the downstream flag is present but not the upstream, assert the upstream flag too
|
|
|
|
+ */
|
|
|
|
+ if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_BLOCKDEV_REOPEN))
|
|
|
|
+ virQEMUCapsClear(qemuCaps, QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API);
|
|
|
|
+ if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API))
|
|
|
|
+ virQEMUCapsSet(qemuCaps, QEMU_CAPS_BLOCKDEV_REOPEN);
|
|
|
|
+
|
|
|
|
virQEMUCapsInitProcessCapsInterlock(qemuCaps);
|
|
|
|
}
|
|
|
|
|
|
|
|
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index bc762d1916..658176c12b 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_capabilities.h
|
|
|
|
+++ b/src/qemu/qemu_capabilities.h
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -618,6 +618,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
libvirt-7.5.0-1.el9
- Rebased to libvirt-7.5.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1949388, rhbz#1969354, rhbz#1970277, rhbz#1972145, rhbz#1973094
rhbz#1975071, rhbz#1972468, rhbz#1975677
Resolves: rhbz#1949388, rhbz#1950948, rhbz#1969354, rhbz#1970277, rhbz#1972145
Resolves: rhbz#1972468, rhbz#1973094, rhbz#1975071, rhbz#1975677
2021-07-14 17:44:02 +00:00
|
|
|
QEMU_CAPS_QUERY_DISPLAY_OPTIONS, /* 'query-display-options' qmp command present */
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
QEMU_CAPS_S390_PV_GUEST, /* -object s390-pv-guest,... */
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
QEMU_CAPS_SET_ACTION, /* 'set-action' QMP command */
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
+ QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API, /* downstream support for blockdev reopen in rhel-av-8.2.0 */
|
|
|
|
|
|
|
|
QEMU_CAPS_LAST /* this must always be the last item */
|
|
|
|
} virQEMUCapsFlags;
|
|
|
|
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index 42846349c4..065ed59336 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_monitor.c
|
|
|
|
+++ b/src/qemu/qemu_monitor.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -4331,14 +4331,15 @@ qemuMonitorBlockdevAdd(qemuMonitor *mon,
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
qemuMonitorBlockdevReopen(qemuMonitor *mon,
|
|
|
|
- virJSONValue **props)
|
|
|
|
+ virJSONValue **props,
|
|
|
|
+ bool downstream)
|
|
|
|
{
|
|
|
|
VIR_DEBUG("props=%p (node-name=%s)", *props,
|
|
|
|
NULLSTR(virJSONValueObjectGetString(*props, "node-name")));
|
|
|
|
|
|
|
|
QEMU_CHECK_MONITOR(mon);
|
|
|
|
|
|
|
|
- return qemuMonitorJSONBlockdevReopen(mon, props);
|
|
|
|
+ return qemuMonitorJSONBlockdevReopen(mon, props, downstream);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/qemu/qemu_monitor.h b/src/qemu/qemu_monitor.h
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index 2f08357c0c..d1eb8f1b26 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_monitor.h
|
|
|
|
+++ b/src/qemu/qemu_monitor.h
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -1405,7 +1405,8 @@ int qemuMonitorBlockdevAdd(qemuMonitor *mon,
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
virJSONValue **props);
|
|
|
|
|
|
|
|
int qemuMonitorBlockdevReopen(qemuMonitor *mon,
|
|
|
|
- virJSONValue **props);
|
|
|
|
+ virJSONValue **props,
|
|
|
|
+ bool downstream);
|
|
|
|
|
|
|
|
int qemuMonitorBlockdevDel(qemuMonitor *mon,
|
|
|
|
const char *nodename);
|
|
|
|
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index 8d3c4031a6..88bc1485e3 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_monitor_json.c
|
|
|
|
+++ b/src/qemu/qemu_monitor_json.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -8626,13 +8626,19 @@ qemuMonitorJSONBlockdevAdd(qemuMonitor *mon,
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
qemuMonitorJSONBlockdevReopen(qemuMonitor *mon,
|
|
|
|
- virJSONValue **props)
|
|
|
|
+ virJSONValue **props,
|
|
|
|
+ bool downstream)
|
|
|
|
{
|
|
|
|
g_autoptr(virJSONValue) cmd = NULL;
|
|
|
|
g_autoptr(virJSONValue) reply = NULL;
|
|
|
|
|
|
|
|
- if (!(cmd = qemuMonitorJSONMakeCommandInternal("blockdev-reopen", props)))
|
|
|
|
- return -1;
|
|
|
|
+ if (downstream) {
|
|
|
|
+ if (!(cmd = qemuMonitorJSONMakeCommandInternal("x-blockdev-reopen", props)))
|
|
|
|
+ return -1;
|
|
|
|
+ } else {
|
|
|
|
+ if (!(cmd = qemuMonitorJSONMakeCommandInternal("blockdev-reopen", props)))
|
|
|
|
+ return -1;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (qemuMonitorJSONCommand(mon, cmd, &reply) < 0)
|
|
|
|
return -1;
|
|
|
|
diff --git a/src/qemu/qemu_monitor_json.h b/src/qemu/qemu_monitor_json.h
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index c8cf734a1c..1c93645fda 100644
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--- a/src/qemu/qemu_monitor_json.h
|
|
|
|
+++ b/src/qemu/qemu_monitor_json.h
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -598,7 +598,8 @@ int qemuMonitorJSONBlockdevAdd(qemuMonitor *mon,
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
|
|
|
|
|
|
|
int qemuMonitorJSONBlockdevReopen(qemuMonitor *mon,
|
|
|
|
- virJSONValue **props)
|
|
|
|
+ virJSONValue **props,
|
|
|
|
+ bool downstream)
|
|
|
|
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
|
|
|
|
|
|
|
int qemuMonitorJSONBlockdevDel(qemuMonitor *mon,
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
index 9ec5f06981..38388efe0d 100644
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
--- a/tests/qemumonitorjsontest.c
|
|
|
|
+++ b/tests/qemumonitorjsontest.c
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
@@ -2824,7 +2824,7 @@ testQemuMonitorJSONBlockdevReopen(const void *opaque)
|
libvirt-7.6.0-1.el9
- Rebased to libvirt-7.6.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1986509, rhbz#1984318, rhbz#1810661, rhbz#1977776, rhbz#1948433
rhbz#1978526, rhbz#1976690
Resolves: rhbz#1810661, rhbz#1948433, rhbz#1950948, rhbz#1976690, rhbz#1977776
Resolves: rhbz#1978526, rhbz#1984318, rhbz#1986509
2021-08-04 09:18:34 +00:00
|
|
|
if (qemuMonitorTestAddItem(test, "blockdev-reopen", "{\"return\":{}}") < 0)
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
- if (qemuBlockReopenFormatMon(qemuMonitorTestGetMonitor(test), src) < 0)
|
|
|
|
+ if (qemuBlockReopenFormatMon(qemuMonitorTestGetMonitor(test), src, false) < 0)
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
return 0;
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
--
|
libvirt-7.7.0-1.el9
- Rebased to libvirt-7.7.0 (rhbz#2001507)
- The rebase also fixes the following bugs:
rhbz#2001326, rhbz#2001391, rhbz#2001322, rhbz#2001389, rhbz#1967187
rhbz#2001327, rhbz#1977155, rhbz#2001997, rhbz#2001323
- RHEL: spec: Do not enable modular daemons yet (rhbz#2001507)
Resolves: rhbz#1967187, rhbz#1977155, rhbz#2001322, rhbz#2001323, rhbz#2001326
Resolves: rhbz#2001327, rhbz#2001389, rhbz#2001391, rhbz#2001507, rhbz#2001997
2021-09-10 08:06:18 +00:00
|
|
|
2.33.0
|
libvirt-7.3.0-1.el9
- Rebased to libvirt-7.3.0 (rhbz#1950948)
- The rebase also fixes the following bugs:
rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
rhbz#1962053
- RHEL: Enable usage of x-blockdev-reopen (rhbz#1953939)
- RHEL: Add gating.yaml for RHEL9 (rhbz#1950601)
Resolves: rhbz#1898526, rhbz#1910617, rhbz#1910618, rhbz#1943392, rhbz#1946918
Resolves: rhbz#1947718, rhbz#1947720, rhbz#1947824, rhbz#1949342, rhbz#1950228
Resolves: rhbz#1950301, rhbz#1950601, rhbz#1950948, rhbz#1953939, rhbz#1958302
Resolves: rhbz#1962053
2021-05-24 16:44:48 +00:00
|
|
|
|