[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] Allow Xend to find device number for sdX or hdX with udev



Anthony Liguori wrote:
> The follow patch changes Xend to return a device number based on:
>
> http://www.lanana.org/docs/device-list/devices.txt
>
> For sd and hd devices if stat() fails.

I would suggest not using stat() at all, and not using that device
list at all (even though the hd and sd parts are equal ofcourse), but
creating the mapping based on the mapping to the other direction
inside "drivers/xen/blokfront/vbd.c". That file defines the "xvd"
devices in addition to "hd" and "sd" devices.

-- Naked




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.