The bulk of these patches were posted by Richard several months ago; I have only refreshed them and made them pass kvm-unit-tests. They also pass a quick Fedora 21 boot-test.
Patch 5 also passes the PKU kvm-unit-test. Paolo Paolo Bonzini (1): target-i386: implement PKE for TCG Richard Henderson (4): target-i386: Split fxsave/fxrstor implementation target-i386: Rearrange processing of 0F 01 target-i386: Add XSAVE extension target-i386: Implement XSAVEOPT target-i386/cpu.c | 44 ++-- target-i386/cpu.h | 10 +- target-i386/fpu_helper.c | 331 +++++++++++++++++++++------ target-i386/helper.c | 61 ++++- target-i386/helper.h | 11 +- target-i386/kvm.c | 16 +- target-i386/misc_helper.c | 32 +++ target-i386/translate.c | 569 +++++++++++++++++++++++++++------------------- 8 files changed, 750 insertions(+), 324 deletions(-) -- 2.5.0