virt-manager/ui
Cole Robinson 2f7931da63 createvol: Drop Allocation field in favor of checkbox
Inspired by some discussion from here:
https://bugzilla.redhat.com/show_bug.cgi?id=1759454

Most libvirt storage volume creation doesn't actually do anything
with allocation, besides interpreting cap == alloc and cap != alloc.
The exceptions are zfs volumes, and raw file volumes. But it's unclear
what the usecase is for the latter at all.

This drops the allocation spinner and adds checkbox in its place
'Allocate entire volume now'. When enabled, it sets cap == alloc.

We only show this for file volumes. For qcow2 it defaults to unselected
(sparse), for all others it defaults to selected. If it's not showing,
it defaults to selected.

Bundled with this change is showing this field for qcow2, where
we previously only allowed nonsparse here. Libvirt and qemu-img
support non-sparse qcow2 these days.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-09-20 17:08:39 -04:00
..
about.ui about: use the standard license type 2020-07-20 12:56:41 -04:00
addhardware.ui ui: Mark some uitests strings as non-translatable 2020-09-13 19:12:24 -04:00
addstorage.ui addstorage: Revive disk serial UI 2020-09-08 17:32:00 -04:00
asyncjob.ui uitests: Finish asyncjob.py coverage 2020-08-26 16:24:39 -04:00
clone.ui clone: Rework the UI 2020-09-05 15:49:55 -04:00
connectauth.ui Bump gtk dep to 3.22 for new popup routines 2019-04-07 13:54:00 -04:00
console.ui console: Add option to disable autoconnect 2020-09-09 19:59:31 -04:00
createconn.ui virtManager: rename connect.py -> createconn.py 2019-06-17 00:12:32 -04:00
createnet.ui createnet: Add full uitest coverage 2020-08-26 15:20:05 -04:00
createpool.ui createpool: Remove 'build' checkbox 2020-08-26 15:20:05 -04:00
createvm.ui uitests: finish createvm.py coverage 2020-08-30 14:23:24 -04:00
createvol.ui createvol: Drop Allocation field in favor of checkbox 2020-09-20 17:08:39 -04:00
delete.ui uitests: finish delete.py coverage 2020-08-30 15:59:39 -04:00
details.ui details: Revive maxmem and memory hotplug 2020-09-13 17:59:51 -04:00
fsdetails.ui Bump gtk dep to 3.22 for new popup routines 2019-04-07 13:54:00 -04:00
gfxdetails.ui gfxdetails: Update UI a bit 2020-09-01 20:10:34 -04:00
host.ui i18n: improve title of connection dialog 2020-09-17 15:38:42 -04:00
hostnets.ui uitests: Add host*.py coverage 2020-08-26 15:20:05 -04:00
hoststorage.ui uitests: Add host*.py coverage 2020-08-26 15:20:05 -04:00
manager.ui ui: manager: Don't allow de-selecting rows 2020-01-29 18:34:38 -05:00
migrate.ui migrate: Add XML editor support 2020-09-05 17:50:48 -04:00
netlist.ui uitests: Add combo selection helpers and use them 2020-08-26 15:20:06 -04:00
oslist.ui i18n: use "Generic OS" as label for generic 2020-07-13 15:37:00 -04:00
preferences.ui preferences: Unconditionally add VM sound devices 2020-09-19 17:10:19 -04:00
snapshots.ui uitests: Finish snapshot.py coverage 2020-08-26 15:20:05 -04:00
snapshotsnew.ui virtManager: Convert to CSS for most color usage 2020-02-03 07:05:11 -05:00
storagebrowse.ui storagebrowse: Fix set_browse_reason 2020-08-26 15:20:05 -04:00
vmwindow.ui console: Add option to disable autoconnect 2020-09-09 19:59:31 -04:00
vsockdetails.ui Bump gtk dep to 3.22 for new popup routines 2019-04-07 13:54:00 -04:00
xmleditor.ui preferences: Disable XML editing by default 2019-06-13 07:17:34 -04:00