diff --git a/src/hyperlight_host/src/hypervisor/hyperv_linux.rs b/src/hyperlight_host/src/hypervisor/hyperv_linux.rs index 8e7e443f..3dcdc2e4 100644 --- a/src/hyperlight_host/src/hypervisor/hyperv_linux.rs +++ b/src/hyperlight_host/src/hypervisor/hyperv_linux.rs @@ -111,12 +111,12 @@ impl HypervLinuxDriver { // here, because otherwise the partition is set up with a SynIC. let vm_fd = mshv.create_vm_with_args(&pr)?; - vm_fd.initialize()?; let features: hv_partition_synthetic_processor_features = Default::default(); vm_fd.hvcall_set_partition_property( hv_partition_property_code_HV_PARTITION_PROPERTY_SYNTHETIC_PROC_FEATURES, unsafe { features.as_uint64[0] }, )?; + vm_fd.initialize()?; vm_fd };