Hide the default lazy_refcounts=off output from qemu-img like we do with
other image creation options.  This ensures that existing golden outputs
continue to pass despite the new option that has been added.

Note that this patch applies before the one that actually introduces the
lazy_refcounts=on|off option.  This ensures git-bisect(1) continues to
work.

Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>
---
 tests/qemu-iotests/common.rc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index e535874..f496547 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -103,7 +103,8 @@ _make_test_img()
        sed -e "s# table_size=0##g" | \
        sed -e "s# compat='[^']*'##g" | \
        sed -e "s# compat6=off##g" | \
-       sed -e "s# static=off##g"
+       sed -e "s# static=off##g" | \
+       sed -e "s# lazy_refcounts=off##g"
 }
 
 _cleanup_test_img()
-- 
1.7.10


Reply via email to