From 3fe434afe67684620c4171c3e9896fd48db0cacc Mon Sep 17 00:00:00 2001 From: Maxim Petrunin Date: Tue, 18 Oct 2016 20:24:19 +0300 Subject: [PATCH] [Docs] add important notes to GPU passthrough section --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb9842b..bd4b3dd 100644 --- a/README.md +++ b/README.md @@ -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: