qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] --resend-- Major 254 to Major 250
@ 2005-02-11 23:17 Darryl Dixon
  2005-02-11 23:40 ` [Qemu-devel] [PATCH] Major 254 Jim C. Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Darryl Dixon @ 2005-02-11 23:17 UTC (permalink / raw)
  To: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 249 bytes --]

Email formatting mashed the previous patch I sent in, so please find
attached a new copy which works around the 'could not major 254' error
by moving the kqemu device to major 250.

Cheers,
-- 
Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>

[-- Attachment #1.2: Type: text/html, Size: 644 bytes --]

[-- Attachment #2: major_250.patch --]
[-- Type: text/x-patch, Size: 707 bytes --]

diff -ru qemu/kqemu/install.sh qemu_major250/kqemu/install.sh
--- qemu/kqemu/install.sh	2005-02-11 11:10:28.000000000 +1300
+++ qemu_major250/kqemu/install.sh	2005-02-12 11:23:14.000000000 +1300
@@ -20,5 +20,5 @@
 # Create the kqemu device. No special priviledge is needed to use kqemu.
 device="/dev/kqemu"
 rm -f $device
-mknod $device c 254 0
+mknod $device c 250 0
 chmod 666 $device
diff -ru qemu/kqemu/kqemu.h qemu_major250/kqemu/kqemu.h
--- qemu/kqemu/kqemu.h	2005-02-11 11:10:28.000000000 +1300
+++ qemu_major250/kqemu/kqemu.h	2005-02-12 11:23:30.000000000 +1300
@@ -1,7 +1,7 @@
 #ifndef KQEMU_H
 #define KQEMU_H
 
-#define KQEMU_MAJOR 254
+#define KQEMU_MAJOR 250
 
 #define KQEMU_VERSION 0x010000

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

end of thread, other threads:[~2005-02-12  1:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-11 23:17 [Qemu-devel] [PATCH] --resend-- Major 254 to Major 250 Darryl Dixon
2005-02-11 23:40 ` [Qemu-devel] [PATCH] Major 254 Jim C. Brown
2005-02-12  0:43   ` Darryl Dixon
2005-02-12  1:06     ` Jim C. Brown
2005-02-12  1:21     ` Mark Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).