Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 22:32:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-virtualization@FreeBSD.org
Subject:   [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM
Message-ID:  <bug-203994-27103-mDcAdQfOKD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203994-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203994-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994

--- Comment #14 from Peter Grehan <grehan@FreeBSD.org> ---
Thanks to those who posted MSR output.

There are 3 issues:

 - the INST/OUTS capability isn't advertised on some KVM versions. I need to
run a simple test to see if this matters or not in this environment. Hopefu=
lly
it won't, and this test can be relaxed.

 - bhyve tests for all variants of INVVPID, but only uses the 2 that are
advertised by KVM. This test will be dropped back to just those 2.

 - bhyve does use both forms of INVEPT, where some versions of KVM only
advertise the coarse version. Since the finer-grained version is just an
optimization, bhyve will be modified to only use the finer-grained version =
if
it is available.

I'll try and get a patch together shortly so these mods can be tested.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203994-27103-mDcAdQfOKD>