]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Introduce x86_cpuid_version_set_model()
authorAndreas Färber <afaerber@suse.de>
Fri, 17 Feb 2012 16:46:02 +0000 (17:46 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 15:06:58 +0000 (09:06 -0600)
commitb0704cbd3f261003cac243ab88eaad42210a1b4d
treea874fa30fd0ff8c5fdc6f2b4c5c0307a64b61a05
parented5e1ec3fc00911a2231de8e4c7717aa63a116ab
target-i386: Introduce x86_cpuid_version_set_model()

Move the logic for setting the model and extended model fields
into a helper function.

To make the function self-contained and to prepare for future
unordered/multiple uses, mask out any previous model values first.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpuid.c