diff options
author | Philippe Mathieu-Daudé | 2019-01-29 18:53:46 +0100 |
---|---|---|
committer | Alex Bennée | 2019-02-11 13:47:08 +0100 |
commit | 920fff9093db26f3e74858e3d4182b74a6da7496 (patch) | |
tree | f7379c2a6d51dcf485ac2c502dd46b01eadf057e /tests/vm/netbsd | |
parent | docs/devel/testing: Add -a option to usermod command on docker setup (diff) | |
download | qemu-920fff9093db26f3e74858e3d4182b74a6da7496.tar.gz qemu-920fff9093db26f3e74858e3d4182b74a6da7496.tar.xz qemu-920fff9093db26f3e74858e3d4182b74a6da7496.zip |
tests/vm: Be verbose while extracting compressed images
Depending of the host hardware, copying and extracting VM images can
take up to few minutes. Add verbosity to avoid the user to worry about
VMs hanging.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190129175403.18017-2-philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/vm/netbsd')
-rwxr-xr-x | tests/vm/netbsd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vm/netbsd b/tests/vm/netbsd index a2c3d13af4..4c6624ea5e 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -33,8 +33,9 @@ class NetBSDVM(basevm.BaseVM): sha256sum='b633d565b0eac3d02015cd0c81440bd8a7a8df8512615ac1ee05d318be015732') img_tmp_xz = img + ".tmp.xz" img_tmp = img + ".tmp" + sys.stderr.write("Extracting the image...\n") subprocess.check_call(["cp", "-f", cimg, img_tmp_xz]) - subprocess.check_call(["xz", "-df", img_tmp_xz]) + subprocess.check_call(["xz", "-dvf", img_tmp_xz]) if os.path.exists(img): os.remove(img) os.rename(img_tmp, img) |