macro_rules! dispatcher {
($handler:ty, [ $($(#[$a:meta])* $hc:ty),* $(,)? ] $(,)?) => { ... };
}
Expand description
Creates a hypercall dispatcher, where the dispatcher can support any of the list of provided hypercalls.
ⓘ
hv1_hypercall::dispatcher!(
Self,
&guest_memory,
[
hv1_hypercall::HvPostMessage,
hv1_hypercall::HvSignalEvent,
#[cfg(guest_arch = "x86_64")]
hv1_hypercall::HvX64StartVirtualProcessor,
],
);