Re: [Qemu-devel] [PATCH v4 18/21] s390x: implement query-hotpluggable-cpus

2017-09-12 Thread Thomas Huth
On 12.09.2017 16:03, David Hildenbrand wrote: > On 12.09.2017 15:43, Igor Mammedov wrote: >> On Mon, 11 Sep 2017 17:21:47 +0200 >> David Hildenbrand wrote: >> >>> CPU hotplug is only possible on a per core basis on s390x. >>> >>> As we now have ms->possible_cpus, we can get rid of the global varia

Re: [Qemu-devel] [PATCH v4 18/21] s390x: implement query-hotpluggable-cpus

2017-09-12 Thread David Hildenbrand
On 12.09.2017 15:43, Igor Mammedov wrote: > On Mon, 11 Sep 2017 17:21:47 +0200 > David Hildenbrand wrote: > >> CPU hotplug is only possible on a per core basis on s390x. >> >> As we now have ms->possible_cpus, we can get rid of the global variable >> cpu_states. >> >> While rewriting s390_cpu_add

Re: [Qemu-devel] [PATCH v4 18/21] s390x: implement query-hotpluggable-cpus

2017-09-12 Thread Igor Mammedov
On Mon, 11 Sep 2017 17:21:47 +0200 David Hildenbrand wrote: > CPU hotplug is only possible on a per core basis on s390x. > > As we now have ms->possible_cpus, we can get rid of the global variable > cpu_states. > > While rewriting s390_cpu_addr2state() completely to be based on > possible_cpus,