diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index 0d5cca894..c5d96b2cd 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -458,12 +458,13 @@ impl cpu::Vcpu for MshvVcpu { _ => {} } - // SAFETY: access_info is valid, otherwise we won't be here assert!( + // SAFETY: access_info is valid, otherwise we won't be here (unsafe { access_info.__bindgen_anon_1.string_op() } != 1), "String IN/OUT not supported" ); assert!( + // SAFETY: access_info is valid, otherwise we won't be here (unsafe { access_info.__bindgen_anon_1.rep_prefix() } != 1), "Rep IN/OUT not supported" );