Resizing hard disk is broken if VM has snapshots
Submitted by Michael Catanzaro
After resizing my VM's hard disk, when I reopen the Properties dialog the setting has not been saved: it's back to the original size.
The problem is this:
Boxes-WARNING **: libvirt-machine-properties.vala:594: Failed to change storage capacity of volume 'boxes-unknown' to 40149525456: Unable to resize volume storage: internal error: Child process (/usr/bin/qemu-img resize /home/mcatanzaro/.local/share/gnome-boxes/images/boxes-unknown 40149525504) unexpected exit status 1: qemu-img: Can't resize an image which has snapshots qemu-img: This image does not support resize
Deleting my snapshot makes resizing work.