clone: Pass proper connection object to virtinst support function
This commit is contained in:
parent
2350a70b58
commit
d2cd4e06c5
|
@ -789,7 +789,7 @@ def can_we_clone(conn, vol, path):
|
||||||
|
|
||||||
elif vol:
|
elif vol:
|
||||||
# Managed storage
|
# Managed storage
|
||||||
if not virtinst.Storage.is_create_vol_from_supported(conn):
|
if not virtinst.Storage.is_create_vol_from_supported(conn.vmm):
|
||||||
if conn.is_remote() or not os.access(path, os.R_OK):
|
if conn.is_remote() or not os.access(path, os.R_OK):
|
||||||
msg = _("Connection does not support managed storage cloning.")
|
msg = _("Connection does not support managed storage cloning.")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue