diff --git a/ocaml/xenopsd/lib/bootloader.ml b/ocaml/xenopsd/lib/bootloader.ml index db87d6cea9e..8e4012a90d1 100644 --- a/ocaml/xenopsd/lib/bootloader.ml +++ b/ocaml/xenopsd/lib/bootloader.ml @@ -222,7 +222,7 @@ let sanity_check_path p = (** Extract the default kernel using the -q option *) let extract (task : Xenops_task.task_handle) ~bootloader ~disk ?(legacy_args = "") ?(extra_args = "") ?(pv_bootloader_args = "") - ~vm:vm_uuid ~domid:domid () = + ~vm:vm_uuid ~domid () = (* Without this path, pygrub will fail: *) Unixext.mkdir_rec "/var/run/xend/boot" 0o0755 ; let bootloader_path, cmdline = diff --git a/ocaml/xenopsd/xc/xenops_server_xen.ml b/ocaml/xenopsd/xc/xenops_server_xen.ml index 72cf7647e77..4a83e9b18eb 100644 --- a/ocaml/xenopsd/xc/xenops_server_xen.ml +++ b/ocaml/xenopsd/xc/xenops_server_xen.ml @@ -2099,7 +2099,7 @@ module VM = struct Bootloader.extract task ~bootloader:i.bootloader ~legacy_args:i.legacy_args ~extra_args:i.extra_args ~pv_bootloader_args:i.bootloader_args ~disk:dev - ~vm:vm.Vm.id ~domid:domid () + ~vm:vm.Vm.id ~domid () in kernel_to_cleanup := Some b ; let builder_spec_info = @@ -2144,7 +2144,7 @@ module VM = struct Bootloader.extract task ~bootloader:i.bootloader ~legacy_args:i.legacy_args ~extra_args:i.extra_args ~pv_bootloader_args:i.bootloader_args ~disk:dev - ~vm:vm.Vm.id ~domid:domid () + ~vm:vm.Vm.id ~domid () in kernel_to_cleanup := Some b ; let builder_spec_info = @@ -2199,7 +2199,7 @@ module VM = struct Bootloader.extract task ~bootloader:i.bootloader ~legacy_args:i.legacy_args ~extra_args:i.extra_args ~pv_bootloader_args:i.bootloader_args ~disk:dev - ~vm:vm.Vm.id ~domid:domid () + ~vm:vm.Vm.id ~domid () in kernel_to_cleanup := Some b ; let builder_spec_info =