mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
USB controller configuration (#861)
* Add USB controller configuration * Update README with USB controller configuration info * Rename USB controller parameter to usb_controller * Code style fixup
This commit is contained in:
committed by
Dmitry Vasilets
parent
c3e46a1f23
commit
60e93d4925
@@ -128,6 +128,7 @@
|
||||
<device path='/dev/tpm0'/>
|
||||
</backend>
|
||||
</tpm>
|
||||
<controller type='usb' model='nec-xhci' ports="4" />
|
||||
</devices>
|
||||
|
||||
<qemu:commandline>
|
||||
|
||||
@@ -64,6 +64,7 @@ describe 'templates/domain' do
|
||||
domain.random(model: 'random')
|
||||
domain.pci(bus: '0x06', slot: '0x12', function: '0x5')
|
||||
domain.pci(bus: '0x03', slot: '0x00', function: '0x0')
|
||||
domain.usb_controller(model: 'nec-xhci', ports: '4')
|
||||
domain.usb(bus: '1', device: '2', vendor: '0x1234', product: '0xabcd')
|
||||
domain.redirdev(type: 'tcp', host: 'localhost', port: '4000')
|
||||
domain.redirfilter(class: '0x0b', vendor: '0x08e6',
|
||||
|
||||
Reference in New Issue
Block a user