[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add class property to configure KVM device node to use
|
From: |
Daan De Meyer |
|
Subject: |
Re: [PATCH] Add class property to configure KVM device node to use |
|
Date: |
Mon, 6 Nov 2023 16:26:19 +0100 |
Ping
Daan
On Sat, 28 Oct 2023 at 14:07, Daan De Meyer <daan.j.demeyer@gmail.com> wrote:
>
> Anything else needed before this patch can be merged?
>
> Cheers,
>
> Daan
>
> On Wed, 25 Oct 2023 at 19:37, Daniel P. Berrangé <berrange@redhat.com> 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@gmail.com>
> > > ---
> > > 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@redhat.com>
> >
> >
> > 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
> > :|
> >
- Re: [PATCH] Add class property to configure KVM device node to use,
Daan De Meyer <=