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-devel] guest state on realmode emulation failure

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] guest state on realmode emulation failure
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Mon, 17 Nov 2008 15:26:31 +0000
Delivery-date: Mon, 17 Nov 2008 07:26:11 -0800
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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Due to a not yet determined reason (data corruption elsewhere most likely)
we're seeing emulation failures. What caught my attention is the
inconsistency of the CS values in this log fragment:

(XEN) realmode.c:132:d4 Failed to emulate insn.
(XEN) realmode.c:174:d4 Real-mode emulation failed @ aa55:0000ffea: cb 80 fa 8f 
7e 02
(XEN) domain_crash called from realmode.c:175
(XEN) Domain 4 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.3.1_18486_01-2.2  x86_32p  debug=n  Not tainted ]----
(XEN) CPU:    0
(XEN) EIP:    f000:[<0000ffea>]
(XEN) EFLAGS: 00000012   CONTEXT: hvm guest
(XEN) eax: 0000aa55   ebx: 00000000   ecx: 000d0000   edx: 00000080
(XEN) esi: 00007e00   edi: 000005cc   ebp: 00000000   esp: 0000ffda
(XEN) cr0: 00000010   cr4: 00000000   cr3: 00000000   cr2: 00000000
(XEN) ds: 0000   es: 07c0   fs: 0000   gs: 0000   ss: 0000   cs: f000

For the register dump to be meaningful I'm therefore wondering whether,
prior to crashing the domain, there shouldn't be a call to
hvm_emulate_writeback().

As a secondary thing, I can't really see how emulation of a real-mode far
return could ever fail with the register state given.

Jan


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

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