d9d300204b
* 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
24 lines
739 B
Diff
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)
|
|
|