target/i386: Pass buffer and length to XSAVE helper
commitc0198c5f87b6db25712672292e01ab710d6ef631
authorDavid Edmondson <david.edmondson@oracle.com>
Mon, 5 Jul 2021 10:46:28 +0000 (5 11:46 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jul 2021 05:54:53 +0000 (6 07:54 +0200)
tree02d5f74c30df3fc21fd78d3a75875f7c99992305
parentfde74821006472f40fee9a094e6da86cd39b5623
target/i386: Pass buffer and length to XSAVE helper

In preparation for removing assumptions about XSAVE area offsets, pass
a buffer pointer and buffer length to the XSAVE helper functions.

Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Message-Id: <20210705104632.2902400-5-david.edmondson@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.h
target/i386/hvf/hvf.c
target/i386/hvf/x86hvf.c
target/i386/kvm/kvm.c
target/i386/xsave_helper.c