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

Re: [Xen-devel] xensource (pci) device id's?





On 1/2/07 15:45, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:

>> Ok, how device IDs are allocated?  I'd like to use them to tag virtual
>> devices ...
> 
> ... like this (see attached patch), handing out numbers 2-6 ...

Looks okay. The subvendor device id's can all be the same (e.g., 0x1, as I'm
not sure about validity of 0x0), since disambiguation amongst device types
is already provided by the main vendor/device id's. Then 0x5853/0x0001
becomes our default subvendor 'tag' for identifying Xen-emulated devices,
and we can reserve the right to bump the subvendor device id in future (0x2,
0x3, ...) for each device if some useful-for-guest-to-know aspect of the
device model changes in future (so we basically reserve the right to treat
it as a version number).

Sound reasonable?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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