From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Daan De Meyer <daan.j.demeyer@gmail.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH] Add class property to configure KVM device node to use
Date: Wed, 25 Oct 2023 18:37:01 +0100 [thread overview]
Message-ID: <ZTlSPbh2GnhOKExO@redhat.com> (raw)
In-Reply-To: <20231021134015.1119597-1-daan.j.demeyer@gmail.com>
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 :|
next prev parent reply other threads:[~2023-10-25 17:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-21 13:40 [PATCH] Add class property to configure KVM device node to use Daan De Meyer
2023-10-25 17:37 ` Daniel P. Berrangé [this message]
2023-10-28 12:07 ` Daan De Meyer
2023-11-06 15:26 ` Daan De Meyer
2023-11-06 15:35 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZTlSPbh2GnhOKExO@redhat.com \
--to=berrange@redhat.com \
--cc=daan.j.demeyer@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.