Re: [PATCH] Add class property to configure KVM device node to use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anything else needed before this patch can be merged?

Cheers,

Daan

On Wed, 25 Oct 2023 at 19:37, Daniel P. Berrangé <berrange@xxxxxxxxxx> wrote:
>
> On Sat, Oct 21, 2023 at 03:40:15PM +0200, Daan De Meyer wrote:
> > 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@xxxxxxxxx>
> > ---
> >  accel/kvm/kvm-all.c      | 25 ++++++++++++++++++++++++-
> >  include/sysemu/kvm_int.h |  1 +
> >  qemu-options.hx          |  8 +++++++-
> >  3 files changed, 32 insertions(+), 2 deletions(-)
>
> Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
>
>
> With regards,
> Daniel
> --
> |: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org         -o-            https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
>





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux