summary refs log tree commit diff stats
path: root/scripts/qemu.py
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2016-09-22 17:14:07 -0300
committerEduardo Habkost <ehabkost@redhat.com>2016-09-27 16:17:17 -0300
commit1fda6198e4126af9988754c8824cfc9928649890 (patch)
tree83d8198a5fca5aa8553b174c6ccfaf21b10d4932 /scripts/qemu.py
parent8057c621b1b17cbcb35fe67d1a09ada9055873a9 (diff)
downloadfocaccia-qemu-1fda6198e4126af9988754c8824cfc9928649890.tar.gz
focaccia-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 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions