Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 22:47:41 -0700
From:      Cory Smelosky <corys@ixsystems.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Issues with bhyve under KVM
Message-ID:  <7a8d9aeee8a4fa4bdd1afbc850e08543@ixsystems.com>
In-Reply-To: <5629C2DE.4040908@ptree32.com.au>
References:  <061b9d92bf351baa9263279e86513861@ixsystems.com> <78cd6c472dfa583c81442d766e620bf7@ixsystems.com> <56287F01.7060308@freebsd.org> <941285e78b5cd6a3a9283ef1f0068893@ixsystems.com> <5629C2DE.4040908@ptree32.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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