Testing a USB configuration in the guest

Once the VM configuration file is correctly parsed, the guest should be able to interact with supported USB devices.

The testing method varies from guest to guest, and your development team will have its own test plan for verifying whether a guest works with connected USB devices correctly. But here is a quick guide for checking whether guests are detecting device insertions:

  • Start the VM that hosts the guest.
  • Start the USB stack on the guest.
  • Connect a USB device.
  • Start an appropriate driver on the guest.
  • Verify that the guest has detected the new device.
  • Run an I/O test.
Page updated: