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