Fix call to get connection
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=60
This commit is contained in:
parent
304b81595d
commit
ff10cf0380
@ -12,7 +12,7 @@ Index: virt-manager-0.9.0/src/virtManager/uihelpers.py
|
||||
-
|
||||
- for m in formats:
|
||||
- dev_model.append([m])
|
||||
+ if vm.get_connection().is_xen():
|
||||
+ if vm.conn.is_xen():
|
||||
+ for m in ["raw", "qcow2", "vmdk"]:
|
||||
+ dev_model.append([m])
|
||||
+ else:
|
||||
|
Loading…
Reference in New Issue
Block a user