summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm/vmm_host.h
Commit message (Collapse)AuthorAgeFilesLines
* Add virtualized XSAVE support to bhyve which permits guests to use XSAVE andjhb2014-02-081-0/+8
| | | | | | | | | | | | | | | XSAVE-enabled features like AVX. - Store a per-cpu guest xcr0 register. When switching to the guest FPU state, switch to the guest xcr0 value. Note that the guest FPU state is saved and restored using the host's xcr0 value and xcr0 is saved/restored "inside" of saving/restoring the guest FPU state. - Handle VM exits for the xsetbv instruction by updating the guest xcr0. - Expose the XSAVE feature to the guest only if the host has enabled XSAVE, and only advertise XSAVE features enabled by the host to the guest. This ensures that the guest will only adjust FPU state that is a subset of the guest FPU state saved and restored by the host. Reviewed by: grehan
* Corral all the host state associated with the virtual machine into its own file.neel2012-10-291-0/+75
This state is independent of the type of hardware assist used so there is really no need for it to be in Intel-specific code. Obtained from: NetApp
OpenPOWER on IntegriCloud