OS-6861: bhyve should flush register state on vmx exit

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2018-04-01T20:05:10.871Z
Updated at:2018-04-16T15:23:31.666Z

People

Created by:Patrick Mooney [X]
Reported by:Patrick Mooney [X]
Assigned to:Patrick Mooney [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-04-16T15:23:31.657Z)

Fix Versions

2018-04-12 Promised Land (Release Date: 2018-04-12)

Related Links

Labels

bhyve

Description

FreeBSD had an upstream bug to address guest register state potentially influencing VMX codepaths after a guest entry: https://reviews.freebsd.org/D13919

We should port this same mitigation into our vmx_enter_guest routine.

Comments

Comment by Patrick Mooney [X]
Created at 2018-04-02T18:40:47.795Z

I fired up a PI with the proposed change and it seemed to run contently.


Comment by Jira Bot
Created at 2018-04-03T15:59:17.635Z

illumos-joyent commit d7c531a2a2da0161df2cf044f19dc53e35af2dc1 (branch master, by Patrick Mooney)

OS-6861 bhyve should flush register state on vmx exit
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>