Skip to content

Commit

Permalink
Switch from Xenctrl.hvm_check_pvdriver to Xenctrl.hvm_param_get
Browse files Browse the repository at this point in the history
The former is technical debt in the hypervisor patchqueue, while the latter is
an upstream binding.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
  • Loading branch information
andyhhp committed Dec 21, 2022
1 parent c010662 commit f7b3223
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 f7b3223

Please sign in to comment.