|
From: | Eric Blake |
Subject: | Re: [Qemu-block] interactive qemu-img |
Date: | Mon, 30 Jul 2018 10:09:57 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 07/28/2018 08:22 PM, Programmingkid wrote:
I thought of a way to make qemu-img much more user-friendly. When the user opens qemu-img without any arguments, we could present a prompt that guides the user on making an image file. This illustrates what I think should happen. <after user double-clicks on qemu-img...> Please select a format (qcow, qcow2, raw, vdi, vhdx, vmdk, vpc, vvfat): qcow2 Please enter a size (e.g. 100M, 10G): 4G Please enter a name: WinXP.qcow2 Creating image file...done The interactive prompt would contain enough options to make a usable image file. If the user wants to use some of the more advanced features of qemu-img he or she would still need to use the command-line. Would such a patch be welcomed?
qemu-img is a command line tool, not a gui. Bloating it with a gui dialog box is probably not a wise idea.
Personally, I'm just fine with the current command line behavior: $ qemu-img qemu-img: Not enough arguments Try 'qemu-img --help' for more informationas 'qemu-img --help' tells you how to properly use the command, without having to hand-hold you through the process.
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |