Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Davies <[email protected]>
  • Loading branch information
simongdavies committed Nov 14, 2024
1 parent 7d89370 commit 1310036
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hyperlight_host/src/hypervisor/hyperv_linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ impl HypervLinuxDriver {
let vm_fd = mshv.create_vm_with_config(&pr)?;
#[cfg(mshv3)]
let vm_fd = {
// It's important to avoid create_vm() and explicitly use
// create_vm_with_args() with an empty arguments structure
// here, because otherwise the partition is set up with a SynIC.

let vm_fd = mshv.create_vm_with_args(&pr)?;
let features: hv_partition_synthetic_processor_features = Default::default();
vm_fd.hvcall_set_partition_property(
Expand Down

0 comments on commit 1310036

Please sign in to comment.