Better error message when ENOSPACE
@hadess
Submitted by Bastien Nocera Link to original bug (#731527)
Description
When running out of space on the disk when we're importing, the UI just says that the import failed.
(gnome-boxes:8546): Boxes-WARNING **: vm-importer.vala:49: Failed to import box '892fc77a8ada9bbd68f87cf2c52ee7cd5ec33c72131c21e45b2a64836677351a 2' from file '/home/hadess/Downloads/892fc77a8ada9bbd68f87cf2c52ee7cd5ec33c72131c21e45b2a64836677351a.qcow2': Failed to execute: qemu-img convert -O qcow2 /home/hadess/Downloads/892fc77a8ada9bbd68f87cf2c52ee7cd5ec33c72131c21e45b2a64836677351a.qcow2 /home/hadess/.local/share/gnome-boxes/images/boxes-unknown-2
(gnome-boxes:8546): Boxes-WARNING **: util.vala:162: Failed to write file '/home/hadess/.config/gnome-boxes/sources/QEMU Session.D094GX': write() failed: No space left on device
There should be a better error message when that happens.