Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-08 Thread Andreas Färber
Am 08.11.2013 15:57, schrieb Alexey Kardashevskiy: > On 11/09/2013 12:20 AM, Andreas Färber wrote: > >> When I am finally through with review of Igor's patches then he can >> implement that for x86 and we/you can copy or adapt it for ppc. No need >> to do big experiments for a concretely needed pp

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-08 Thread Alexey Kardashevskiy
On 11/09/2013 12:20 AM, Andreas Färber wrote: > When I am finally through with review of Igor's patches then he can > implement that for x86 and we/you can copy or adapt it for ppc. No need > to do big experiments for a concretely needed ppc feature. Does it mean I better stop wasting your time a

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-08 Thread Andreas Färber
Am 08.11.2013 09:22, schrieb Alexey Kardashevskiy: > On 11/08/2013 12:36 AM, Igor Mammedov wrote: >> On Thu, 7 Nov 2013 20:11:51 +1100 >> Alexey Kardashevskiy wrote: >> >>> On 11/06/2013 12:53 AM, Andreas Färber wrote:> Am 05.11.2013 10:52, schrieb >>> Paolo Bonzini: > Il 05/11/2013 10:16, A

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-08 Thread Alexey Kardashevskiy
On 11/08/2013 12:36 AM, Igor Mammedov wrote: > On Thu, 7 Nov 2013 20:11:51 +1100 > Alexey Kardashevskiy wrote: > >> On 11/06/2013 12:53 AM, Andreas Färber wrote:> Am 05.11.2013 10:52, schrieb >> Paolo Bonzini: Il 05/11/2013 10:16, Alexander Graf ha scritto: > > On 05.11.2013, at 10

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-07 Thread Andreas Färber
Am 07.11.2013 10:11, schrieb Alexey Kardashevskiy: > On 11/06/2013 12:53 AM, Andreas Färber wrote:> Am 05.11.2013 10:52, schrieb > Paolo Bonzini: >>> Il 05/11/2013 10:16, Alexander Graf ha scritto: On 05.11.2013, at 10:06, Paolo Bonzini wrote: > Il 30/09/2013 14:57, Alexey Kard

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-07 Thread Igor Mammedov
On Thu, 7 Nov 2013 20:11:51 +1100 Alexey Kardashevskiy wrote: > On 11/06/2013 12:53 AM, Andreas Färber wrote:> Am 05.11.2013 10:52, schrieb > Paolo Bonzini: > >> Il 05/11/2013 10:16, Alexander Graf ha scritto: > >>> > >>> On 05.11.2013, at 10:06, Paolo Bonzini wrote: > >>> > Il 30/09/2013

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-07 Thread Alexey Kardashevskiy
On 11/06/2013 12:53 AM, Andreas Färber wrote:> Am 05.11.2013 10:52, schrieb Paolo Bonzini: >> Il 05/11/2013 10:16, Alexander Graf ha scritto: >>> >>> On 05.11.2013, at 10:06, Paolo Bonzini wrote: >>> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: >>> Why is the option under -machi

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-06 Thread Alexander Graf
On 06.11.2013, at 06:48, Paul Mackerras wrote: > On Mon, Sep 30, 2013 at 01:25:32PM +0200, Alexander Graf wrote: >> >> On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: >> >>> To be able to boot on newer hardware that the software support, >>> PowerISA defines a logical PVR, one per every P

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-06 Thread Igor Mammedov
On Tue, 05 Nov 2013 14:53:14 +0100 Andreas Färber wrote: > Am 05.11.2013 10:52, schrieb Paolo Bonzini: > > Il 05/11/2013 10:16, Alexander Graf ha scritto: > >> > >> On 05.11.2013, at 10:06, Paolo Bonzini wrote: > >> > >>> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: > >> Why is the

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Paul Mackerras
On Mon, Sep 30, 2013 at 01:25:32PM +0200, Alexander Graf wrote: > > On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: > > > To be able to boot on newer hardware that the software support, > > PowerISA defines a logical PVR, one per every PowerISA specification > > version from 2.04. [snip] > >

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Paul Mackerras
On Tue, Nov 05, 2013 at 10:06:04AM +0100, Paolo Bonzini wrote: > Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: > >> > Why is the option under -machine instead of -cpu? > > Because it is still the same CPU and the guest will still read the real > > PVR from the hardware (which it may not sup

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Andreas Färber
Am 05.11.2013 10:52, schrieb Paolo Bonzini: > Il 05/11/2013 10:16, Alexander Graf ha scritto: >> >> On 05.11.2013, at 10:06, Paolo Bonzini wrote: >> >>> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: >> Why is the option under -machine instead of -cpu? Because it is still the same

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Paolo Bonzini
Il 05/11/2013 11:45, Alexey Kardashevskiy ha scritto: >> > Still in my opinion it should be "-cpu", not "-machine". Even if it's >> > just a "virtual" CPU model. > The compat option itself does not make much sense (yes we could just add > yet another CPU class and that's it) but with the > ibm,cli

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Alexey Kardashevskiy
On 11/05/2013 08:52 PM, Paolo Bonzini wrote: > Il 05/11/2013 10:16, Alexander Graf ha scritto: >> >> On 05.11.2013, at 10:06, Paolo Bonzini wrote: >> >>> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: >> Why is the option under -machine instead of -cpu? Because it is still the same

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Paolo Bonzini
Il 05/11/2013 11:27, Alexander Graf ha scritto: > > On 05.11.2013, at 10:52, Paolo Bonzini wrote: > >> Il 05/11/2013 10:16, Alexander Graf ha scritto: >>> >>> On 05.11.2013, at 10:06, Paolo Bonzini wrote: >>> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: >>> Why is the option u

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Alexander Graf
On 05.11.2013, at 10:52, Paolo Bonzini wrote: > Il 05/11/2013 10:16, Alexander Graf ha scritto: >> >> On 05.11.2013, at 10:06, Paolo Bonzini wrote: >> >>> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: >> Why is the option under -machine instead of -cpu? Because it is still th

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Paolo Bonzini
Il 05/11/2013 10:16, Alexander Graf ha scritto: > > On 05.11.2013, at 10:06, Paolo Bonzini wrote: > >> Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: > Why is the option under -machine instead of -cpu? >>> Because it is still the same CPU and the guest will still read the real >>> PVR

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Alexander Graf
On 05.11.2013, at 03:19, Alexey Kardashevskiy wrote: > On 10/01/2013 12:49 AM, Alexander Graf wrote: >> On 09/30/2013 03:22 PM, Alexey Kardashevskiy wrote: >>> On 30.09.2013 21:25, Alexander Graf wrote: On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: > > > I realized it has been a wh

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Alexander Graf
On 05.11.2013, at 10:06, Paolo Bonzini wrote: > Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: Why is the option under -machine instead of -cpu? >> Because it is still the same CPU and the guest will still read the real >> PVR from the hardware (which it may not support but this is w

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-05 Thread Paolo Bonzini
Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: >> > Why is the option under -machine instead of -cpu? > Because it is still the same CPU and the guest will still read the real > PVR from the hardware (which it may not support but this is why we need > compatibility mode). How do you support

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-11-04 Thread Alexey Kardashevskiy
On 10/01/2013 12:49 AM, Alexander Graf wrote: > On 09/30/2013 03:22 PM, Alexey Kardashevskiy wrote: >> On 30.09.2013 21:25, Alexander Graf wrote: >>> On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: I realized it has been a while since I got your response and did not answer :) Sorry for the d

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-09-30 Thread Alexander Graf
On 09/30/2013 03:22 PM, Alexey Kardashevskiy wrote: On 30.09.2013 21:25, Alexander Graf wrote: On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: To be able to boot on newer hardware that the software support, PowerISA defines a logical PVR, one per every PowerISA specification version from

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-09-30 Thread Alexey Kardashevskiy
On 30.09.2013 21:25, Alexander Graf wrote: > > On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: > >> To be able to boot on newer hardware that the software support, >> PowerISA defines a logical PVR, one per every PowerISA specification >> version from 2.04. >> >> This adds the "compat" optio

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-09-30 Thread Alexey Kardashevskiy
On 30.09.2013 21:52, Paolo Bonzini wrote: > Il 30/09/2013 13:25, Alexander Graf ha scritto: >> On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: >> To be able to boot on newer hardware that the software support, PowerISA defines a logical PVR, one per every PowerISA specification

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-09-30 Thread Paolo Bonzini
Il 30/09/2013 13:25, Alexander Graf ha scritto: > On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: > >> > To be able to boot on newer hardware that the software support, >> > PowerISA defines a logical PVR, one per every PowerISA specification >> > version from 2.04. >> > >> > This adds the "

Re: [Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-09-30 Thread Alexander Graf
On 27.09.2013, at 10:06, Alexey Kardashevskiy wrote: > To be able to boot on newer hardware that the software support, > PowerISA defines a logical PVR, one per every PowerISA specification > version from 2.04. > > This adds the "compat" option which takes values 205 or 206 and forces > QEMU to

[Qemu-devel] [PATCH] spapr: add "compat" machine option

2013-09-27 Thread Alexey Kardashevskiy
To be able to boot on newer hardware that the software support, PowerISA defines a logical PVR, one per every PowerISA specification version from 2.04. This adds the "compat" option which takes values 205 or 206 and forces QEMU to boot the guest with a logical PVR (CPU_POWERPC_LOGICAL_2_05 or CPU_