nixos/virtualisation.kvmgt: explain explicitly it is meant for host

Fix #516891.
This commit is contained in:
Doron Behar
2026-05-07 14:52:48 +03:00
parent c874469f27
commit 7c9a87f017
+3 -3
View File
@@ -25,9 +25,9 @@ in
virtualisation.kvmgt = {
enable = mkEnableOption ''
KVMGT (iGVT-g) VGPU support.
Allows Qemu/KVM guests to share host's Intel integrated graphics card.
When enabled on a host, allows Qemu/KVM guests to share host's Intel integrated graphics card.
Currently only one graphical device can be shared.
To allow users to access the device without root add them to the kvm group: `users.extraUsers.<yourusername>.extraGroups = [ "kvm" ];`
To allow host users to access the device without root add them to the kvm group: `users.extraUsers.<yourusername>.extraGroups = [ "kvm" ];`
'';
# multi GPU support is under the question
device = mkOption {
@@ -39,7 +39,7 @@ in
default = { };
type = with types; attrsOf (submodule [ { options = vgpuOptions; } ]);
description = ''
Virtual GPUs to be used in Qemu.
Virtual GPUs of the host to be used in Qemu.
You can find devices via {command}`ls /sys/bus/pci/devices/*/mdev_supported_types` and find info about device via {command}`cat /sys/bus/pci/devices/*/mdev_supported_types/i915-GVTg_V5_4/description`
'';
example = {