core: unify handling dom0 case in --cdrom option

This commit is contained in:
Marek Marczykowski-Górecki 2013-11-01 02:25:22 +01:00
parent 55b4c6b6d1
commit c52059a23e

View File

@ -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