Skip to content

Commit 1afa433

Browse files
jinankjainrussell-islam
authored andcommitted
mshv-ioctls: Don't initialize partition after creation
Instead, we should let VMM decide when it wants to initialize the partition. For example, for an ARM64 guest VMM needs to setup GIC params before the partition is initialized. Because the GIC params are early partition properties which can only be set before the partition is initialized. In general since MSHV considers a distinction between partition creation vs partition initialization, we should reflect the same in our APIs and not club together into a single function. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
1 parent 7a8363d commit 1afa433

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mshv-ioctls/src/ioctls/system.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ impl Mshv {
191191
make_synthetic_features_mask(),
192192
)?;
193193

194-
vm.initialize()?;
195-
196194
Ok(vm)
197195
}
198196

0 commit comments

Comments
 (0)