Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 20:49:17 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Scott Pilz <scottp@solarus.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve - non *bsd guests
Message-ID:  <529579CD.9010509@freebsd.org>
In-Reply-To: <alpine.BSF.2.00.1311262149160.8729@mail.solarus.net>
References:  <alpine.BSF.2.00.1311262149160.8729@mail.solarus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Scott,

>      The error I'm getting is:
>
> VM unrestricted guest capability required
> Error in initializing VM

  It's this one:

 > b) the CPU does not support what I'm trying to do

  Your 5570 CPU is a first-gen Nehalem. These models don't have 
'unrestricted-guest' VT-x support which is required to run code in 
16/32-bit mode with paging disabled. This feature arrived with Westmere 
and successors.

  grub-bhyve boots Linux and OpenBSD in 32-bit "flat" mode - protected 
mode with paging disabled. This can only work if unrestricted-guest is 
supported by the CPU. Other hypervisors work around this by using s/w 
instruction emulation until paging is enabled.

  You'll find the same error if you start up a FreeBSD VM with > 1 vCPU 
since the AP spinup code is started in 16-bit real mode.

  This doesn't show up with a single-vCPU FreeBSD guest since bhyveload 
sets up a 64-bit execution environment for the kernel.

later,

Peter.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?529579CD.9010509>