All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] what is the major, minor numbers of kqemu under linux ?
@ 2005-09-20  5:01 Ozan Türkyılmaz
  2005-09-20  7:03 ` Mike Swanson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ozan Türkyılmaz @ 2005-09-20  5:01 UTC (permalink / raw)
  To: qemu-devel

what is the major, minor numbers of kqemu under linux ? i need to know
so that i can create the /dev/kqemu file. (kqemu's install script did
not create one under SLackWare 10.1)

-- 
Ozan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] what is the major, minor numbers of kqemu under linux ?
  2005-09-20  5:01 [Qemu-devel] what is the major, minor numbers of kqemu under linux ? Ozan Türkyılmaz
@ 2005-09-20  7:03 ` Mike Swanson
  2005-09-20  8:35   ` Henrik Nordstrom
  2005-09-20  7:06 ` Matteo
  2005-09-20  7:53 ` Henrik Nordstrom
  2 siblings, 1 reply; 6+ messages in thread
From: Mike Swanson @ 2005-09-20  7:03 UTC (permalink / raw)
  To: ozan.turkyilmaz, qemu-devel

It's a character device. Major 250, minor 0

Also, it's important that you don't have the kqemu module loaded when
you create the node.
-- 
Mike

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel]  what is the major, minor numbers of kqemu under linux ?
  2005-09-20  5:01 [Qemu-devel] what is the major, minor numbers of kqemu under linux ? Ozan Türkyılmaz
  2005-09-20  7:03 ` Mike Swanson
@ 2005-09-20  7:06 ` Matteo
  2005-09-20  7:53 ` Henrik Nordstrom
  2 siblings, 0 replies; 6+ messages in thread
From: Matteo @ 2005-09-20  7:06 UTC (permalink / raw)
  To: qemu-devel, ozan.turkyilmaz

mknod /dev/kqemu c 250 0

you should chmod it then in order to use it even if not root.

hope that helps,
Mattéo

Le mardi 20 septembre 2005 à 08:01 +0300, Ozan Türkyılmaz a écrit :
> what is the major, minor numbers of kqemu under linux ? i need to know
> so that i can create the /dev/kqemu file. (kqemu's install script did
> not create one under SLackWare 10.1)
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel]  what is the major, minor numbers of kqemu under linux ?
  2005-09-20  5:01 [Qemu-devel] what is the major, minor numbers of kqemu under linux ? Ozan Türkyılmaz
  2005-09-20  7:03 ` Mike Swanson
  2005-09-20  7:06 ` Matteo
@ 2005-09-20  7:53 ` Henrik Nordstrom
  2 siblings, 0 replies; 6+ messages in thread
From: Henrik Nordstrom @ 2005-09-20  7:53 UTC (permalink / raw)
  To: ozan.turkyilmaz, qemu-devel

On Tue, 20 Sep 2005, [ISO-8859-9] Ozan Türkyýlmaz wrote:

> what is the major, minor numbers of kqemu under linux ? i need to know
> so that i can create the /dev/kqemu file. (kqemu's install script did
> not create one under SLackWare 10.1)

See install.sh or kqemu-doc.html

Regards
Henrik

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] what is the major, minor numbers of kqemu under linux ?
  2005-09-20  7:03 ` Mike Swanson
@ 2005-09-20  8:35   ` Henrik Nordstrom
  2005-09-20 21:17     ` Mike Swanson
  0 siblings, 1 reply; 6+ messages in thread
From: Henrik Nordstrom @ 2005-09-20  8:35 UTC (permalink / raw)
  To: mikeonthecomputer, qemu-devel

On Mon, 19 Sep 2005, Mike Swanson wrote:

> It's a character device. Major 250, minor 0
>
> Also, it's important that you don't have the kqemu module loaded when
> you create the node.

Why? The existence of device nodes is only relevant to user-space, not 
kernel modules (only once the device node exists can user-space contact 
the kernel module)

Regards
Henrik

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] what is the major, minor numbers of kqemu under linux ?
  2005-09-20  8:35   ` Henrik Nordstrom
@ 2005-09-20 21:17     ` Mike Swanson
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Swanson @ 2005-09-20 21:17 UTC (permalink / raw)
  To: qemu-devel

I don't know... I've tried to create the node before, but it only
seems to work when kqemu is not loaded. Perhaps it's a bug, but it's
the way it works, for me at least.

On 9/20/05, Henrik Nordstrom <hno@marasystems.com> wrote:
> Why? The existence of device nodes is only relevant to user-space, not
> kernel modules (only once the device node exists can user-space contact
> the kernel module)
> 
> Regards
> Henrik
> 
-- 
Mike

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-20 21:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-20  5:01 [Qemu-devel] what is the major, minor numbers of kqemu under linux ? Ozan Türkyılmaz
2005-09-20  7:03 ` Mike Swanson
2005-09-20  8:35   ` Henrik Nordstrom
2005-09-20 21:17     ` Mike Swanson
2005-09-20  7:06 ` Matteo
2005-09-20  7:53 ` Henrik Nordstrom

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.