WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xc_map_foreign_pages(), a convenient alternative

To: "Tian\, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xc_map_foreign_pages(), a convenient alternative to xc_map_foreign_batch()
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Thu, 06 Sep 2007 13:20:13 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Sep 2007 04:20:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B2205@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> (Kevin Tian's message of "Thu\, 6 Sep 2007 16\:49\:55 +0800")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <D470B4E54465E3469E2ABBC5AFAC390F013B2202@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C3057D2C.152F1%Keir.Fraser@xxxxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F013B2205@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
"Tian, Kevin" <kevin.tian@xxxxxxxxx> writes:

>>From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
>>Sent: 2007年9月6日 16:47
>>
>>On 6/9/07 08:44, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>>
>>> Just curious why this can't be fixed in kernel driver? Is there case that
>>> caller is tolerable with partial mapping?
>>
>>We would need an extra command in the kernel driver, as the current
>>partial-success semantics are used appropriately by some callers. Doing
>>it
>>in libxc avoids requiring a kernel upgrade to fix this issue.
>>
>> -- Keir
>
> Interesting... any example I can learn? Yes, compatibility is one concern.
>
> Thanks,
> Kevin

Have a look at qemu_remap_bucket() in tools/ioemu/vl.c.

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