[gnome-boxes] libvirt-machine-properties: 256M as step for storage
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] libvirt-machine-properties: 256M as step for storage
- Date: Fri, 15 Feb 2013 14:29:43 +0000 (UTC)
commit a14701e517651fa92e6e614fcb309d4c623d42bc
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Feb 6 00:24:06 2013 +0200
libvirt-machine-properties: 256M as step for storage
The 1G step value we use for storage is too big. Decrease it to 256M.
https://bugzilla.gnome.org/show_bug.cgi?id=688333
src/libvirt-machine-properties.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 7d71aad..995cc6c 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -463,7 +463,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
volume_info.capacity,
volume_info.capacity,
max_storage,
- Osinfo.GIBIBYTES);
+ 256 * Osinfo.MEBIBYTES);
property.changed.connect (on_storage_changed);
} catch (GLib.Error error) {
warning ("Failed to get information on volume '%s' or it's parent pool: %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]