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

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

To make the helper self-contained and in preparation of future
unordered/multiple uses, mask out any previous family values first.

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