Keir,
I have applied your patch, and it seemed to work. However, the domain still crashes, and now it looks like it's because of the 'LTR' instruction.
The (new) error i am receiving is:
(XEN) HVM1: Booting from Hard Disk...
(XEN) HVM1: Booting from 0000:7c00
(XEN) realmode.c:115:d1 Failed to emulate insn.
(XEN) realmode.c:165:d1 Real-mode emulation failed @ 1eae:00000797: 0f 00 d8 66 b8 8e
(XEN) domain_crash called from realmode.c:166
(XEN) Domain 1 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.4.0-rc3-pre  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    1eae:[<0000000000000797>]
(XEN) RFLAGS: 0000000000004086   CONTEXT: hvm guest
(XEN) rax: 0000000000000050   rbx: 0000000000000007   rcx: 0000000000100000
(XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 0000000000000000
(XEN) rbp: 0000000000008ebf   rsp: 0000000000017a5e   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 0000000000000011   cr4: 0000000000000000
(XEN) cr3: 0000000000000000   cr2: 0000000000000000
(XEN) ds: 0068   es: 0068   fs: 0068   gs: 0068   ss: 0070   cs: 1eae
Tom
2009/4/22 Keir Fraser 
<keir.fraser@xxxxxxxxxxxxx>
On 22/04/2009 09:50, "Tom Rotenberg" <
tom.rotenberg@xxxxxxxxx> wrote:
> AFAIK, the PointSec is trying to load his UI (which is probably coded in
> realmode) in this stage, and i guess that some of the instrctions he uses
> aren't emulated in Xen.
>
> I am using xen-unstable, changeset: 19553 (from April 16), and the machione i
> am working on, is a Lenovo T500.
>
> Can someone please help me with this, as i am not really familiar with the
> real mode emulation code?
 We don't emulate LLDT at the moment. Try the attached patch.
 -- Keir