Skip to content

Commit

Permalink
Merge pull request #4879 from andyhhp/master
Browse files Browse the repository at this point in the history
Switch from Xenctrl.hvm_check_pvdriver to Xenctrl.hvm_param_get
  • Loading branch information
edwintorok authored Jan 4, 2023
2 parents c010662 + 5466603 commit c047bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xenopsd/xc/domain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ let shutdown_wait_for_ack (t : Xenops_task.task_handle) ~timeout ~xc ~xs domid
| true, `pvh ->
true (* PVH guests are also always enlightened *)
| true, `hvm ->
Xenctrl.hvm_check_pvdriver xc domid (* checks for HVM_CALLBACK_IRQ *)
Xenctrl.hvm_param_get xc domid HVM_PARAM_CALLBACK_IRQ <> 0L
| true, `pv ->
failwith "Internal error, should never happen"
in
Expand Down

0 comments on commit c047bab

Please sign in to comment.