core: unify handling dom0 case in --cdrom option
This commit is contained in:
parent
55b4c6b6d1
commit
c52059a23e
@ -165,6 +165,8 @@ class QubesHVm(QubesVm):
|
|||||||
if backend_split:
|
if backend_split:
|
||||||
backend_domain = "," + backend_split.group(1)
|
backend_domain = "," + backend_split.group(1)
|
||||||
drive_path = backend_split.group(2)
|
drive_path = backend_split.group(2)
|
||||||
|
if backend_domain.lower() == "dom0":
|
||||||
|
backend_domain = ""
|
||||||
|
|
||||||
# FIXME: os.stat will work only when backend in dom0...
|
# FIXME: os.stat will work only when backend in dom0...
|
||||||
stat_res = None
|
stat_res = None
|
||||||
|
Loading…
Reference in New Issue
Block a user