Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101529 - qemu: Add /etc/modules.d/kqemu for better udev support
Summary: qemu: Add /etc/modules.d/kqemu for better udev support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Luca Barbato
URL: http://fabrice.bellard.free.fr/qemu/k...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-06 03:13 UTC by Alexander Skwar
Modified: 2006-01-07 17:52 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2005-08-06 03:13:18 UTC
The kqemu installation documentation at
http://fabrice.bellard.free.fr/qemu/kqemu-doc.html#SEC4 states:

If your distribution uses udev (like Fedora), use the kqemu module option
major=0 to have the device `/dev/kqemu' automatically created:

# Load the KQEMU kernel module
/sbin/modprobe kqemu major=0


To do this easily, a /etc/modules.d/kqemu file should be created with content:

options kqemu major=0


After installationb of that file, modules-update should be run.
Comment 1 Luca Barbato gentoo-dev 2005-08-06 05:49:13 UTC
There is already a sysfs patch to make udev create the device.
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2005-11-01 03:36:23 UTC
The sysfs patch has been removed since 0.7.1-r1. Currently on a udev only system
(no RC_DEVICE_TARBALL in /etc/conf.d/rc) kqemu fails because /dev/kqemu isn't
created. As Alexander pointed out it is necessary to use the argument 'major=0'.
Comment 3 Luca Barbato gentoo-dev 2005-12-23 06:45:30 UTC
fixed in the separate build
Comment 4 Colin Macdonald 2006-01-07 17:52:56 UTC
Doesn't seem fixed to me.  I still had to add major=0 even after I did a udevstart (I assume this would make it reread the /etc/udev/rules files).