Skip to content

Commit 42a65a7

Browse files
committed
make sure to call fd.initialize on mshv3
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 9016c60 commit 42a65a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hyperlight_host/src/hypervisor/hyperv_linux.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ impl HypervLinuxDriver {
111111
// here, because otherwise the partition is set up with a SynIC.
112112

113113
let vm_fd = mshv.create_vm_with_args(&pr)?;
114+
vm_fd.initialise()?;
114115
let features: hv_partition_synthetic_processor_features = Default::default();
115116
vm_fd.hvcall_set_partition_property(
116117
hv_partition_property_code_HV_PARTITION_PROPERTY_SYNTHETIC_PROC_FEATURES,

0 commit comments

Comments
 (0)