Project

General

Profile

Actions

Bug #13338

closed

bhyve should be able to emulate CLTS

Added by Patrick Mooney over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
bhyve
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

When shadowing %cr0, it becomes necessary to do instruction emulation for certain %cr0 accesses. SVM has decoding assists for mov-to-cr and mov-from-cr, but CLTS is not covered by it. Unlike SMSW and LMSW, which do not appear to see much modern use, CLTS is often used for FPU-related handling in modern OSes. In order for Bug #13256: bhyve should shadow %cr0 on AMD to be feasible, the instruction emulation in bhyve must be capable of handling CLTS.


Related issues

Related to illumos gate - Bug #13256: bhyve should shadow %cr0 on AMDClosedPatrick Mooney

Actions
Actions

Also available in: Atom PDF