target-i386: Pass X86CPU to cpu_x86_register()
commit61dcd775785b07a5e0c3858b67aa356b87543710
authorAndreas Färber <afaerber@suse.de>
Tue, 17 Apr 2012 10:00:51 +0000 (17 12:00 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Apr 2012 08:51:35 +0000 (25 10:51 +0200)
tree3167ec34ad1cb53a941f485c216698c154093990
parentd0a6acf456a2497ce9f70f8366a5b405745ba279
target-i386: Pass X86CPU to cpu_x86_register()

Avoids an x86_env_get_cpu() call there, to work with QOM properties.

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