pub fn is_uhyve() -> bool {
	let unsafe_storage = get_unsafe_storage();
	unsafe {
		if unsafe_storage == 0 {
			intrinsics::volatile_load(&(*BOOT_INFO).uhyve) != 0
		}
		else {
			copy_from_safe(BOOT_INFO, 1);
			isolation_start!();
			let uhyve = intrinsics::volatile_load(&(*(unsafe_storage as *const BootInfo)).uhyve);
			isolation_end!();
			clear_unsafe_storage();

			return uhyve != 0;
		}
	}
}
/// Whether HermitCore is running under the "uhyve" hypervisor.
Whether HermitCore is running under the "uhyve" hypervisor.
Whether HermitCore is running under the " uhyve " hypervisor .
pub fn is_uhyve() -> bool {
	let unsafe_storage = get_unsafe_storage();
	unsafe {
		if unsafe_storage == 0 {
			intrinsics::volatile_load(&(*BOOT_INFO).uhyve) != 0
		}
		else {
			copy_from_safe(BOOT_INFO, 1);
			isolation_start!();
			let uhyve = intrinsics::volatile_load(&(*(unsafe_storage as *const BootInfo)).uhyve);
			isolation_end!();
			clear_unsafe_storage();
			return uhyve != 0;
		}
	}
}
pub fn is_uhyve ( ) -> bool { let unsafe_storage = get_unsafe_storage ( ) ; unsafe { if unsafe_storage == 0 { intrinsics :: volatile_load ( & ( * BOOT_INFO ) . uhyve ) != 0 } else { copy_from_safe ( BOOT_INFO , 1 ) ; isolation_start ! ( ) ; let uhyve = intrinsics :: volatile_load ( & ( * ( unsafe_storage as * const BootInfo ) ) . uhyve ) ; isolation_end ! ( ) ; clear_unsafe_storage ( ) ; return uhyve != 0 ; } } }
Whether HermitCore is running under the "uhyve" hypervisor.
Whether HermitCore is running under the " uhyve " hypervisor .