Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6dFV-0005Wo-DG for qemu-devel@nongnu.org; Mon, 15 Jan 2007 20:36:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6dFU-0005Va-O0 for qemu-devel@nongnu.org; Mon, 15 Jan 2007 20:36:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6dFU-0005VK-D0 for qemu-devel@nongnu.org; Mon, 15 Jan 2007 20:36:28 -0500 Received: from [66.36.233.11] (helo=dc2-web23.assortedinternet.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H6dFU-0002Bq-48 for qemu-devel@nongnu.org; Mon, 15 Jan 2007 20:36:28 -0500 Received: from pool-68-239-8-144.bos.east.verizon.net ([68.239.8.144] helo=[192.168.123.162]) by dc2-web23.assortedinternet.com with esmtpa (Exim 4.52) id 1H6dCc-0003De-C0 for qemu-devel@nongnu.org; Mon, 15 Jan 2007 20:33:30 -0500 Mime-Version: 1.0 Message-Id: From: Tony Nelson Content-Type: text/plain; charset="us-ascii" Subject: [Qemu-devel] KQEMU docs fedora udev rules Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 16 Jan 2007 01:36:29 -0000 To: qemu-devel@nongnu.org In the KQEMU docs at section 2.2 "QEMU Accelerator Installation for Linux", references to /etc/udev/permissions.d/50-udev.permissions no longer apply to Fedora Core 4 and up, as permissions are now part of the regular rules. Instead of a line "kqemu:root:root:0666" in a .permissions file, the udev-rules entry 'KERNEL=="kqemu", NAME="%k", MDOE="0666"' is needed: []# echo 'KERNEL=="kqemu", NAME="%k", MDOE="0666"'\ >/etc/udev/rules.d/60-kqemu.rules I've read that udev used to stop at the first matching rule, so at that time, a "10-" rule would have been needed. Udev now processes all matching rules unless an OPTIONS="last_rule" is found, so this rule file must follow 50-udev.rules in order not to be overridden by 'KERNEL=="*", OWNER="root" GROUP="root", MODE="0600"'. Don't confuse the udev rules with /etc/security/console.perms.d. Console.perms* only apply to the user logged in at the console, while qemu can be used remotely or at the console. At present, on FC6, no rule in console.perms* will match kqemu, so no rule needs to be added there. Note that I am an absolute novice at writing udev rules, and that as I sent this from my old Mac, I have retyped everything from the linux box. -- ____________________________________________________________________ TonyN.:' '