|
|
4a2fec |
From 40a03299cb7297e5b5c52b671f4c0b7af501673f Mon Sep 17 00:00:00 2001
|
|
|
4a2fec |
From: Fam Zheng <famz@redhat.com>
|
|
|
4a2fec |
Date: Mon, 22 Jan 2018 03:07:16 +0100
|
|
|
4a2fec |
Subject: [PATCH 19/21] qemu-img: info: Force -U [downstream]
|
|
|
4a2fec |
|
|
|
4a2fec |
RH-Author: Fam Zheng <famz@redhat.com>
|
|
|
4a2fec |
Message-id: <20180122030716.611-1-famz@redhat.com>
|
|
|
4a2fec |
Patchwork-id: 78688
|
|
|
4a2fec |
O-Subject: [RHV7.5 qemu-kvm-rhev PATCH] qemu-img: info: Force -U [downstream]
|
|
|
4a2fec |
Bugzilla: 1535992
|
|
|
4a2fec |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: John Snow <jsnow@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
Current version of RHV has to work with the coming RHEL 7.5, which means
|
|
|
4a2fec |
that customers will encounter error without this patch: RHV invokes
|
|
|
4a2fec |
"qemu-img info" while VM is running, and only until the next release it
|
|
|
4a2fec |
knows to use "-U". For the existing RHV, we need to ship one version of
|
|
|
4a2fec |
qemu-img that doesn't enforce this option yet.
|
|
|
4a2fec |
|
|
|
4a2fec |
Upstream already has releases (2.10 and 2.11) that has the new behavior,
|
|
|
4a2fec |
so this "moving a step back" patch has no place there.
|
|
|
4a2fec |
|
|
|
4a2fec |
I created BZ 1536912 so that we remember to revert this in RHEL
|
|
|
4a2fec |
7.6.1536912 so that we remember to revert this in 7.6 time.
|
|
|
4a2fec |
|
|
|
4a2fec |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
4a2fec |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
---
|
|
|
4a2fec |
qemu-img.c | 2 +-
|
|
|
4a2fec |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
4a2fec |
|
|
|
4a2fec |
diff --git a/qemu-img.c b/qemu-img.c
|
|
|
4a2fec |
index 56ef49e..dccfc10 100644
|
|
|
4a2fec |
--- a/qemu-img.c
|
|
|
4a2fec |
+++ b/qemu-img.c
|
|
|
4a2fec |
@@ -2532,7 +2532,7 @@ static int img_info(int argc, char **argv)
|
|
|
4a2fec |
const char *filename, *fmt, *output;
|
|
|
4a2fec |
ImageInfoList *list;
|
|
|
4a2fec |
bool image_opts = false;
|
|
|
4a2fec |
- bool force_share = false;
|
|
|
4a2fec |
+ bool force_share = true;
|
|
|
4a2fec |
|
|
|
4a2fec |
fmt = NULL;
|
|
|
4a2fec |
output = NULL;
|
|
|
4a2fec |
--
|
|
|
4a2fec |
1.8.3.1
|
|
|
4a2fec |
|