Re: [Qemu-devel] [PATCH] target-i386/kvm.c: Fix the order of FPU registers in xsave

2016-02-10 Thread Asia Slowinska
the elements in a proper order. Signed-off-by: Asia Slowinska <a...@lastline.com> --- target-i386/kvm.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 94024bc..a9e6c75 100644 --- a/target-i386/kvm.c +++ b/target-i386

[Qemu-devel] [PATCH] target-i386/kvm.c: Fix the order of FPU registers in xsave

2016-02-10 Thread Asia Slowinska
that the first field of the buffer is ST0, then ST1, and so on. QEMU maintains a circular buffer. When preparing these 80 bytes for KVM, QEMU just uses memcpy instead of copying the elements in a proper order. Signed-off-by: Asia Slowinska <a...@lastline.com> --- target-i386/kvm.