diff mbox

Fix older machine type compatibility on power with section footers

Message ID 1434130672-18508-1-git-send-email-dgilbert@redhat.com
State New
Headers show

Commit Message

Dr. David Alan Gilbert June 12, 2015, 5:37 p.m. UTC
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

I forgot to add compatibility for Power when adding section footers.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

Fixes: 37fb569c0198cba58e3e
---
 hw/ppc/spapr.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alexander Graf June 12, 2015, 5:39 p.m. UTC | #1
On 12.06.15 19:37, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> 
> I forgot to add compatibility for Power when adding section footers.
> 
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

Reviewed-by: Alexander Graf <agraf@suse.de>

Probably should go in via the migration queue.


Alex

> 
> Fixes: 37fb569c0198cba58e3e
> ---
>  hw/ppc/spapr.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
> index f174e5a..01f8da8 100644
> --- a/hw/ppc/spapr.c
> +++ b/hw/ppc/spapr.c
> @@ -34,6 +34,7 @@
>  #include "sysemu/cpus.h"
>  #include "sysemu/kvm.h"
>  #include "kvm_ppc.h"
> +#include "migration/migration.h"
>  #include "mmu-hash64.h"
>  #include "qom/cpu.h"
>  
> @@ -1851,6 +1852,7 @@ static const TypeInfo spapr_machine_info = {
>  
>  static void spapr_compat_2_3(Object *obj)
>  {
> +    savevm_skip_section_footers();
>  }
>  
>  static void spapr_compat_2_2(Object *obj)
>
Juan Quintela July 1, 2015, 9:24 a.m. UTC | #2
"Dr. David Alan Gilbert (git)" <dgilbert@redhat.com> wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> I forgot to add compatibility for Power when adding section footers.
>
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
>
> Fixes: 37fb569c0198cba58e3e

Reviewed-by: Juan Quintela <quintela@redhat.com>
Applied


> ---
>  hw/ppc/spapr.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
> index f174e5a..01f8da8 100644
> --- a/hw/ppc/spapr.c
> +++ b/hw/ppc/spapr.c
> @@ -34,6 +34,7 @@
>  #include "sysemu/cpus.h"
>  #include "sysemu/kvm.h"
>  #include "kvm_ppc.h"
> +#include "migration/migration.h"
>  #include "mmu-hash64.h"
>  #include "qom/cpu.h"
>  
> @@ -1851,6 +1852,7 @@ static const TypeInfo spapr_machine_info = {
>  
>  static void spapr_compat_2_3(Object *obj)
>  {
> +    savevm_skip_section_footers();
>  }
>  
>  static void spapr_compat_2_2(Object *obj)
diff mbox

Patch

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index f174e5a..01f8da8 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -34,6 +34,7 @@ 
 #include "sysemu/cpus.h"
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
+#include "migration/migration.h"
 #include "mmu-hash64.h"
 #include "qom/cpu.h"
 
@@ -1851,6 +1852,7 @@  static const TypeInfo spapr_machine_info = {
 
 static void spapr_compat_2_3(Object *obj)
 {
+    savevm_skip_section_footers();
 }
 
 static void spapr_compat_2_2(Object *obj)