From: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: kvm@vger.kernel.org, pbonzini@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] misc: Reserve minor for VFIO
Date: Fri, 13 Dec 2013 11:05:20 +0000 [thread overview]
Message-ID: <20131213110520.6db1ad99@alan.etchedpixels.co.uk> (raw)
In-Reply-To: <20131212184717.966.76895.stgit@bling.home>
> VFIO currently allocates it's own dynamic chardev range, reserving the
> first minor for the control part of the interface (/dev/vfio/vfio) and
> the remainder for VFIO groups (/dev/vfio/$GROUP). This works, but it
> doesn't support auto loading. For instance when libvirt checks for
> VFIO support it looks for /dev/vfio/vfio, which currently doesn't
> exist unless the vfio module is loaded. By converting the control
> device to a misc driver and reserving a static minor, we can enable
> auto loading.
Looks sensible to me. I'm not sure if Lanana even really goes anywhere
any more however. Linus kept complaining about static device numbering
despite the fact it's still essential for a few odd cases like this.
Alan
next prev parent reply other threads:[~2013-12-13 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-12 18:47 [PATCH 0/2] vfio: convert to misc driver Alex Williamson
2013-12-12 18:47 ` [PATCH 1/2] misc: Reserve minor for VFIO Alex Williamson
2013-12-13 11:05 ` One Thousand Gnomes [this message]
2013-12-12 18:47 ` [PATCH 2/2] vfio: Convert control interface to misc driver Alex Williamson
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=20131213110520.6db1ad99@alan.etchedpixels.co.uk \
--to=gnomes@lxorguk.ukuu.org.uk \
--cc=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®