mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
[Docs] add important notes to GPU passthrough section
This commit is contained in:
parent
e112d6fd81
commit
3fe434afe6
@ -292,7 +292,7 @@ end
|
||||
* `keymap` - Set keymap for vm. default: en-us
|
||||
* `kvm_hidden` - [Hide the hypervisor from the
|
||||
guest](https://libvirt.org/formatdomain.html#elementsFeatures). Useful for
|
||||
GPU passthrough on stubborn drivers. Default is false.
|
||||
[GPU passthrough](#pci-device-passthrough) on stubborn drivers. Default is false.
|
||||
* `video_type` - Sets the graphics card type exposed to the guest. Defaults to
|
||||
"cirrus". [Possible
|
||||
values](http://libvirt.org/formatdomain.html#elementsVideo) are "vga",
|
||||
@ -730,6 +730,10 @@ Vagrant.configure("2") do |config|
|
||||
end
|
||||
```
|
||||
|
||||
Note! Above options affect configuration only at domain creation. It won't change VM behaviour on `vagrant reload` after domain was created.
|
||||
|
||||
Don't forget to [set](#domain-specific-options) `kvm_hidden` option to `true` especially if you are passthroughing NVIDIA GPUs. Otherwise GPU is visible from VM but cannot be operated.
|
||||
|
||||
## Random number generator passthrough
|
||||
|
||||
You can pass through `/dev/random` to your VM by configuring the domain like this:
|
||||
|
Loading…
Reference in New Issue
Block a user