]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Emulate IA32_XFD_ERR for guest
authorJing Liu <jing2.liu@intel.com>
Wed, 5 Jan 2022 12:35:24 +0000 (04:35 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jan 2022 18:44:26 +0000 (13:44 -0500)
commit1d966b60f3e1e07545bfc377d33545261be27b07
tree07e97d8652c297707302a9bfebb75920a438fc7e
parentf8fabea728f0a9cea48a99eef89880ad575538f5
kvm: x86: Emulate IA32_XFD_ERR for guest

Emulate read/write to IA32_XFD_ERR MSR.

Only the saved value in the guest_fpu container is touched in the
emulation handler. Actual MSR update is handled right before entering
the guest (with preemption disabled)

Signed-off-by: Jing Liu <jing2.liu@intel.com>
Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Jing Liu <jing2.liu@intel.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20220105123532.12586-14-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c