We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4248a3a + 9b13d27 commit 2f9cab2Copy full SHA for 2f9cab2
ocaml/xenops/device.ml
@@ -463,6 +463,8 @@ let add ~xs ~hvm ~mode ~device_number ~phystype ~params ~dev_type ~unpluggable
463
List.iter (fun (k, v) -> Hashtbl.add back_tbl k v) keys
464
| None -> ());
465
466
+ (* PV guests don't support CDROMs so we model these as disks *)
467
+ let dev_type = if not hvm then Disk else dev_type in
468
469
Hashtbl.add_list front_tbl [
470
"backend-id", string_of_int backend_domid;
0 commit comments