]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/kvm.c
target-i386: kvm: Use X86XSaveArea struct for xsave save/load
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 23 Nov 2015 12:43:26 +0000 (10:43 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 May 2016 16:19:36 +0000 (13:19 -0300)
commit86cd2ea071b925d9fa231abb3e0f1ecfb5633f91
tree7529b631535877783c6c2d74b8fea9dde41f2f09
parentee1b09f695dcd8532f470e53297473bd3bc88718
target-i386: kvm: Use X86XSaveArea struct for xsave save/load

Instead of using offset macros and bit operations in a uint32_t
array, use the X86XSaveArea struct to perform the loading/saving
operations in kvm_put_xsave() and kvm_get_xsave().

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/kvm.c