dom0/drive: fix hd: prefix parsing
Este commit está contenido en:
padre
8705cf9e9a
commit
7dafb32ee1
@ -2226,6 +2226,7 @@ class QubesHVm(QubesVm):
|
|||||||
backend_domain = ""
|
backend_domain = ""
|
||||||
if drive_path.startswith("hd:"):
|
if drive_path.startswith("hd:"):
|
||||||
type_mode = ",w"
|
type_mode = ",w"
|
||||||
|
drive_path = drive_path[3:]
|
||||||
elif drive_path.startswith("cdrom:"):
|
elif drive_path.startswith("cdrom:"):
|
||||||
type_mode = ":cdrom,r"
|
type_mode = ":cdrom,r"
|
||||||
drive_path = drive_path[6:]
|
drive_path = drive_path[6:]
|
||||||
|
|||||||
Cargando…
Referencia en una nueva incidencia
Block a user