Bug 14509 - Can't attach ISO to OVM guest instance

status 14509: resolved fixed
reviewed-by: edison
This commit is contained in:
frank 2012-03-28 15:20:12 -07:00
parent 698a1bb3cd
commit f37ae5b00c

View File

@ -500,10 +500,6 @@ class OvmVm(OvmObject):
scope = 'cfg'
vmPath = OvmHost()._getVmPathFromPrimaryStorage(vmName)
vmType = OvmVm()._getVmTypeFromConfigFile(vmPath)
if vmType != 'HVM':
raise Exception("Only HVM supports attaching/detaching ISO")
if not isAttach:
iso = ''
else: