Function invoke_hypercall

Source
pub unsafe fn invoke_hypercall(
    control: Control,
    input_gpa_or_fast1: u64,
    output_gpa_or_fast2: u64,
) -> HypercallOutput
Expand description

Invokes a standard hypercall, or a fast hypercall with at most two input words and zero output words.

ยงSafety

The caller must ensure the hypercall is safe to issue, and that the input/output pages are not being concurrently used elsewhere. For fast hypercalls, the caller must ensure that there are no output words so that there is no register corruption.