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] Re: [PATCH] Fix qemu-dm segfault when multiple HVMdomain

To: "John Clemens" <jclemens@xxxxxxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [PATCH] Fix qemu-dm segfault when multiple HVMdomains
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Tue, 28 Feb 2006 09:42:17 +0800
Cc: "Li, Xin B" <xin.b.li@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Feb 2006 01:42:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY7xEDAUIj0eTuhTSWdCzFC0zHBmAAQ9aPw
Thread-topic: [Xen-devel] Re: [PATCH] Fix qemu-dm segfault when multiple HVMdomains
So, Keir, can you please check in this patch? 

Thanks
Yunhong Jiang 

>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
>John Clemens
>Sent: Tuesday, February 28, 2006 1:35 AM
>To: Jiang, Yunhong
>Cc: Li, Xin B; xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-devel] Re: [PATCH] Fix qemu-dm segfault when 
>multiple HVMdomains
>
>
>So far, so good.. This patch seems to fix things for me.. I 
>have 4 domains 
>running right now, 2 mostly idle, one running an 'ls -R /' 
>loop in cygwin, 
>and the fourth trudging through a chkdsk so it too is hitting the disk 
>hard.  Domains have been up for about an hour now without any 
>problems, 
>which is a lot longer than before.
>
>Please check it in when you can, and thanks.
>john.c
>
>- --
>John Clemens                   jclemens@xxxxxxxxxxxxxxx
>
>On Mon, 27 Feb 2006, Jiang, Yunhong wrote:
>
>> Hi,  John
>>      Can you try the attached patch ?
>>
>>      This issue can be reproduced on SMP platform, while the domain 0
>> is UP. The reason is, after finishing a dma request, the dma 
>thread will
>> trigger the interrupt and then clear the call back function. 
>When guest
>> get the interrupt , it will try to check the call back 
>function, if it
>> is set, then it will trigger a dma request again. So if the 
>checking for
>> the callbackfunction happens between trigger interrupt and clear
>> callback function on dma thread, it will cause NULL function calling.
>> After with domain 0 UP and smp platform, this situation can be
>> reproduced easily.
>>
>> Thanks
>> Yunhong Jiang
>>
>>
>> This patch fix this issue by placing the interupt request in 
>the end of
>> dma thread.
>>> -----Original Message-----
>>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>>> John Clemens
>>> Sent: Thursday, February 23, 2006 6:12 AM
>>> To: Li, Xin B
>>> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>>> Subject: RE: [Xen-devel] qemu-dm segfault with multiple HVM domains?
>>>
>>>
>>> Thanks, glad to know I'm not the only one seeing this...  
>I've opened
>>> bug 542.
>>>
>>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=542
>>>
>>> john.c
>>>
>>> - --
>>> John Clemens                        jclemens@xxxxxxxxxxxxxxx
>>>
>>> On Thu, 23 Feb 2006, Li, Xin B wrote:
>>>
>>>>> Just verifying that with cs 8932 I still see this problem.
>>>>> I'm able to
>>>>> start multiple windows domains, but either immediately or over
>>>>> time all
>>>>> but one qemu-dm processes segfaults.  This only appears to be
>>>>> a problem
>>>>> when I start multiple windows domains, a single domain seems
>>>>> to work fine.
>>>>>
>>>>> qemu-dm[4961]: segfault at 0000000000000000 rip 
>0000000000000000 rsp
>>>>> 0000000040800198 error 14
>>>>> qemu-dm[4963]: segfault at 0000000000000000 rip 
>0000000000000000 rsp
>>>>> 0000000040800198 error 14
>>>>>
>>>>
>>>> Thanks, I ever met this issue too, but did not pay much 
>attention to
>>>> this :-(
>>>> Can you pls fire a bug?
>>>> -Xin
>>>>
>>>>> john.c
>>>>>
>>>>> - --
>>>>> John Clemens                      jclemens@xxxxxxxxxxxxxxx
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xen-devel mailing list
>>>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>> http://lists.xensource.com/xen-devel
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-devel
>>>
>>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
>

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Re: [PATCH] Fix qemu-dm segfault when multiple HVMdomains, Jiang, Yunhong <=