virt-manager/virtman-qed.diff
Charles Arnold d9d300204b - Update to virt-manager 0.9.1
* Support for adding usb redirection devices (Marc-André Lureau)
  * Option to switch usb controller to support usb2.0 (Marc-André Lureau)
  * Option to specify machine type for non-x86 guests (Li Zhang)
  * Support for filesystem device type and write policy (Deepak C Shetty)
  * Many bug fixes!
- Update to virtinst 0.600.1
  * virt-install: --redir option for usb redirection (Marc-André Lureau)
  * virt-install: Advanced --controller support for usb2 (Marc-André Lureau)
  * Many bug fixes and minor improvments.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=86
2012-02-03 15:47:45 +00:00

24 lines
739 B
Diff

Index: virt-manager-0.9.1/src/virtManager/uihelpers.py
===================================================================
--- virt-manager-0.9.1.orig/src/virtManager/uihelpers.py
+++ virt-manager-0.9.1/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)