From: Arnd Bergmann <arnd@arndb.de>
To: Avi Kivity <avi@argo.co.il>
Cc: Jeff Chua <jeff.chua.linux@gmail.com>,
Dor Laor <dor.laor@qumranet.com>,
lkml <linux-kernel@vger.kernel.org>, Greg KH <greg@kroah.com>
Subject: Re: open /dev/kvm: No such file or directory
Date: Fri, 29 Dec 2006 06:50:27 +0100 [thread overview]
Message-ID: <200612290650.28508.arnd@arndb.de> (raw)
In-Reply-To: <4593E7EB.7070801@argo.co.il>
On Thursday 28 December 2006 16:51, Avi Kivity wrote:
> Greg, /dev/kvm is a MISC_DYNAMIC_MINOR device. Is there any way of
> using it without udev? Should I allocate a static number?
You can write a small script that parses /proc/misc and creates the device,
like
# /sbin/mknod /dev/kvm c 10 `grep '\<kvm\>' /proc/misc | cut -f 1 -d\ `
If you already have an init script, e.g. to set up tun/tap devices,
it would make sense to put it in there.
Arnd <><
next prev parent reply other threads:[~2006-12-29 5:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-28 13:08 open /dev/kvm: No such file or directory Jeff Chua
2006-12-28 13:29 ` Dor Laor
2006-12-28 14:38 ` Jeff Chua
2006-12-28 14:51 ` Avi Kivity
2006-12-28 15:42 ` Jeff Chua
2006-12-28 15:51 ` Avi Kivity
2006-12-29 5:50 ` Arnd Bergmann [this message]
2006-12-29 8:48 ` Jeff Chua
2006-12-30 0:59 ` H. Peter Anvin
2006-12-29 4:37 ` Jeff Chua
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=200612290650.28508.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=avi@argo.co.il \
--cc=dor.laor@qumranet.com \
--cc=greg@kroah.com \
--cc=jeff.chua.linux@gmail.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox