Provisioning with Virtualization framework fails with Threading warning

Hi,

I saw the mac os 27 new features video https://developer.apple.com/videos/play/wwdc2026/224/?time=64 and was trying Provisioning and i get this warning

[Internal] Thread running at User-interactive quality-of-service class waiting on a lower QoS thread running at Default quality-of-service class. Investigate ways to avoid priority inversions

at the line try startupOptions.setGuestProvisioning(opts)

i have my vm q declared like this

let vmQueue = DispatchQueue(label: "VZVirtualMachineQueue", qos: .userInteractive)

and i am executing like this


self.vmQueue.async { [weak self] in

.........
.........
let startupOptions = VZMacOSVirtualMachineStartOptions()
try? startupOptions.setGuestProvisioning(opts)

vm.start(startupOptions)
}

and it fails with treading warning and provisioning does not happen.

Thanks in advance for the help

i changed the qos from userInteractive to default and i dont get the threading warning but provisioning does not happen. it goes to the setup screen asking for details.

Provisioning with Virtualization framework fails with Threading warning
 
 
Q