I've created https://feedbackassistant.apple.com/feedback/13423851
Post
Replies
Boosts
Views
Activity
I saw mentions of "Plain Disks" in Parallels documentation, from the description, they look like raw disk images, which is what is expected by the Virtualization framework. Did you try these?
You should be able to use https://developer.apple.com/documentation/virtualization/vznetworkdeviceconfiguration/3656653-macaddress?language=objc to get the virtual machine mac address.
You can then parse /var/db/dhcpd_leases and lookup this mac address to find the IP which was assigned to the VM.