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] Re: [PATCH][RFC] Emulating real mode with x86_emulate

To: "Anthony Liguori" <aliguori@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH][RFC] Emulating real mode with x86_emulate
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Thu, 29 Mar 2007 17:59:41 -0700
Cc: "Yu, Wilfred" <wilfred.yu@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Delivery-date: Fri, 30 Mar 2007 02:01:00 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <460C55BD.5050202@xxxxxxxxxx>
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: <4607074E.1030807@xxxxxxxxxx> <1175203075.27076.17.camel@xxxxxxxxxxxxxxxxxxxxxxxxxx> <460C4AAE.5020707@xxxxxxxxxx> <1175212362.27076.32.camel@xxxxxxxxxxxxxxxxxxxxxxxxxx> <460C55BD.5050202@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdyZrMcdlP0vJxOTyyEoT1MY/udcA==
Thread-topic: [PATCH][RFC] Emulating real mode with x86_emulate
On Thu, 2007-03-29 at 19:11 -0500, Anthony Liguori wrote:

Okay, you'll need to make sure that hvmloader and qemu are both being 
rebuilt and reinstalled.

I am sure both are built with the patch and installed correctly.

The really curious thing is that eip from the VMCS is set to 0.  eip 
should be address of the EIP of whatever movl cr0 instruction that 
occurs when returning from main() in hvmloader.

I also find that x86_emulate() is never called while emulate_realmode is set in the hypervisor.

I guess it's possible that if you are using a version of unstable that 
predates Keir's recent hvmloader changes, you wouldn't have hvmloader 
switching to real mode.  That could explain some of the weirdness you're 
seeing.  What changeset are you on?
So far I am using: r14560_20070326

Now I am trying with: r14631_20070329

Thanks & Regards,
Nitin
Open Source Technology Center, Intel Corporation.
-------------------------------------------------------------------------
The mind is like a parachute; it works much better when it's open.

Attachment: signature.asc
Description: This is a digitally signed message part

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