Re: [Qemu-devel] [PATCH 3/8] exec: set cpu_index only if it's been explictly set

2016-07-21 Thread David Gibson
On Thu, Jul 21, 2016 at 05:54:34PM +0200, Igor Mammedov wrote: > it keeps the legacy behavior for all users that doesn't care > about stable cpu_index value, but would allow boards that > would support device_add/device_del to set stable cpu_index > that won't depend on order in which cpus are crea

[Qemu-devel] [PATCH 3/8] exec: set cpu_index only if it's been explictly set

2016-07-21 Thread Igor Mammedov
it keeps the legacy behavior for all users that doesn't care about stable cpu_index value, but would allow boards that would support device_add/device_del to set stable cpu_index that won't depend on order in which cpus are created/destroyed. While at that simplify cpu_get_free_index() as cpu_inde