virt-manager/virtman-qed.diff
Charles Arnold f0f05569d6 - Xen: VM status on main screen fails to update when guest shut down.
virtman-update-backend.diff

- Update to latest upstream git version for various bug fixes
  virtmanager: a712a7b32e6d7b7d9d53561b3ed2078190191560 
  virtinst: 15d4901a3c8b855838931976e023158b8cda1c37

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=78
2011-11-08 13:40:25 +00:00

24 lines
739 B
Diff

Index: virt-manager-0.9.0/src/virtManager/uihelpers.py
===================================================================
--- virt-manager-0.9.0.orig/src/virtManager/uihelpers.py
+++ virt-manager-0.9.0/src/virtManager/uihelpers.py
@@ -395,12 +395,12 @@ def build_storage_format_combo(vm, combo
combo.set_model(dev_model)
combo.set_text_column(0)
- formats = ["raw", "qcow2"]
- if vm.rhel6_defaults():
- formats.append("vmdk")
-
- for m in formats:
- dev_model.append([m])
+ if vm.conn.is_xen():
+ for m in ["raw", "qcow2", "vmdk"]:
+ dev_model.append([m])
+ else:
+ for m in ["raw", "qcow2", "qed", "vmdk"]:
+ dev_model.append([m])
combo.set_active(0)