]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Intercept guest XSETBV instruction in AMD-V
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Sun, 28 Sep 2014 12:35:46 +0000 (18:35 +0600)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 1 Nov 2014 19:10:09 +0000 (20:10 +0100)
commit5e3ddd37345e4b3ea8cfcb4f8870a790f9fe0c2a
tree9582d01a46e0364df0ca8eb00f9564d3c18676c5
parentaf3378d2eac58d8792f22d01bd7a634b02a2159b
x86: Intercept guest XSETBV instruction in AMD-V

This adds XSETBV instruction emulation. The code is almost the same as in
VMX, and is barely tested as the instruction is rarely used in real-world
scenarios.

Signed-off-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/svm.c