OS-6992: Want hypervisor API for FPU management

Details

Issue Type:Improvement
Priority:4 - Normal
Status:Resolved
Created at:2018-05-31T20:48:53.250Z
Updated at:2018-06-15T17:18:11.492Z

People

Created by:Robert Mustacchi [X]
Reported by:Robert Mustacchi [X]
Assigned to:Robert Mustacchi [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-06-12T22:53:59.760Z)

Fix Versions

2018-06-21 Underwater Reactor (Release Date: 2018-06-21)

Related Issues

Related Links

Description

Today KVM and bhyve each reimplement all of the FPU saving and restoring logic, often duplicating much of the logic elsewhere in the gate. We should centralize the routines and services. This will also make it easier to transparently add support for newer save formats to illumos like xsaves/xsavec without impacting or needing to really change much of the hypervisor code.

Comments

Comment by Robert Mustacchi [X]
Created at 2018-06-12T17:57:09.224Z

To test this we've done the following:


Comment by Robert Mustacchi [X]
Created at 2018-06-12T18:51:11.933Z

Heads up message:

Hi,

If you don't build the platform, you can ignore this message.

With the integration of OS-6992 Want hypervisor API for FPU management, if you update the kvm repo, you will need to make sure that you update illumos-joyent as well. This is primarily done as part of cleaning up and laying the groundwork to be able to run both bhyve and kvm at the same time ala Apple's hypervisor framework. If you have any questions or issues, please let me know.

Thanks,
Robert

Comment by Jira Bot
Created at 2018-06-12T21:06:11.250Z

illumos-joyent commit f7d0086cff41f34796511cdbb454eedbaa8ee9c8 (branch master, by Robert Mustacchi)

OS-6992 Want hypervisor API for FPU management
OS-6999 bhyve should use HMA FPU framework
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>


Comment by Jira Bot
Created at 2018-06-15T17:18:11.492Z

illumos-joyent commit 38aa9e2fd90754a96765866cabd2422a7c12620e (branch release-20180315, by Robert Mustacchi)

OS-6992 Want hypervisor API for FPU management
OS-6999 bhyve should use HMA FPU framework
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>