mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jeff Chua" <jeff.chua.linux@gmail.com>
To: "Arnd Bergmann" <arnd@arndb.de>
Cc: "Avi Kivity" <avi@argo.co.il>, "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 16:48:37 +0800	[thread overview]
Message-ID: <b6a2187b0612290048o6001f992p4a4741cf622f0068@mail.gmail.com> (raw)
In-Reply-To: <200612290650.28508.arnd@arndb.de>

On 12/29/06, Arnd Bergmann <arnd@arndb.de> wrote:
> 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 <><
>

That works. That's exacting what I'm looking for.

Thank you,
Jeff.

  reply	other threads:[~2006-12-29  8:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-28 13:08 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
2006-12-29  8:48             ` Jeff Chua [this message]
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=b6a2187b0612290048o6001f992p4a4741cf622f0068@mail.gmail.com \
    --to=jeff.chua.linux@gmail.com \
    --cc=arnd@arndb.de \
    --cc=avi@argo.co.il \
    --cc=dor.laor@qumranet.com \
    --cc=greg@kroah.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

all inboxes | Powered by JetHome®