Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Philippe Mathieu-Daudé
On 2/3/21 11:59 AM, Dr. David Alan Gilbert wrote: > * Peter Maydell (peter.mayd...@linaro.org) wrote: >> On Wed, 3 Feb 2021 at 10:49, Dr. David Alan Gilbert >> wrote: >>> >>> * Peter Maydell (peter.mayd...@linaro.org) wrote: On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert wrote: >

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Aaron Lindsay
On Feb 03 15:26, Peter Maydell wrote: > On Wed, 3 Feb 2021 at 15:11, Dr. David Alan Gilbert > wrote: > > It's interesting that on x86 we've got a longterm request to *add* cpu > > features to the stream to detect screwups caused by using mismatched > > CPUs; so it's not necessarily a bad idea to

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Andrew Jones
On Wed, Feb 03, 2021 at 10:45:47AM -0500, Aaron Lindsay wrote: > On Feb 03 13:44, Andrew Jones wrote: > > On Wed, Feb 03, 2021 at 10:52:59AM +, Peter Maydell wrote: > > > On Wed, 3 Feb 2021 at 10:49, Dr. David Alan Gilbert > > > wrote: > > > > > > > > * Peter Maydell (peter.mayd...@linaro.org

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread aaron--- via
On Feb 03 13:44, Andrew Jones wrote: > On Wed, Feb 03, 2021 at 10:52:59AM +, Peter Maydell wrote: > > On Wed, 3 Feb 2021 at 10:49, Dr. David Alan Gilbert > > wrote: > > > > > > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > > > On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert > > >

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread aaron--- via
On Feb 03 15:10, Dr. David Alan Gilbert wrote: > * Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > > On 2/3/21 3:58 PM, Aaron Lindsay wrote: > > > On Feb 03 10:01, Peter Maydell wrote: > > >>> The third is that meanings of the bits in env->features (as defined by > > >>> `enum arm_features` in

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Peter Maydell
On Wed, 3 Feb 2021 at 15:11, Dr. David Alan Gilbert wrote: > It's interesting that on x86 we've got a longterm request to *add* cpu > features to the stream to detect screwups caused by using mismatched > CPUs; so it's not necessarily a bad idea to include it once you realise > it's there. I thin

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > On 2/3/21 3:58 PM, Aaron Lindsay wrote: > > On Feb 03 10:01, Peter Maydell wrote: > >>> The third is that meanings of the bits in env->features (as defined by > >>> `enum arm_features` in target/arm/cpu.h) has shifted. For example, > >>> ARM_FEA

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Philippe Mathieu-Daudé
On 2/3/21 3:58 PM, Aaron Lindsay wrote: > On Feb 03 10:01, Peter Maydell wrote: >>> The third is that meanings of the bits in env->features (as defined by >>> `enum arm_features` in target/arm/cpu.h) has shifted. For example, >>> ARM_FEATURE_PXN, ARM_FEATURE_CRC, ARM_FEATURE_VFP, ARM_FEATURE_VFP3,

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Aaron Lindsay
On Feb 03 10:01, Peter Maydell wrote: > On Wed, 3 Feb 2021 at 04:01, Aaron Lindsay > wrote: > > Note that I'm using qemu-system-aarch64 with -loadvm. > > You don't say what machine type and command line you're using. Strictly, > Strictly speaking, the intended guarantee only covers versioned > m

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Andrew Jones
On Wed, Feb 03, 2021 at 10:52:59AM +, Peter Maydell wrote: > On Wed, 3 Feb 2021 at 10:49, Dr. David Alan Gilbert > wrote: > > > > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > > On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert > > > wrote: > > > > > > > > * Philippe Mathieu-Daudé

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Wed, 3 Feb 2021 at 10:49, Dr. David Alan Gilbert > wrote: > > > > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > > On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert > > > wrote: > > > > > > > > * Philippe Mathieu-Daudé (phi...@redh

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Peter Maydell
On Wed, 3 Feb 2021 at 10:49, Dr. David Alan Gilbert wrote: > > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert > > wrote: > > > > > > * Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > > > > Cc'ing migration team and qemu-arm@ list. >

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert > wrote: > > > > * Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > > > Cc'ing migration team and qemu-arm@ list. > > > > I'll have to leave the detail of that to the ARM peole; but from a >

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Peter Maydell
On Wed, 3 Feb 2021 at 10:28, Dr. David Alan Gilbert wrote: > > * Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > > Cc'ing migration team and qemu-arm@ list. > > I'll have to leave the detail of that to the ARM peole; but from a > migration point of view I think we do want the 64 bit ARM migrat

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > Cc'ing migration team and qemu-arm@ list. I'll have to leave the detail of that to the ARM peole; but from a migration point of view I think we do want the 64 bit ARM migrations to be stable now. Please tie incompatible changes to machine type

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Peter Maydell
On Wed, 3 Feb 2021 at 04:01, Aaron Lindsay wrote: > > Hello, > > I'm attempting to restore an AArch64 snapshot taken on QEMU 4.1.0 on > QEMU 5.2.0, using system mode. My previous impression, possibly from > https://wiki.qemu.org/Features/Migration/Troubleshooting#Basics was that > this ought to wo

Re: ARM Snapshots Not Backwards-Compatible

2021-02-03 Thread Philippe Mathieu-Daudé
Cc'ing migration team and qemu-arm@ list. On 2/3/21 5:01 AM, Aaron Lindsay wrote: > Hello, > > I'm attempting to restore an AArch64 snapshot taken on QEMU 4.1.0 on > QEMU 5.2.0, using system mode. My previous impression, possibly from > https://wiki.qemu.org/Features/Migration/Troubleshooting#Bas

ARM Snapshots Not Backwards-Compatible

2021-02-02 Thread Aaron Lindsay
Hello, I'm attempting to restore an AArch64 snapshot taken on QEMU 4.1.0 on QEMU 5.2.0, using system mode. My previous impression, possibly from https://wiki.qemu.org/Features/Migration/Troubleshooting#Basics was that this ought to work: > Note that QEMU supports migrating forward between QEMU ve