target-i386: Require APIC ID to be explicitly set before CPU realize
commite1356dd70aef11425883dd4d2885f1d208eb9d57
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 19 Dec 2014 01:31:11 +0000 (18 23:31 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 25 Feb 2015 18:00:07 +0000 (25 15:00 -0300)
tree8c299f0eb3dd5195ac475abf03ebbf6f39dda374
parent9c235e83f1c3437be6ca45755909efb745c10deb
target-i386: Require APIC ID to be explicitly set before CPU realize

Instead of setting APIC ID automatically when creating a X86CPU, require
the property to be set before realizing the object (which all callers of
cpu_x86_create() already do).

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu-qom.h
target-i386/cpu.c