Created attachment 734650[details]
Troubleshooting log
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):
gnome-boxes-3.8.0-1.fc19.x86_64
How reproducible:
always
Steps to Reproduce:
1. New -> Continue -> Select a file
2. Customize -> System
3. Change Maximum Disk Size
or
1. Edit properties of existing VM -> System
2. Change Maximum Disk size
Actual results:
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)
Expected results:
Maximum Disk Size is changed.
Additional info:
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.
Comment 6Fedora Update System
2013-06-13 18:05:24 UTC
Package libvirt-1.0.5.2-1.fc19:
* 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-1.0.5.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-10769/libvirt-1.0.5.2-1.fc19
then log in and leave karma (feedback).
Comment 7Fedora Update System
2013-06-29 18:45:38 UTC
libvirt-1.0.5.2-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
Created attachment 734650 [details] Troubleshooting log 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): gnome-boxes-3.8.0-1.fc19.x86_64 How reproducible: always Steps to Reproduce: 1. New -> Continue -> Select a file 2. Customize -> System 3. Change Maximum Disk Size or 1. Edit properties of existing VM -> System 2. Change Maximum Disk size Actual results: 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) Expected results: Maximum Disk Size is changed. Additional info: