Re: [Qemu-devel] [RFC 3/3] cpu: add device_add foo-x86_64-cpu support

2014-05-22 Thread Igor Mammedov
On Tue, 13 May 2014 18:08:49 +0800 Chen Fan wrote: > In order to implement adding cpu with device_add, we should make the > check of APIC ID after object_init(), so add UserCreatable complete > method for checking APIC ID availability, and introduce cpu_physid_mask > for saving occupied APIC ID,

[Qemu-devel] [RFC 3/3] cpu: add device_add foo-x86_64-cpu support

2014-05-13 Thread Chen Fan
In order to implement adding cpu with device_add, we should make the check of APIC ID after object_init(), so add UserCreatable complete method for checking APIC ID availability, and introduce cpu_physid_mask for saving occupied APIC ID, then we could use -device foo-x86_64-cpu without setting apic