mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Allow setting of PCI domain (#927)
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
</hostdev>
|
||||
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||
<source>
|
||||
<address domain='0x0000'
|
||||
<address domain='0x0001'
|
||||
bus='0x03'
|
||||
slot='0x00'
|
||||
function='0x0'/>
|
||||
|
||||
@@ -64,7 +64,7 @@ describe 'templates/domain' do
|
||||
source_path: '/tmp/foo')
|
||||
domain.random(model: 'random')
|
||||
domain.pci(bus: '0x06', slot: '0x12', function: '0x5')
|
||||
domain.pci(bus: '0x03', slot: '0x00', function: '0x0')
|
||||
domain.pci(domain: '0x0001', 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')
|
||||
|
||||
Reference in New Issue
Block a user