mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge pull request #513 from fxkr/readme-pci-passthrough
README: Fix example on PCI passthrough
This commit is contained in:
commit
db1f035061
@ -526,10 +526,10 @@ In that case `bus` is `0x03`, `slot` is `0x00` and `function` is `0x0`.
|
|||||||
```ruby
|
```ruby
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.provider :libvirt do |libvirt|
|
config.vm.provider :libvirt do |libvirt|
|
||||||
libvirt.input :bus => '0x06', slot => '0x12', function => '0x5'
|
libvirt.pci :bus => '0x06', slot => '0x12', function => '0x5'
|
||||||
|
|
||||||
# Add another one if it is neccessary
|
# Add another one if it is neccessary
|
||||||
libvirt.input :bus => '0x03', slot => '0x00', function => '0x0'
|
libvirt.pci :bus => '0x03', slot => '0x00', function => '0x0'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user