Thanks @BenjaminApple, after fiddling with the source, it all makes sense now. Also noiticed how to change the drive size.
For anyone else reading, if you don't need to use the libraries, I found a GUI that makes this easier: https://github.com/insidegui/VirtualBuddy/releases
Post
Replies
Boosts
Views
Activity
Edit: Native M1 virtualization.