/// Install intercept to enable some VM exits like MSR, CPUId etc
Install intercept to enable some VM exits like MSR, CPUId etc
Install intercept to enable some VM exits like MSR CPUId etc
pub fn install_intercept(&self, install_intercept_args: mshv_install_intercept) -> Result<()> {
        // SAFETY: IOCTL with correct types
        let ret =
            unsafe { ioctl_with_ref(self, MSHV_INSTALL_INTERCEPT(), &install_intercept_args) };
        if ret == 0 {
            Ok(())
        } else {
            Err(errno::Error::last())
        }
    }
pub fn install_intercept ( & self , install_intercept_args : mshv_install_intercept ) -> Result < ( ) > { // SAFETY: IOCTL with correct types let ret = unsafe { ioctl_with_ref ( self , MSHV_INSTALL_INTERCEPT ( ) , & install_intercept_args ) } ; if ret == 0 { Ok ( ( ) ) } else { Err ( errno :: Error :: last ( ) ) } }
Install intercept to enable some VM exits like MSR, CPUId etc
Install intercept to enable some VM exits like MSR CPUId etc
&self
install_intercept_args
mshv_install_intercept