Fix qemu-dm segfault when multiple HVMdomains
So, Keir, can you please check in this patch?
Thanks
Yunhong Jiang
Quoted 123 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John Clemens
Sent: Tuesday, February 28, 2006 1:35 AM
To: Jiang, Yunhong
Cc: Li, Xin B; [email protected]
Subject: [Xen-devel] Re: [PATCH] Fix qemu-dm segfault when multiple HVMdomainsSo 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 [email protected]Quoted 5 lines · Yunhong
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 dmathread will
Quoted 1 line
trigger the interrupt and then clear the call back function.
When guest
Quoted 1 line
get the interrupt , it will try to check the call back
function, if it
Quoted 1 line
is set, then it will trigger a dma request again. So if the
checking for
Quoted 10 lines
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 JiangThis patch fix this issue by placing the interupt request in
the end of
Quoted 12 lines
dma thread.
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John Clemens
Sent: Thursday, February 23, 2006 6:12 AM
To: Li, Xin B
Cc: [email protected]
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
Quoted 20 lines
Quoted 20 lines
bug 542.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=542
john.c- --
John Clemens [email protected]Quoted 9 lines · Xin B
Quoted 9 lines
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.Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
qemu-dm[4961]: segfault at 0000000000000000 rip
0000000000000000 rsp
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
0000000040800198 error 14
qemu-dm[4963]: segfault at 0000000000000000 rip0000000000000000 rsp
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
0000000040800198 error 14
Thanks, I ever met this issue too, but did not pay much
attention to
Quoted 17 lines
Quoted 17 lines
Quoted 16 lines
this :-(
Can you pls fire a bug?
-XinQuoted 11 lines
john.c- --
John Clemens [email protected]_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-develQuoted 6 lines
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel