aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-10-21 15:40:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-01-18 10:43:14 +0100
commitaef158b093b9d67381f88468d39ac8dd62ae9e8b (patch)
treef09587cfc2a9e100c8e2522ab1cd91d9c8c86010 /scripts/qapi/source.py
parentvga: sort-of implement word and double-word access modes (diff)
downloadqemu-aef158b093b9d67381f88468d39ac8dd62ae9e8b.tar.xz
qemu-aef158b093b9d67381f88468d39ac8dd62ae9e8b.zip
Add class property to configure KVM device node to use
This allows passing the KVM device node to use as a file descriptor via /dev/fdset/XX. Passing the device node to use as a file descriptor allows running qemu unprivileged even when the user running qemu is not in the kvm group on distributions where access to /dev/kvm is gated behind membership of the kvm group (as long as the process invoking qemu is able to open /dev/kvm and passes the file descriptor to qemu). Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com> Message-ID: <20231021134015.1119597-1-daan.j.demeyer@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions