|
|
|
|
|
|
|
|
|
|
xen-devel
[PATCH] vtdt: add a missing change (RE: [Xen-devel] Re: xen guest hang w
To: |
Christoph Egger <Christoph.Egger@xxxxxxx> |
Subject: |
[PATCH] vtdt: add a missing change (RE: [Xen-devel] Re: xen guest hang with TSC_DEADLINE) |
From: |
"Wei, Gang" <gang.wei@xxxxxxxxx> |
Date: |
Mon, 27 Dec 2010 11:05:41 +0800 |
Accept-language: |
zh-CN, en-US |
Acceptlanguage: |
zh-CN, en-US |
Cc: |
"xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Morgan, KeirX" <keirx.morgan@xxxxxxxxx>, Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx> |
Delivery-date: |
Sun, 26 Dec 2010 19:06:50 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<201012201518.04667.Christoph.Egger@xxxxxxx> |
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<201012171529.56897.Christoph.Egger@xxxxxxx> <F26D193E20BBDC42A43B611D1BDEDE7124EEF2A443@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <201012201518.04667.Christoph.Egger@xxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcugUN9aVmvwCY1STBSU0FdQ2eOq9gFISElw |
Thread-topic: |
[PATCH] vtdt: add a missing change (RE: [Xen-devel] Re: xen guest hang with TSC_DEADLINE) |
Christoph Egger wrote on 2010-12-20:
>>> c/s 22529 and 22530 cause a xen guest hang.
>>>
>>> While "normal" guests like Linux and NetBSD boot fine I boot Xen
>>> itself as a xen guest for my nested virtualization.
>>>
>>> When I do that then the guest dom0 hangs at boot when it tries to
>>> initialize the first vcpu.
>>> The bug is introduced somewhere in c/s 22529 and triggers with c/s 22530.
>>
>> Can you enable apic_timer debug info var hvm_debug and give more
>> serial port log around the guest dom0 hangs? I used to test xen
>> guest, it works well expect that it boot a little bit slowly.
>
> This is the log output I get with TSC_DEADLINE feature enabled:
Just found one change was missed while the whole patch was checked in. Apply
below patch, it should be ok now.
diff -r 0133cf2a72f5 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Fri Dec 24 10:56:29 2010 +0000
+++ b/xen/arch/x86/hvm/vlapic.c Tue Dec 28 16:53:06 2010 +0800
@@ -56,7 +56,7 @@ static unsigned int vlapic_lvt_mask[VLAP
static unsigned int vlapic_lvt_mask[VLAPIC_LVT_NUM] =
{
/* LVTT */
- LVT_MASK | APIC_TIMER_MODE_PERIODIC,
+ LVT_MASK | APIC_TIMER_MODE_MASK,
/* LVTTHMR */
LVT_MASK | APIC_MODE_MASK,
/* LVTPC */
Jimmy
vtdt-fix.patch
Description: vtdt-fix.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|