Skip to contentSkip to conversation

Fix older machine type compatibility on power with section footers

PATCH Applied Dr. David Alan Gilbert (git) 3 participants 3 messages Jun 12, 2015 – Jul 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix older machine type compatibility on power with section footers

From: "Dr. David Alan Gilbert" <[email protected]>

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

Fixes 37fb569c0198cba58e3e
---
 hw/ppc/spapr.c | 2 ++
 1 file changed, 2 insertions(+)
hw/ppc/spapr.c +2 -0
index f174e5a..01f8da8 100644
@@ -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)
Signature · 1 line
2.4.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

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

Probably should go in via the migration queue.

Alex

Quoted 27 lines
Fixes 37fb569c0198cba58e3e
---
 hw/ppc/spapr.c | 2 ++
 1 file changed, 2 insertions(+)
hw/ppc/spapr.c +2 -0
index f174e5a..01f8da8 100644
@@ -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)
Reviewed-by on v1 1/1 Applied
#2 lore raw
In reply to Dr. David Alan Gilbert (git)
Quoted 7 lines · Dr. David Alan Gilbert (git)

From: "Dr. David Alan Gilbert" <[email protected]>

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

Fixes 37fb569c0198cba58e3e

Applied

Quoted 24 lines
---
 hw/ppc/spapr.c | 2 ++
 1 file changed, 2 insertions(+)
hw/ppc/spapr.c +2 -0
index f174e5a..01f8da8 100644
@@ -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)