USB device automatic detection on Linux: Apple Virtualization Framework

Hi, I am running GUI Linux using Apple provided reference examples.I would like to know if there is api which supports hot plug of devices and visible on my GUI Linux. I see VZDiskBlockDeviceStorageDeviceAttachment in the docs, but here we need to provide the /dev/* to get it visible in the Linux system, Would like to know the dynamic device detection capability api support if any.

There is no API to capture a physical USB device with Virtualization Framework.

The VZDiskBlockDeviceStorageDeviceAttachment is a special case for disks but it's using macOS drivers rather than the guest drivers for the devices. It's more commonly used with NVMe drives rather than USB mass storage.

USB device automatic detection on Linux: Apple Virtualization Framework
 
 
Q