All of lore.kernel.org
 help / color / mirror / Atom feed
* Booting ESXi from within KVM
@ 2008-08-23 21:31 Ian Kirk
  2008-08-24 14:27 ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Kirk @ 2008-08-23 21:31 UTC (permalink / raw)
  To: kvm

Having given up getting normal ESX booting from within KVM, I thought i'd
give ESXi a go.

PXE booting the hypervisor image outside of KVM I have working fine.

When trying within KVM i had a few issues:

The 'vmport' breaks ESXi, so for now I commented out vmport_init();

Then it complains about the CPU model_id, so I copy pasted it from my
host.

Now it gives an error that I don't quite understand:

No pages allocated to Node 0 -- big mismatch between BIOS and SRAT memory
maps, or MTRR error, or user removed all memory from a Node. Try checking
memory or upgrading BIOS.

I've tried removing some of the reported CPU capabilities (e.g. MTRR) from
qemu/target-i386/helper.c, but unsure if that makes any difference.

Command line:

qemu-system-x86_64 -m 512 -std-vga -boot n -net nic -net tap -curses -k en-gb -localtime

(Have tried a few including with/without ACPI)

I've hardcoded the model_id to be "AMD Athlon(tm) 64 X2 Dual Core
Processor 3800+" (the host).

Using an (almost) up to date kvm-userspace.git and its kvm kernel.

How can I try to debug what ESXi is trying to ask for?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Booting ESXi from within KVM
  2008-08-23 21:31 Booting ESXi from within KVM Ian Kirk
@ 2008-08-24 14:27 ` Avi Kivity
  2008-08-24 20:02   ` Ian Kirk
  0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2008-08-24 14:27 UTC (permalink / raw)
  To: Ian Kirk; +Cc: kvm

Ian Kirk wrote:
> Having given up getting normal ESX booting from within KVM, I thought i'd
> give ESXi a go.
>
> PXE booting the hypervisor image outside of KVM I have working fine.
>
> When trying within KVM i had a few issues:
>
> The 'vmport' breaks ESXi, so for now I commented out vmport_init();
>
> Then it complains about the CPU model_id, so I copy pasted it from my
> host.
>
> Now it gives an error that I don't quite understand:
>
> No pages allocated to Node 0 -- big mismatch between BIOS and SRAT memory
> maps, or MTRR error, or user removed all memory from a Node. Try checking
> memory or upgrading BIOS.
>
>   

Older kvm versions did not support mtrr properly.  what kvm are you running?



-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Booting ESXi from within KVM
  2008-08-24 14:27 ` Avi Kivity
@ 2008-08-24 20:02   ` Ian Kirk
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Kirk @ 2008-08-24 20:02 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

Avi Kivity wrote:

> > No pages allocated to Node 0 -- big mismatch between BIOS and SRAT
> > memory maps, or MTRR error, or user removed all memory from a Node.
> > Try checking memory or upgrading BIOS.
>
> Older kvm versions did not support mtrr properly.  what kvm are you
> running?

Pretty much the latest git version for testing purposes.

I just re-tried with vanilla kvm-73, and after disabling vmport_init() and
hardcoding the CPU model_id I get the same error/problem.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-24 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-23 21:31 Booting ESXi from within KVM Ian Kirk
2008-08-24 14:27 ` Avi Kivity
2008-08-24 20:02   ` Ian Kirk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.