[PATCH 0/2] KVM: x86: emulate fxsave and fxrstor

From: Radim KrÄmÃÅ
Date: Wed Oct 26 2016 - 16:50:48 EST


[1/2] adds the emulation (and could be split into two patches if you'd like),
[2/2] just refactors the code.

This should fix an issue that users are hitting. Laszlo found several reports:
- https://bugs.launchpad.net/qemu/+bug/1623276
- https://bugzilla.proxmox.com/show_bug.cgi?id=1182
- https://bugs.archlinux.org/task/50778

I have only tested it with a simple kvm-unit-tests, though. Reproducing the
iPXE issue is on the way ...


Radim KrÄmÃÅ (2):
KVM: x86: emulate fxsave and fxrstor
KVM: x86: save one bit in ctxt->d

arch/x86/kvm/emulate.c | 110 ++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 94 insertions(+), 16 deletions(-)

--
2.10.1