Re: [Qemu-devel] [PATCH 03/14] target-i386: Add XSAVE extension

2015-07-09 Thread Paolo Bonzini
On 09/07/2015 10:17, Richard Henderson wrote: > diff --git a/target-i386/kvm.c b/target-i386/kvm.c > index daced5c..f057982 100644 > --- a/target-i386/kvm.c > +++ b/target-i386/kvm.c > @@ -1541,16 +1541,22 @@ static int kvm_get_sregs(X86CPU *cpu) > #define HFLAG_COPY_MASK \ > ~( HF_CPL_MASK

[Qemu-devel] [PATCH 03/14] target-i386: Add XSAVE extension

2015-07-09 Thread Richard Henderson
This includes XSAVE, XRSTOR, XGETBV, XSETBV, which are all related, as well as the associate cpuid bits. Signed-off-by: Richard Henderson --- target-i386/cpu.c| 39 +-- target-i386/cpu.h| 2 + target-i386/fpu_helper.c | 123 +