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] add RDMSR/WRMSR instruction emulation toVMXAssis

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction emulation toVMXAssist decoder
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: Thu, 5 Oct 2006 16:54:48 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Oct 2006 08:55:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B30DA1341B0CFA4893EF8A36B40B5C5D359EFF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <B30DA1341B0CFA4893EF8A36B40B5C5D359EFF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
This bug is fixed by xen-unstable 11713:79b56c02b836 -- the VMX code was
not tracking writes to CR4 that happen when CR0.PE=0, so the second vcpu
was being shadowed in the wrong paging mode, and going into a PF loop.

Win2k3 (ee sp1 pae=1 acpi=1 apic=1 vcpus=2) doesn't complete the install
process yet, but gets as far as "Installing Devices" in the GUI
installer now.

Tim.

At 13:07 +0800 on 30 Sep (1159621646), Li, Xin B wrote:
> After applying this patch, while booting a 2 vCPUs PAE SMP Windows 2003 
> server in VMX, I got:
> 
> (XEN) sh error: sh_remove_shadows(): can't find all shadows of mfn 23ecf7 
> (shadow_flags=80000008)
> (XEN) domain_crash called from common.c:2197
> (XEN) Domain 1 (vcpu#0) crashed on cpu#3:
> (XEN) ----[ Xen-3.0-unstable  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    3
> (XEN) RIP:    0008:[<000000008086bf9b>]
> (XEN) RFLAGS: 0000000000010283   CONTEXT: hvm
> (XEN) rax: 0000000000000002   rbx: 00000000821a57a8   rcx: 00000000821a3008
> (XEN) rdx: 0000000000000002   rsi: 00000000821a3020   rdi: 00000000821a54d0
> (XEN) rbp: 00000000f885ebd8   rsp: 00000000f885ea98   r8:  0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 000000008001003b   cr4: 0000000000000671
> (XEN) cr3: 00000000002677a0   cr2: 00000000e1005004
> (XEN) ds: 0023   es: 0023   fs: 0030   gs: 0000   ss: 0010   cs: 0008
> 
> -Xin
> 
> >-----Original Message-----
> >From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> >[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Li, Xin B
> >Sent: 2006?$BG/9?$B7n30?$BF| 12:55
> >To: xen-devel@xxxxxxxxxxxxxxxxxxx
> >Subject: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction 
> >emulation toVMXAssist decoder
> >
> >add RDMSR/WRMSR instruction emulation to VMXAssist decoder
> >
> >AP of PAE SMP windows will use it to set NX bit in EFER.
> >
> >Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
> >
> 
> _______________________________________________
> 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] [PATCH] add RDMSR/WRMSR instruction emulation toVMXAssist decoder, Tim Deegan <=