autotest / virt-test

Linux Virtualization Tests
Other
97 stars 140 forks source link

Enable USB type device passthrough using add_hostdev within virt test #2274

Closed bssrikanth closed 9 years ago

bssrikanth commented 9 years ago

Currently hostdev addition supported adding only pci type device for passthrough. This commit has added capability to within virt test framework to generate a hostdev xml section for USB device passthrough. Guest VM xml add hostdev will now be able accept USB specific parameters and add respective xml clause to guest VM accordingly.

bssrikanth commented 9 years ago

Sorry will run pep8 compliance locally.. fix issues and then create pull request.