Issues with bhyve under KVM

Cory Smelosky corys at ixsystems.com
Fri Oct 23 05:36:39 UTC 2015


On 2015-10-22 22:17, Peter Grehan wrote:
> Hi Cory,
> 
>>>  bhyve expects that the CPU supports INS/OUTS exits. This is 
>>> signalled
>>> in bit 54 of the VMX_BASIC MSR. I'll have a talk with Neel about the
>>> implications of ignoring this bit.
>> 
>> Hmm.  Does Linux KVM ignore it?
> 
>  It must do (as did bhyve for a long time).

Ahhhh.

> 
>> (does -host not emulate all MSRs?)
> 
>  Probably just not that bit. You might want to try the this patch
> which comments out that test, and see if it gets you any further.
>      https://people.freebsd.org/~grehan/patches/vmx_ins.diff

--- all_subdir_vmm ---
/usr/src/sys/modules/vmm/../../amd64/vmm/intel/vmx.c:535:11: error: 
unused variable 'basic' [-Werror,-Wunused-variable]
         uint64_t basic, fixed0, fixed1, feature_control;
                  ^
1 error generated.

Aww. I need to actually run a later SVN release instead of 286666.  
Tried to save some time. ;)

> 
> later,
> 
> Peter.

-- 
--
Cory Smelosky
iXsystems


More information about the freebsd-virtualization mailing list