All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-08-19 12:30 ` marcin.krzeminski
  0 siblings, 0 replies; 12+ messages in thread
From: marcin.krzeminski @ 2016-08-19 12:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: drjones, dgilbert, alistair.francis, qemu-arm, amit.shah,
	rfsw-patches

From: Marcin Krzeminski <marcin.krzeminski@nokia.com>

Change wrong name of the vmstate structure. Since this breaks
compatibility update version and fields to 0.

Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
---

This patch assumes that none migrates m25p80 flash devices.

 hw/block/m25p80.c | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 9828ee6..d29ff4c 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
 };
 
 static const VMStateDescription vmstate_m25p80 = {
-    .name = "xilinx_spi",
-    .version_id = 3,
-    .minimum_version_id = 1,
+    .name = "m25p80",
+    .version_id = 0,
+    .minimum_version_id = 0,
     .pre_save = m25p80_pre_save,
     .fields = (VMStateField[]) {
         VMSTATE_UINT8(state, Flash),
@@ -1200,20 +1200,19 @@ static const VMStateDescription vmstate_m25p80 = {
         VMSTATE_UINT32(pos, Flash),
         VMSTATE_UINT8(needed_bytes, Flash),
         VMSTATE_UINT8(cmd_in_progress, Flash),
-        VMSTATE_UNUSED(4),
         VMSTATE_UINT32(cur_addr, Flash),
         VMSTATE_BOOL(write_enable, Flash),
-        VMSTATE_BOOL_V(reset_enable, Flash, 2),
-        VMSTATE_UINT8_V(ear, Flash, 2),
-        VMSTATE_BOOL_V(four_bytes_address_mode, Flash, 2),
-        VMSTATE_UINT32_V(nonvolatile_cfg, Flash, 2),
-        VMSTATE_UINT32_V(volatile_cfg, Flash, 2),
-        VMSTATE_UINT32_V(enh_volatile_cfg, Flash, 2),
-        VMSTATE_BOOL_V(quad_enable, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr1nv, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr2nv, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr3nv, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr4nv, Flash, 3),
+        VMSTATE_BOOL(reset_enable, Flash),
+        VMSTATE_UINT8(ear, Flash),
+        VMSTATE_BOOL(four_bytes_address_mode, Flash),
+        VMSTATE_UINT32(nonvolatile_cfg, Flash),
+        VMSTATE_UINT32(volatile_cfg, Flash),
+        VMSTATE_UINT32(enh_volatile_cfg, Flash),
+        VMSTATE_BOOL(quad_enable, Flash),
+        VMSTATE_UINT8(spansion_cr1nv, Flash),
+        VMSTATE_UINT8(spansion_cr2nv, Flash),
+        VMSTATE_UINT8(spansion_cr3nv, Flash),
+        VMSTATE_UINT8(spansion_cr4nv, Flash),
         VMSTATE_END_OF_LIST()
     }
 };
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Qemu-devel] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-08-19 12:30 ` marcin.krzeminski
  0 siblings, 0 replies; 12+ messages in thread
From: marcin.krzeminski @ 2016-08-19 12:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: rfsw-patches, dgilbert, drjones, crosthwaite.peter,
	alistair.francis, amit.shah, qemu-arm

From: Marcin Krzeminski <marcin.krzeminski@nokia.com>

Change wrong name of the vmstate structure. Since this breaks
compatibility update version and fields to 0.

Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
---

This patch assumes that none migrates m25p80 flash devices.

 hw/block/m25p80.c | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 9828ee6..d29ff4c 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
 };
 
 static const VMStateDescription vmstate_m25p80 = {
-    .name = "xilinx_spi",
-    .version_id = 3,
-    .minimum_version_id = 1,
+    .name = "m25p80",
+    .version_id = 0,
+    .minimum_version_id = 0,
     .pre_save = m25p80_pre_save,
     .fields = (VMStateField[]) {
         VMSTATE_UINT8(state, Flash),
@@ -1200,20 +1200,19 @@ static const VMStateDescription vmstate_m25p80 = {
         VMSTATE_UINT32(pos, Flash),
         VMSTATE_UINT8(needed_bytes, Flash),
         VMSTATE_UINT8(cmd_in_progress, Flash),
-        VMSTATE_UNUSED(4),
         VMSTATE_UINT32(cur_addr, Flash),
         VMSTATE_BOOL(write_enable, Flash),
-        VMSTATE_BOOL_V(reset_enable, Flash, 2),
-        VMSTATE_UINT8_V(ear, Flash, 2),
-        VMSTATE_BOOL_V(four_bytes_address_mode, Flash, 2),
-        VMSTATE_UINT32_V(nonvolatile_cfg, Flash, 2),
-        VMSTATE_UINT32_V(volatile_cfg, Flash, 2),
-        VMSTATE_UINT32_V(enh_volatile_cfg, Flash, 2),
-        VMSTATE_BOOL_V(quad_enable, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr1nv, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr2nv, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr3nv, Flash, 3),
-        VMSTATE_UINT8_V(spansion_cr4nv, Flash, 3),
+        VMSTATE_BOOL(reset_enable, Flash),
+        VMSTATE_UINT8(ear, Flash),
+        VMSTATE_BOOL(four_bytes_address_mode, Flash),
+        VMSTATE_UINT32(nonvolatile_cfg, Flash),
+        VMSTATE_UINT32(volatile_cfg, Flash),
+        VMSTATE_UINT32(enh_volatile_cfg, Flash),
+        VMSTATE_BOOL(quad_enable, Flash),
+        VMSTATE_UINT8(spansion_cr1nv, Flash),
+        VMSTATE_UINT8(spansion_cr2nv, Flash),
+        VMSTATE_UINT8(spansion_cr3nv, Flash),
+        VMSTATE_UINT8(spansion_cr4nv, Flash),
         VMSTATE_END_OF_LIST()
     }
 };
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
  2016-08-19 12:30 ` [Qemu-devel] " marcin.krzeminski
@ 2016-08-19 13:03   ` Peter Maydell
  -1 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2016-08-19 13:03 UTC (permalink / raw)
  To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
  Cc: Andrew Jones, Juan Quintela, QEMU Developers, Alistair Francis,
	qemu-arm, Amit Shah, rfsw-patches, Dr. David Alan Gilbert

On 19 August 2016 at 13:30,  <marcin.krzeminski@nokia.com> wrote:
> From: Marcin Krzeminski <marcin.krzeminski@nokia.com>
>
> Change wrong name of the vmstate structure. Since this breaks
> compatibility update version and fields to 0.
>
> Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
> ---
>
> This patch assumes that none migrates m25p80 flash devices.
>
>  hw/block/m25p80.c | 29 ++++++++++++++---------------
>  1 file changed, 14 insertions(+), 15 deletions(-)
>
> diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
> index 9828ee6..d29ff4c 100644
> --- a/hw/block/m25p80.c
> +++ b/hw/block/m25p80.c
> @@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
>  };
>
>  static const VMStateDescription vmstate_m25p80 = {
> -    .name = "xilinx_spi",
> -    .version_id = 3,
> -    .minimum_version_id = 1,
> +    .name = "m25p80",
> +    .version_id = 0,
> +    .minimum_version_id = 0,
>      .pre_save = m25p80_pre_save,

Are you sure that the name is part of the on-the-wire state?
I thought it wasn't, in which case this doesn't even need a
version bump, much less a version-reset-to-zero. But I could
be wrong. David, Juan, Amit?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-08-19 13:03   ` Peter Maydell
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Maydell @ 2016-08-19 13:03 UTC (permalink / raw)
  To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
  Cc: QEMU Developers, Andrew Jones, Dr. David Alan Gilbert,
	Alistair Francis, qemu-arm, Amit Shah, rfsw-patches,
	Juan Quintela

On 19 August 2016 at 13:30,  <marcin.krzeminski@nokia.com> wrote:
> From: Marcin Krzeminski <marcin.krzeminski@nokia.com>
>
> Change wrong name of the vmstate structure. Since this breaks
> compatibility update version and fields to 0.
>
> Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
> ---
>
> This patch assumes that none migrates m25p80 flash devices.
>
>  hw/block/m25p80.c | 29 ++++++++++++++---------------
>  1 file changed, 14 insertions(+), 15 deletions(-)
>
> diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
> index 9828ee6..d29ff4c 100644
> --- a/hw/block/m25p80.c
> +++ b/hw/block/m25p80.c
> @@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
>  };
>
>  static const VMStateDescription vmstate_m25p80 = {
> -    .name = "xilinx_spi",
> -    .version_id = 3,
> -    .minimum_version_id = 1,
> +    .name = "m25p80",
> +    .version_id = 0,
> +    .minimum_version_id = 0,
>      .pre_save = m25p80_pre_save,

Are you sure that the name is part of the on-the-wire state?
I thought it wasn't, in which case this doesn't even need a
version bump, much less a version-reset-to-zero. But I could
be wrong. David, Juan, Amit?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
  2016-08-19 13:03   ` [Qemu-devel] " Peter Maydell
@ 2016-08-19 14:19     ` Dr. David Alan Gilbert
  -1 siblings, 0 replies; 12+ messages in thread
From: Dr. David Alan Gilbert @ 2016-08-19 14:19 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Andrew Jones, Krzeminski, Marcin (Nokia - PL/Wroclaw),
	Juan Quintela, QEMU Developers, Alistair Francis, qemu-arm,
	Amit Shah, rfsw-patches

* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 19 August 2016 at 13:30,  <marcin.krzeminski@nokia.com> wrote:
> > From: Marcin Krzeminski <marcin.krzeminski@nokia.com>
> >
> > Change wrong name of the vmstate structure. Since this breaks
> > compatibility update version and fields to 0.
> >
> > Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
> > ---
> >
> > This patch assumes that none migrates m25p80 flash devices.
> >
> >  hw/block/m25p80.c | 29 ++++++++++++++---------------
> >  1 file changed, 14 insertions(+), 15 deletions(-)
> >
> > diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
> > index 9828ee6..d29ff4c 100644
> > --- a/hw/block/m25p80.c
> > +++ b/hw/block/m25p80.c
> > @@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
> >  };
> >
> >  static const VMStateDescription vmstate_m25p80 = {
> > -    .name = "xilinx_spi",
> > -    .version_id = 3,
> > -    .minimum_version_id = 1,
> > +    .name = "m25p80",
> > +    .version_id = 0,
> > +    .minimum_version_id = 0,
> >      .pre_save = m25p80_pre_save,
> 
> Are you sure that the name is part of the on-the-wire state?
> I thought it wasn't, in which case this doesn't even need a
> version bump, much less a version-reset-to-zero. But I could
> be wrong. David, Juan, Amit?
> 

Yep, it does:

000a9000: 00 1c 04 00 00 00 1d 0a 78 69 6c 69 6e 78 5f 73  ........xilinx_s
000a9010: 70 69 00 00 00 00 00 00 00 03 00 00 00 00 00 00  pi..............

that's from:
./arm-softmmu/qemu-system-arm -M tosa -device at26f004 -S -nographic
QEMU 2.6.90 monitor - type 'help' for more information
(qemu) migrate "exec:xxd -g 1 > tosa.mig"

it's not essential to redo the version_id's, but it's as good a time as any
to get rid of the old version code if you've just broken the compatibility
anyway.

Dave

> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-08-19 14:19     ` Dr. David Alan Gilbert
  0 siblings, 0 replies; 12+ messages in thread
From: Dr. David Alan Gilbert @ 2016-08-19 14:19 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Krzeminski, Marcin (Nokia - PL/Wroclaw), QEMU Developers,
	Andrew Jones, Alistair Francis, qemu-arm, Amit Shah, rfsw-patches,
	Juan Quintela

* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 19 August 2016 at 13:30,  <marcin.krzeminski@nokia.com> wrote:
> > From: Marcin Krzeminski <marcin.krzeminski@nokia.com>
> >
> > Change wrong name of the vmstate structure. Since this breaks
> > compatibility update version and fields to 0.
> >
> > Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
> > ---
> >
> > This patch assumes that none migrates m25p80 flash devices.
> >
> >  hw/block/m25p80.c | 29 ++++++++++++++---------------
> >  1 file changed, 14 insertions(+), 15 deletions(-)
> >
> > diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
> > index 9828ee6..d29ff4c 100644
> > --- a/hw/block/m25p80.c
> > +++ b/hw/block/m25p80.c
> > @@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
> >  };
> >
> >  static const VMStateDescription vmstate_m25p80 = {
> > -    .name = "xilinx_spi",
> > -    .version_id = 3,
> > -    .minimum_version_id = 1,
> > +    .name = "m25p80",
> > +    .version_id = 0,
> > +    .minimum_version_id = 0,
> >      .pre_save = m25p80_pre_save,
> 
> Are you sure that the name is part of the on-the-wire state?
> I thought it wasn't, in which case this doesn't even need a
> version bump, much less a version-reset-to-zero. But I could
> be wrong. David, Juan, Amit?
> 

Yep, it does:

000a9000: 00 1c 04 00 00 00 1d 0a 78 69 6c 69 6e 78 5f 73  ........xilinx_s
000a9010: 70 69 00 00 00 00 00 00 00 03 00 00 00 00 00 00  pi..............

that's from:
./arm-softmmu/qemu-system-arm -M tosa -device at26f004 -S -nographic
QEMU 2.6.90 monitor - type 'help' for more information
(qemu) migrate "exec:xxd -g 1 > tosa.mig"

it's not essential to redo the version_id's, but it's as good a time as any
to get rid of the old version code if you've just broken the compatibility
anyway.

Dave

> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-arm] [Qemu-devel] [PATCH] block: m25p80c Fix vmstate structure name
  2016-08-19 14:19     ` [Qemu-devel] " Dr. David Alan Gilbert
@ 2016-08-19 22:20       ` Alistair Francis
  -1 siblings, 0 replies; 12+ messages in thread
From: Alistair Francis @ 2016-08-19 22:20 UTC (permalink / raw)
  To: Dr. David Alan Gilbert
  Cc: Peter Maydell, Andrew Jones, Juan Quintela,
	Krzeminski, Marcin (Nokia - PL/Wroclaw), QEMU Developers,
	Alistair Francis, qemu-arm, Amit Shah, rfsw-patches

On Fri, Aug 19, 2016 at 7:19 AM, Dr. David Alan Gilbert
<dgilbert@redhat.com> wrote:
> * Peter Maydell (peter.maydell@linaro.org) wrote:
>> On 19 August 2016 at 13:30,  <marcin.krzeminski@nokia.com> wrote:
>> > From: Marcin Krzeminski <marcin.krzeminski@nokia.com>
>> >
>> > Change wrong name of the vmstate structure. Since this breaks
>> > compatibility update version and fields to 0.

s/and/set/g

>> >
>> > Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>

Looks fine to me.

Acked-by: Alistair Francis <alistair.francis@xilinx.com>

Thanks,

Alistair


>> > ---
>> >
>> > This patch assumes that none migrates m25p80 flash devices.
>> >
>> >  hw/block/m25p80.c | 29 ++++++++++++++---------------
>> >  1 file changed, 14 insertions(+), 15 deletions(-)
>> >
>> > diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
>> > index 9828ee6..d29ff4c 100644
>> > --- a/hw/block/m25p80.c
>> > +++ b/hw/block/m25p80.c
>> > @@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
>> >  };
>> >
>> >  static const VMStateDescription vmstate_m25p80 = {
>> > -    .name = "xilinx_spi",
>> > -    .version_id = 3,
>> > -    .minimum_version_id = 1,
>> > +    .name = "m25p80",
>> > +    .version_id = 0,
>> > +    .minimum_version_id = 0,
>> >      .pre_save = m25p80_pre_save,
>>
>> Are you sure that the name is part of the on-the-wire state?
>> I thought it wasn't, in which case this doesn't even need a
>> version bump, much less a version-reset-to-zero. But I could
>> be wrong. David, Juan, Amit?
>>
>
> Yep, it does:
>
> 000a9000: 00 1c 04 00 00 00 1d 0a 78 69 6c 69 6e 78 5f 73  ........xilinx_s
> 000a9010: 70 69 00 00 00 00 00 00 00 03 00 00 00 00 00 00  pi..............
>
> that's from:
> ./arm-softmmu/qemu-system-arm -M tosa -device at26f004 -S -nographic
> QEMU 2.6.90 monitor - type 'help' for more information
> (qemu) migrate "exec:xxd -g 1 > tosa.mig"
>
> it's not essential to redo the version_id's, but it's as good a time as any
> to get rid of the old version code if you've just broken the compatibility
> anyway.
>
> Dave
>
>> thanks
>> -- PMM
> --
> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-08-19 22:20       ` Alistair Francis
  0 siblings, 0 replies; 12+ messages in thread
From: Alistair Francis @ 2016-08-19 22:20 UTC (permalink / raw)
  To: Dr. David Alan Gilbert
  Cc: Peter Maydell, Andrew Jones,
	Krzeminski, Marcin (Nokia - PL/Wroclaw), Juan Quintela,
	QEMU Developers, Alistair Francis, qemu-arm, Amit Shah,
	rfsw-patches

On Fri, Aug 19, 2016 at 7:19 AM, Dr. David Alan Gilbert
<dgilbert@redhat.com> wrote:
> * Peter Maydell (peter.maydell@linaro.org) wrote:
>> On 19 August 2016 at 13:30,  <marcin.krzeminski@nokia.com> wrote:
>> > From: Marcin Krzeminski <marcin.krzeminski@nokia.com>
>> >
>> > Change wrong name of the vmstate structure. Since this breaks
>> > compatibility update version and fields to 0.

s/and/set/g

>> >
>> > Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>

Looks fine to me.

Acked-by: Alistair Francis <alistair.francis@xilinx.com>

Thanks,

Alistair


>> > ---
>> >
>> > This patch assumes that none migrates m25p80 flash devices.
>> >
>> >  hw/block/m25p80.c | 29 ++++++++++++++---------------
>> >  1 file changed, 14 insertions(+), 15 deletions(-)
>> >
>> > diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
>> > index 9828ee6..d29ff4c 100644
>> > --- a/hw/block/m25p80.c
>> > +++ b/hw/block/m25p80.c
>> > @@ -1189,9 +1189,9 @@ static Property m25p80_properties[] = {
>> >  };
>> >
>> >  static const VMStateDescription vmstate_m25p80 = {
>> > -    .name = "xilinx_spi",
>> > -    .version_id = 3,
>> > -    .minimum_version_id = 1,
>> > +    .name = "m25p80",
>> > +    .version_id = 0,
>> > +    .minimum_version_id = 0,
>> >      .pre_save = m25p80_pre_save,
>>
>> Are you sure that the name is part of the on-the-wire state?
>> I thought it wasn't, in which case this doesn't even need a
>> version bump, much less a version-reset-to-zero. But I could
>> be wrong. David, Juan, Amit?
>>
>
> Yep, it does:
>
> 000a9000: 00 1c 04 00 00 00 1d 0a 78 69 6c 69 6e 78 5f 73  ........xilinx_s
> 000a9010: 70 69 00 00 00 00 00 00 00 03 00 00 00 00 00 00  pi..............
>
> that's from:
> ./arm-softmmu/qemu-system-arm -M tosa -device at26f004 -S -nographic
> QEMU 2.6.90 monitor - type 'help' for more information
> (qemu) migrate "exec:xxd -g 1 > tosa.mig"
>
> it's not essential to redo the version_id's, but it's as good a time as any
> to get rid of the old version code if you've just broken the compatibility
> anyway.
>
> Dave
>
>> thanks
>> -- PMM
> --
> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
  2016-08-19 22:20       ` [Qemu-devel] [Qemu-arm] " Alistair Francis
@ 2016-08-22 18:05         ` Paolo Bonzini
  -1 siblings, 0 replies; 12+ messages in thread
From: Paolo Bonzini @ 2016-08-22 18:05 UTC (permalink / raw)
  To: Alistair Francis, Dr. David Alan Gilbert
  Cc: Peter Maydell, Andrew Jones,
	Krzeminski, Marcin (Nokia - PL/Wroclaw), Juan Quintela,
	QEMU Developers, qemu-arm, Amit Shah, rfsw-patches



On 20/08/2016 00:20, Alistair Francis wrote:
>>>> >> > Change wrong name of the vmstate structure. Since this breaks
>>>> >> > compatibility update version and fields to 0.
> s/and/set/g
> 

Or more likely: "update the VMState version to 0 and make all fields
independent of the VMState version".

Paolo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-08-22 18:05         ` Paolo Bonzini
  0 siblings, 0 replies; 12+ messages in thread
From: Paolo Bonzini @ 2016-08-22 18:05 UTC (permalink / raw)
  To: Alistair Francis, Dr. David Alan Gilbert
  Cc: Peter Maydell, Andrew Jones, Juan Quintela,
	Krzeminski, Marcin (Nokia - PL/Wroclaw), QEMU Developers,
	qemu-arm, Amit Shah, rfsw-patches



On 20/08/2016 00:20, Alistair Francis wrote:
>>>> >> > Change wrong name of the vmstate structure. Since this breaks
>>>> >> > compatibility update version and fields to 0.
> s/and/set/g
> 

Or more likely: "update the VMState version to 0 and make all fields
independent of the VMState version".

Paolo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
  2016-08-22 18:05         ` [Qemu-devel] " Paolo Bonzini
@ 2016-09-06  6:42           ` Krzeminski, Marcin (Nokia - PL/Wroclaw)
  -1 siblings, 0 replies; 12+ messages in thread
From: Krzeminski, Marcin (Nokia - PL/Wroclaw) @ 2016-09-06  6:42 UTC (permalink / raw)
  To: Paolo Bonzini, Alistair Francis, Dr. David Alan Gilbert
  Cc: Peter Maydell, Andrew Jones, Juan Quintela, QEMU Developers,
	qemu-arm, Amit Shah, rfsw-patches@mlist.nokia.com



> -----Original Message-----
> From: Paolo Bonzini [mailto:paolo.bonzini@gmail.com] On Behalf Of Paolo
> Bonzini
> Sent: Monday, August 22, 2016 8:06 PM
> To: Alistair Francis <alistair.francis@xilinx.com>; Dr. David Alan Gilbert
> <dgilbert@redhat.com>
> Cc: Peter Maydell <peter.maydell@linaro.org>; Andrew Jones
> <drjones@redhat.com>; Juan Quintela <quintela@redhat.com>; Krzeminski,
> Marcin (Nokia - PL/Wroclaw) <marcin.krzeminski@nokia.com>; QEMU
> Developers <qemu-devel@nongnu.org>; qemu-arm <qemu-
> arm@nongnu.org>; Amit Shah <amit.shah@redhat.com>; rfsw-
> patches@mlist.nokia.com
> Subject: Re: [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure
> name
> 
> 
> 
> On 20/08/2016 00:20, Alistair Francis wrote:
> >>>> >> > Change wrong name of the vmstate structure. Since this breaks
> >>>> >> > compatibility update version and fields to 0.
> > s/and/set/g
> >
> 
> Or more likely: "update the VMState version to 0 and make all fields
> independent of the VMState version".

Yes, I will rewrite commit ,essage and send V2.

Thanks,
Marcin
> 
> Paolo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name
@ 2016-09-06  6:42           ` Krzeminski, Marcin (Nokia - PL/Wroclaw)
  0 siblings, 0 replies; 12+ messages in thread
From: Krzeminski, Marcin (Nokia - PL/Wroclaw) @ 2016-09-06  6:42 UTC (permalink / raw)
  To: Paolo Bonzini, Alistair Francis, Dr. David Alan Gilbert
  Cc: Peter Maydell, Andrew Jones, Juan Quintela, QEMU Developers,
	qemu-arm, Amit Shah, rfsw-patches@mlist.nokia.com



> -----Original Message-----
> From: Paolo Bonzini [mailto:paolo.bonzini@gmail.com] On Behalf Of Paolo
> Bonzini
> Sent: Monday, August 22, 2016 8:06 PM
> To: Alistair Francis <alistair.francis@xilinx.com>; Dr. David Alan Gilbert
> <dgilbert@redhat.com>
> Cc: Peter Maydell <peter.maydell@linaro.org>; Andrew Jones
> <drjones@redhat.com>; Juan Quintela <quintela@redhat.com>; Krzeminski,
> Marcin (Nokia - PL/Wroclaw) <marcin.krzeminski@nokia.com>; QEMU
> Developers <qemu-devel@nongnu.org>; qemu-arm <qemu-
> arm@nongnu.org>; Amit Shah <amit.shah@redhat.com>; rfsw-
> patches@mlist.nokia.com
> Subject: Re: [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure
> name
> 
> 
> 
> On 20/08/2016 00:20, Alistair Francis wrote:
> >>>> >> > Change wrong name of the vmstate structure. Since this breaks
> >>>> >> > compatibility update version and fields to 0.
> > s/and/set/g
> >
> 
> Or more likely: "update the VMState version to 0 and make all fields
> independent of the VMState version".

Yes, I will rewrite commit ,essage and send V2.

Thanks,
Marcin
> 
> Paolo

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-09-06 11:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 12:30 [Qemu-arm] [PATCH] block: m25p80c Fix vmstate structure name marcin.krzeminski
2016-08-19 12:30 ` [Qemu-devel] " marcin.krzeminski
2016-08-19 13:03 ` [Qemu-arm] " Peter Maydell
2016-08-19 13:03   ` [Qemu-devel] " Peter Maydell
2016-08-19 14:19   ` Dr. David Alan Gilbert
2016-08-19 14:19     ` [Qemu-devel] " Dr. David Alan Gilbert
2016-08-19 22:20     ` [Qemu-arm] [Qemu-devel] " Alistair Francis
2016-08-19 22:20       ` [Qemu-devel] [Qemu-arm] " Alistair Francis
2016-08-22 18:05       ` Paolo Bonzini
2016-08-22 18:05         ` [Qemu-devel] " Paolo Bonzini
2016-09-06  6:42         ` Krzeminski, Marcin (Nokia - PL/Wroclaw)
2016-09-06  6:42           ` [Qemu-devel] " Krzeminski, Marcin (Nokia - PL/Wroclaw)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.