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

[Xen-ia64-devel] RE: [Xen-devel] [PATCH] Fix DMA emualtion for ia64.

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] RE: [Xen-devel] [PATCH] Fix DMA emualtion for ia64.
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Sat, 9 May 2009 09:51:46 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-ia64-devel@xxxxxxxxxxxxxxxxxxx" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 May 2009 18:52:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18948.23808.340818.969311@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <706158FABBBA044BAD4FE898A02E4BC236B18D97@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <18948.23808.340818.969311@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnP+d8qUjAR0Xw6SXKmiZPfzybz3QATalNQ
Thread-topic: [Xen-devel] [PATCH] Fix DMA emualtion for ia64.
Ian Jackson wrote:
> Zhang, Xiantao writes ("[Xen-devel] [PATCH] Fix DMA emualtion for
> ia64."): 
>>     In Xen3.4-RC3, we found a regression for creating hvm domains
>> and this issue is discussed in the thread
>> http://www.nabble.com/A-strange-issue-when-VTI-guest-vcpus-number-is-near-pcpus-td23400397.html.
>> This patch is a key fix for Xen-3.4. Without this patch, all hvm
>> guests 
>> maybe crash during booting stage. Could you help to apply it for
>> next release?  Thanks!
> 
> Thanks for the report and the patch, which I'm applying.  But I did
> have some questions.
> 
> These changes are largely to code which we've inherited unchanged from
> upstream qemu.  Are they specific to Xen ?  I suspect not.  I don't
> really know about the icache coherency rules in ia64 but it seems to
> me that if this patch is appropriate for qemu-dm on ia64, it's
> probably also appropriate for kvm-userpace on ia64 (if indeed there is
> such a thing) and perhaps also for ordinary translating cpu-emulating
> qemu.

Yes, it is comment issue for qemu-dm, kvm-userspace and qemu upstream. And we 
will push the patch to qemu upstream, and also needs to find a clean solution 
for that. As I know, only ia64 platform has such requirement for icache 
coherence. 


> In which case perhaps it would be good for us to discuss with qemu
> upstream how to address this question.  I don't think the #ifdef
> __ia64__ can be right outside the Xen context; for one thing, we
> should use a symbol related to specifically to either the host or the
> target architecture (which may be different in qemu of course).  I
> assume that the problem exists related to ia64 hosts, rather than ia64
> guests ?

Since TARGET_IA64 doesn't work in the context, so I just use __ia64__ instead. 
As you said, it maybe not proper for all cases of host and guests, but you know 
qemu doesn't work for ia64 regardless of hosts and guests.  That is to say, Xen 
or kvm only uses qemu's device model for virtual device emualtion, and other 
parts doesn't work for them. Certainly, we should find a clean solution to fix 
it when we will enable guest and host support in future. 
Xiantao 








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

<Prev in Thread] Current Thread [Next in Thread>