Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ocaml/xapi/import.ml
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,6 @@ module VM : HandlerTools = struct
~domain_type:vm_record.API.vM_domain_type
~is_a_template:vm_record.API.vM_is_a_template
vm_record.API.vM_platform
; API.vM_suspend_VDI= Ref.null
; API.vM_power_state= `Halted
}
in
let vm =
Expand All @@ -642,7 +640,11 @@ module VM : HandlerTools = struct
Db.VM.set_uuid ~__context ~self:vm ~value:value.API.vM_uuid ;
vm
)
vm_record
{
vm_record with
API.vM_suspend_VDI= Ref.null
; API.vM_power_state= `Halted
}
in
state.cleanup <-
(fun __context rpc session_id ->
Expand Down