diff options
author | Cole Robinson <crobinso@redhat.com> | 2013-10-02 15:17:15 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-10-02 15:34:34 -0400 |
commit | 9194feb1f52a300146c3aaa32e476b58df464b01 (patch) | |
tree | 619f60b7c12e3f29e297f5c450ce88ff0f544e9d /virtManager/createvol.py | |
parent | 1294965aa3fe1274fd25cbd80404ae3fd40224ea (diff) | |
download | virt-manager-9194feb1f52a300146c3aaa32e476b58df464b01.tar.gz |
virt-manager: Default to qcow2 on kvm
qcow2 enables fancy features like snapshots and is generally more
desktopy, which we purport to be.
We only do this on not horribly old libvirt/qemu, and only on qemu
connections. This may work for xen but I'm not going to turn it on
until someone tests it.
Diffstat (limited to 'virtManager/createvol.py')
-rw-r--r-- | virtManager/createvol.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/createvol.py b/virtManager/createvol.py index d959cced..8b0ad879 100644 --- a/virtManager/createvol.py +++ b/virtManager/createvol.py @@ -173,7 +173,7 @@ class vmmCreateVolume(vmmGObjectUI): if hasformat: # Select the default storage format self.widget("vol-format").set_active(0) - default = self.config.get_storage_format() + default = self.conn.get_default_storage_format() for row in self.widget("vol-format").get_model(): if row[0] == default: self.widget("vol-format").set_active_iter(row.iter) |