[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6a2187b0612290048o6001f992p4a4741cf622f0068@mail.gmail.com>
Date: Fri, 29 Dec 2006 16:48:37 +0800
From: "Jeff Chua" <jeff.chua.linux@...il.com>
To: "Arnd Bergmann" <arnd@...db.de>
Cc: "Avi Kivity" <avi@...o.co.il>, "Dor Laor" <dor.laor@...ranet.com>,
lkml <linux-kernel@...r.kernel.org>, "Greg KH" <greg@...ah.com>
Subject: Re: open /dev/kvm: No such file or directory
On 12/29/06, Arnd Bergmann <arnd@...db.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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists