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 a...@ozlabs.ru 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,

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 a...@ozlabs.ru 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,

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 and

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 ppc

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 pbonz...@redhat.com wrote: Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: Why is the option under -machine

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 a...@ozlabs.ru 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 pbonz...@redhat.com wrote: Il

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 pbonz...@redhat.com wrote: Il 30/09/2013 14:57, Alexey

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 afaer...@suse.de 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 pbonz...@redhat.com wrote: Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto:

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

2013-11-06 Thread Alexander Graf
On 06.11.2013, at 06:48, Paul Mackerras pau...@samba.org 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

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-05 Thread Alexander Graf
On 05.11.2013, at 10:06, Paolo Bonzini pbonz...@redhat.com 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

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

2013-11-05 Thread Alexander Graf
On 05.11.2013, at 03:19, Alexey Kardashevskiy a...@ozlabs.ru 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

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 pbonz...@redhat.com 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

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

2013-11-05 Thread Alexander Graf
On 05.11.2013, at 10:52, Paolo Bonzini pbonz...@redhat.com wrote: Il 05/11/2013 10:16, Alexander Graf ha scritto: On 05.11.2013, at 10:06, Paolo Bonzini pbonz...@redhat.com wrote: Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: Why is the option under -machine instead of -cpu?

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 pbonz...@redhat.com wrote: Il 05/11/2013 10:16, Alexander Graf ha scritto: On 05.11.2013, at 10:06, Paolo Bonzini pbonz...@redhat.com wrote: Il 30/09/2013 14:57, Alexey Kardashevskiy ha scritto: Why

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 pbonz...@redhat.com 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

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 pbonz...@redhat.com 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 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 support but

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] +case

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 delay.

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 boot

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 compat option

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 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 option which takes

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