cpu: Introduce CPUClass::parse_features() hook
commit94a444b295cddad008483eb928925a793af5aa9b
authorAndreas Färber <afaerber@suse.de>
Mon, 3 Mar 2014 22:19:19 +0000 (3 23:19 +0100)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 18:20:45 +0000 (13 19:20 +0100)
treedb419c4cd3a8b241d8511719292a72a469991789
parentd940ee9b787d37a9ea90f4379a79825ade08bb05
cpu: Introduce CPUClass::parse_features() hook

Adapt the X86CPU implementation to suit the generic hook.
This involves a cleanup of error handling to cope with NULL errp.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qom/cpu.h
target-i386/cpu.c