Skip to main content

set_current_vcpu

Function set_current_vcpu 

Source
pub unsafe fn set_current_vcpu<A: AxArchVCpu>(vcpu: &AxVCpu<A>)
Expand description

Set the current VCpu on the current physical CPU.

ยงSafety

This method is marked as unsafe because it may result in unexpected behavior if not used properly. Do not call this method unless you know what you are doing.