Created attachment 734650 [details]
Description of problem:
Problem with editing Maximum Disk Size system setting, because qemu-img requires that Maximum Disk Size system setting must be a multiple of 512 bytes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. New -> Continue -> Select a file
2. Customize -> System
3. Change Maximum Disk Size
1. Edit properties of existing VM -> System
2. Change Maximum Disk size
Maximum Disk Size is unchanged with the following warning:
(gnome-boxes:7480): Boxes-WARNING **: libvirt-machine-properties.vala:560: Failed to change storage capacity of volume 'ubuntu12.04' to 22291165305: Unable to resize volume storage: internal error Child process (/usr/bin/qemu-img resize /home/vbudikov/.local/share/gnome-boxes/images/ubuntu12.04 22291165305) unexpected exit status 1: qemu-img: The new size must be a multiple of 512
qemu-img: Error resizing image (22)
Maximum Disk Size is changed.
libvirt is supposed to be rounding any sizes up to the nearest boundary required by tools it invokes. So Boxes ought not to need to deal with rounding itself.
*** Bug 949591 has been marked as a duplicate of this bug. ***
Fixed by http://libvirt.org/git/?p=libvirt.git;a=commit;h=9a8f39d097448b2b43c4a05d0edc213eacfc9ea6
Moving to libvirt so I don't miss it when doing a build.
libvirt-220.127.116.11-1.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-18.104.22.168-1.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
libvirt-22.214.171.124-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.