|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [RFC] [0/4] User-space grants for Console and XenStore
On 2/5/07 13:29, "Derek Murray" <Derek.Murray@xxxxxxxxxxxx> wrote:
>> It would be nice to have the old method still work, but if you feel
>> the
>> need to there's no problem in dropping the old code. We're always
>> playing catch-up anyway...
>
> One possibility would be to have a Makefile option that controls
> whether or not xc_map_foreign_range() is available, and swaps out the
> calls for xc_gnttab_map_grant_ref() where necessary. That way, if/
> when Solaris gets gntdev, it will be easy to swap in the new code,
> and nothing will be broken in the mean time. I'd also be willing to
> provide any support needed for porting gntdev to Solaris.
It should be easy to support the old way and choose dynamically at run time.
We should somehow tag the values passed to or stored in xenstore explicitly
as being grant-refs, at the very least.
I would like to continue to avoid dependence on particular dom0 kernel
features, so new tool stack on old kernel (with no gnttab driver) should
really continue to work.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|