Skip to content

Commit

Permalink
make sure to call fd.initialize on mshv3
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Davies <[email protected]>
  • Loading branch information
simongdavies committed Jan 13, 2025
1 parent 9016c60 commit 42a65a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hyperlight_host/src/hypervisor/hyperv_linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ impl HypervLinuxDriver {
// here, because otherwise the partition is set up with a SynIC.

let vm_fd = mshv.create_vm_with_args(&pr)?;
vm_fd.initialise()?;
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,
Expand Down

0 comments on commit 42a65a7

Please sign in to comment.