tools: assume that special Xen devices have been created by the platform
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Jun 2010 09:54:32 +0000 (10:54 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 2 Jun 2010 09:54:32 +0000 (10:54 +0100)
commitffd4db9a68a04a3502d9240679a272546d81b95e
treeedf88034fa0fd07747e76dc1401ba79b3123d129
parentc1d7e20205d82fa76ef7a84f0af1e01c63b15eb2
tools: assume that special Xen devices have been created by the platform

Remove all the magic surrounding the special Xen devices in Linux
specific code whereby we attempt to figure out what the correct
major:minor number is and check the the existing device has these
numbers etc. In 2010 we really should be able to trust that the
platform has created the devices correctly or provide correct
configuration settings such that they are without resorting to tearing
down the platform configured state and rebuilding it.

tools/hotplug/Linux/xen-backend.rules already contains the necessary
udev rules to create /dev/xen/evtchn and friends in the correct place.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/blktap/drivers/blktapctrl_linux.c
tools/libxc/xc_linux.c