[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [hybrid]: unable to boot hvm due to eflags.ID

On Fri, 4 May 2012 10:08:22 +0100
Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:

> Are you sure code in cpucheck.c is even being called for the PV/dom0
> case? I'm reasonably sure that PV Xen boot doesn't go anywhere near
> arch/x86/boot -- we have a totally different entry point.

I didn't make myself clear (rushing to type email and leave with a 
brain fried from debugging all day :).) 

I'm talking about HVM domU on PV/dom0.

Basically, I've the PV linux kernel modified for hybrid. I can boot it
as both hybrid domU (say Lu) and hybrid dom0 (say L0).

  Orig/normal PV DOM0: Lu boots in hybrid mode, PV mode, HVM mode.
  L0 as Dom0: Lu boots in hybrid mode, PV mode but in  HVM mode fails.

  HVM mode is failing because very early during boot its failing the 
  eflags.ID test, which should be simple. It should be running
  in real mode in the VMX. I just got outb working, so I can debug
  further now. It's not doing vmexit's so should be running in the
  'unrestricted mode' in the container, which is why i'm baffled.
   Anyways, i'll dig further.

thanks a lot,

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.