diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2016-09-22 17:14:07 -0300 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-09-27 16:17:17 -0300 |
commit | 1fda6198e4126af9988754c8824cfc9928649890 (patch) | |
tree | 83d8198a5fca5aa8553b174c6ccfaf21b10d4932 /spice-qemu-char.c | |
parent | 8057c621b1b17cbcb35fe67d1a09ada9055873a9 (diff) | |
download | qemu-1fda6198e4126af9988754c8824cfc9928649890.zip |
target-i386: xsave: Helper function to calculate xsave area size
Move the xsave area size calculation from cpu_x86_cpuid() inside
its own function. While doing it, change it to use the XSAVE area
struct sizes for the initial size, instead of the magic 0x240
number.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'spice-qemu-char.c')
0 files changed, 0 insertions, 0 deletions