Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2016-01-11 Thread David Gibson
On Wed, Dec 16, 2015 at 06:22:20PM +0100, Igor Mammedov wrote: > On Wed, 16 Dec 2015 16:57:54 +0100 > Andreas Färber wrote: > > > Am 16.12.2015 um 16:44 schrieb Igor Mammedov: > > > On Wed, 16 Dec 2015 16:19:06 +0100 > > > Andreas Färber wrote: > > > > > >>

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2016-01-04 Thread Igor Mammedov
On Fri, 1 Jan 2016 09:17:48 +0530 Bharata B Rao wrote: > On Wed, Dec 16, 2015 at 04:46:37PM +0100, Andreas Färber wrote: > > Am 10.12.2015 um 13:35 schrieb Igor Mammedov: > > > wrt CLI can't we do something like this? > > > > > > -device

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-31 Thread Bharata B Rao
On Wed, Dec 16, 2015 at 04:46:37PM +0100, Andreas Färber wrote: > Am 10.12.2015 um 13:35 schrieb Igor Mammedov: > > wrt CLI can't we do something like this? > > > > -device some-cpu-model,socket=x[,core=y[,thread=z]] > > That's problematic and where my x86 remodeling got stuck. It works fine >

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-29 Thread Igor Mammedov
On Thu, 24 Dec 2015 09:59:53 +0800 Zhu Guihua wrote: > > On 12/17/2015 05:58 AM, Igor Mammedov wrote: > > On Wed, 16 Dec 2015 16:46:37 +0100 > > Andreas Färber wrote: > > > >> Am 10.12.2015 um 13:35 schrieb Igor Mammedov: > >>> wrt CLI can't we do

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-23 Thread Zhu Guihua
On 12/17/2015 05:58 AM, Igor Mammedov wrote: On Wed, 16 Dec 2015 16:46:37 +0100 Andreas Färber wrote: Am 10.12.2015 um 13:35 schrieb Igor Mammedov: wrt CLI can't we do something like this? -device some-cpu-model,socket=x[,core=y[,thread=z]] That's problematic and where

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-17 Thread Peter Krempa
On Wed, Dec 16, 2015 at 16:11:08 +0100, Igor Mammedov wrote: > On Fri, 11 Dec 2015 09:27:57 +0530 > Bharata B Rao wrote: > > > On Thu, Dec 10, 2015 at 01:35:05PM +0100, Igor Mammedov wrote: > > > On Thu, 10 Dec 2015 11:45:35 +0530 > > > Bharata B Rao

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Igor Mammedov
On Wed, 16 Dec 2015 16:57:54 +0100 Andreas Färber wrote: > Am 16.12.2015 um 16:44 schrieb Igor Mammedov: > > On Wed, 16 Dec 2015 16:19:06 +0100 > > Andreas Färber wrote: > > > >> Am 10.12.2015 um 07:15 schrieb Bharata B Rao: > >>> CPU hotplug granularity >

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Igor Mammedov
On Wed, 16 Dec 2015 18:22:20 +0100 Igor Mammedov wrote: > On Wed, 16 Dec 2015 16:57:54 +0100 > Andreas Färber wrote: [...] > > > > Attendees in Seattle said that thread-level hot-plug were dangerous > > for Linux guests due to assumptions in the (guest's)

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Igor Mammedov
On Wed, 16 Dec 2015 16:46:37 +0100 Andreas Färber wrote: > Am 10.12.2015 um 13:35 schrieb Igor Mammedov: > > wrt CLI can't we do something like this? > > > > -device some-cpu-model,socket=x[,core=y[,thread=z]] > > That's problematic and where my x86 remodeling got stuck. It

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Igor Mammedov
On Fri, 11 Dec 2015 09:27:57 +0530 Bharata B Rao wrote: > On Thu, Dec 10, 2015 at 01:35:05PM +0100, Igor Mammedov wrote: > > On Thu, 10 Dec 2015 11:45:35 +0530 > > Bharata B Rao wrote: > > > > > Hi, > > > > > > This is an attempt to

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Andreas Färber
Am 15.12.2015 um 06:27 schrieb Zhu Guihua: > >>> and allow individual targets to use its own way to build CPUs? >>> >>> For initial conversion of x86-cpus to device-add we could do pretty >>> much the same like we do now, where cpu devices will appear under: >>> /machine (pc-i440fx-2.5-machine)

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Igor Mammedov
On Wed, 16 Dec 2015 16:19:06 +0100 Andreas Färber wrote: > Am 10.12.2015 um 07:15 schrieb Bharata B Rao: > > CPU hotplug granularity > > --- > > CPU hotplug will now be done in cpu-core device granularity. > > Nack. > > > Are there archs that would need

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Andreas Färber
Am 10.12.2015 um 07:15 schrieb Bharata B Rao: > CPU hotplug granularity > --- > CPU hotplug will now be done in cpu-core device granularity. Nack. > Are there archs that would need thread level CPU addition ? Yes, s390. And for x86 people called for socket level. Andreas

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Andreas Färber
Am 10.12.2015 um 13:35 schrieb Igor Mammedov: > wrt CLI can't we do something like this? > > -device some-cpu-model,socket=x[,core=y[,thread=z]] That's problematic and where my x86 remodeling got stuck. It works fine (more or less) to model sockets, cores and hyperthreads for -smp, but doing it

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-16 Thread Andreas Färber
Am 16.12.2015 um 16:44 schrieb Igor Mammedov: > On Wed, 16 Dec 2015 16:19:06 +0100 > Andreas Färber wrote: > >> Am 10.12.2015 um 07:15 schrieb Bharata B Rao: >>> CPU hotplug granularity >>> --- >>> CPU hotplug will now be done in cpu-core device granularity.

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-14 Thread Zhu Guihua
and allow individual targets to use its own way to build CPUs? For initial conversion of x86-cpus to device-add we could do pretty much the same like we do now, where cpu devices will appear under: /machine (pc-i440fx-2.5-machine) /unattached (container) /device[x] (qemu64-x86_64-cpu)

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-13 Thread Bharata B Rao
On Thu, Dec 10, 2015 at 03:25:53PM -0500, Matthew Rosato wrote: > On 12/10/2015 01:15 AM, Bharata B Rao wrote: > > Hi, > > > > This is an attempt to define a generic CPU device that serves as a > > containing device to underlying arch-specific CPU devices. The motivation > > for this is to have

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-10 Thread Matthew Rosato
On 12/10/2015 01:15 AM, Bharata B Rao wrote: > Hi, > > This is an attempt to define a generic CPU device that serves as a > containing device to underlying arch-specific CPU devices. The motivation > for this is to have an arch-neutral way to specify CPUs mainly during > hotplug. > > Instead of

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-10 Thread Bharata B Rao
On Thu, Dec 10, 2015 at 01:35:05PM +0100, Igor Mammedov wrote: > On Thu, 10 Dec 2015 11:45:35 +0530 > Bharata B Rao wrote: > > > Hi, > > > > This is an attempt to define a generic CPU device that serves as a > > containing device to underlying arch-specific CPU

Re: [Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-10 Thread Igor Mammedov
On Thu, 10 Dec 2015 11:45:35 +0530 Bharata B Rao wrote: > Hi, > > This is an attempt to define a generic CPU device that serves as a > containing device to underlying arch-specific CPU devices. The > motivation for this is to have an arch-neutral way to specify CPUs

[Qemu-devel] [RFC PATCH v0 0/9] Generic cpu-core device

2015-12-09 Thread Bharata B Rao
Hi, This is an attempt to define a generic CPU device that serves as a containing device to underlying arch-specific CPU devices. The motivation for this is to have an arch-neutral way to specify CPUs mainly during hotplug. Instead of individual archs having their own semantics to specify the