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

[Xen-devel] Re: new gnttab_end_foreign_access?


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: NAHieu <nahieu@xxxxxxxxx>
  • Date: Thu, 3 Nov 2005 14:11:39 +0900
  • Delivery-date: Thu, 03 Nov 2005 05:08:48 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BNzp3hsp+GAGMdDYJ8XiRprFR4gWdMBp7fQoImJWUtir2y7v4IiuWfyWJp5M5eGqg7iD/giAe80SVdhnfSC+0KE6QfLJbvA46G6Nq1m7pmTL2gvVNlKynS2PE/HTij8nbnBKmfJOsAJNzDcUgvCI+HcKO9Tx1t+wPOrIuxJfIOg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 11/3/05, NAHieu <nahieu@xxxxxxxxx> wrote:
> I have one more question:why gnttab_end_foreign_access_ref(grant_ref_t
> ref, int readonly) needs the "readonly" arg?
>
> Is gnttab_end_foreign_access_ref(grant_ref_t ref) not OK?
>


I took another look, and it seems we should remove "readonly" arg of
gnttab_end_foreign_access*, as they are not in use.

So those  API should be:

int gnttab_end_foreign_access_ref(grant_ref_t ref);
void gnttab_end_foreign_access(grant_ref_t ref, unsigned long page);


I still have some doubt about the "page" arg, however.

Thanks
Hieu

_______________________________________________
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®.