24 messages in com.xensource.lists.xen-devel[Xen-devel] Re: [PATCH][RFC] Emulatin...| From | Sent On | Attachments |
|---|---|---|
| Anthony Liguori | 25 Mar 2007 16:35 | .diff |
| Kamble, Nitin A | 29 Mar 2007 14:17 | |
| Anthony Liguori | 29 Mar 2007 16:24 | |
| Kamble, Nitin A | 29 Mar 2007 16:52 | |
| Anthony Liguori | 29 Mar 2007 17:11 | |
| Kamble, Nitin A | 29 Mar 2007 17:59 | |
| Kamble, Nitin A | 29 Mar 2007 19:19 | |
| Anthony Liguori | 29 Mar 2007 20:20 | |
| Anthony Liguori | 29 Mar 2007 20:55 | |
| Kamble, Nitin A | 30 Mar 2007 11:52 | |
| Anthony Liguori | 30 Mar 2007 11:59 | |
| Kamble, Nitin A | 30 Mar 2007 14:08 | |
| Anthony Liguori | 30 Mar 2007 14:20 | |
| Kamble, Nitin A | 30 Mar 2007 14:24 | |
| Andi Kleen | 30 Mar 2007 14:25 | |
| Anthony Liguori | 30 Mar 2007 15:00 | |
| Andi Kleen | 30 Mar 2007 15:10 | |
| Anthony Liguori | 30 Mar 2007 15:11 | |
| Kamble, Nitin A | 02 Apr 2007 11:45 | |
| Anthony Liguori | 02 Apr 2007 11:53 | |
| Kamble, Nitin A | 02 Apr 2007 16:52 | |
| Keir Fraser | 02 Apr 2007 23:25 | |
| Anthony Liguori | 03 Apr 2007 07:03 | |
| Kamble, Nitin A | 04 Apr 2007 18:23 |
| Subject: | [Xen-devel] Re: [PATCH][RFC] Emulating real mode with x86_emulate![]() |
|---|---|
| From: | Kamble, Nitin A (niti...@intel.com) |
| Date: | 03/29/2007 07:19:51 PM |
| List: | com.xensource.lists.xen-devel |
Hi Anthony,
With the new revision I am able to get the -emulate-16bit command line switch working.
(XEN) HVM2: Creating MP tables ... (XEN) HVM2: Loading Cirrus VGABIOS ... (XEN) HVM2: Loading ACPI ... (XEN) HVM2: Loading VMXAssist ... deadbeef (XEN) HVM2: foo (XEN) hvmop_emulate_realmode (XEN) guest requests real mode emulation (XEN) foo 221 (XEN) HVM2: Invoking ROMBIOS ... (XEN) hvm.c:446:d2 Triple fault on VCPU0 - invoking HVM system reset.
I have not added any debug lines in the code yet, and I don't know how far is the emulator going. I will check it tomorrow.
Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation.
------------------------------------------------------------------------- The mind is like a parachute; it works much better when it's open.
On Thu, 2007-03-29 at 17:59 -0700, Nitin A Kamble wrote:
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.





.diff