On 09/23/2016 12:45 PM, Eduardo Habkost wrote:
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.Signed-off-by: Eduardo Habkost <[email protected]> --- target-i386/cpu.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
