]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Add "family" property to X86CPU
authorAndreas Färber <afaerber@suse.de>
Tue, 17 Apr 2012 10:10:29 +0000 (12:10 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Apr 2012 08:51:35 +0000 (10:51 +0200)
commit71ad61d37e612119cca6967484f5feb165a169a4
treeaef91f229a4c4bdd65e5f45036a2c2a241a6f80c
parenta88a677f54e855c0453f06e0347904e4144e1c2b
target-i386: Add "family" property to X86CPU

Add the property early in the initfn so that it can be used in helpers
such as mce_init().

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
[AF: Add an error_free(), spotted by Michael Roth]
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
target-i386/cpu.c