From: tgh Subject: Re: Missing checks for xc_map_foreign_range() failure Date: Thu, 24 Jan 2008 10:17:45 +0800 Message-ID: <4797F549.6070501@sina.com.cn> References: <874pifrbko.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <874pifrbko.fsf@pike.pond.sub.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org hi what is the function of the xc_map_foreign_range(), what does it work=20 for ? could you give me someexplanation or example about it , i=20 encounter it in the code of xc_domain_save(), and confused about the=20 function of it,could you help me Thanks in advance Markus Armbruster =E5=86=99=E9=81=93: > Keir Fraser writes: > > =20 >> On 31/8/07 15:06, "Markus Armbruster" wrote: >> >> =20 >>> Other, more naive uses would profit from a less awkward convenience >>> function that either succeeds completely or fails completely. As far >>> as I can see, these uses all neglect to check for the second failure >>> mode so far. Potential crash bugs. >>> =20 >> Yes, that makes sense. Are you proposing to make a patch? >> =20 > > Happy to do that :) > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > =20