> Er, no. The blkback allocates it's own id, which is passed around between
> them.
But how would you tell the blkback what file it was meant to be accessing
before it allocates that ID.
> The blkback them maps the id into a handle structure, which then has a void
> *data(or a union, if you want) that maintains a pointer to a filename, or
> reference to a block device, then a function dispatch table that knows how
> to handle the requests.
Yup.
Cheers,
Mark
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|