kvm/booke: Add synchronize register for booke init
PATCH 1/1 kvm/booke: Add synchronize register for booke init
So that the following registers init could be flushed back to kvm.
Signed-off-by Liu Yu <[email protected]>
--- hw/ppc440_bamboo.c | 2 ++ hw/ppce500_mpc8544ds.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)
hw/ppc440_bamboo.c +2 -0
@@ -160,6 +160,8 @@ static void bamboo_init(ram_addr_t ram_size,exit (1 ); } +cpu_synchronize_state (env); +/* Set initial guest state. */ env->gpr[1 ] = (16 <<20 ) -8 ; env->gpr[3 ] = dt_base;
hw/ppce500_mpc8544ds.c +2 -0
@@ -261,6 +261,8 @@ static void mpc8544ds_init(ram_addr_t ram_size,exit (1 ); } +cpu_synchronize_state (env); +/* Set initial guest state. */ env->gpr[1 ] = (16 <<20 ) -8 ; env->gpr[3 ] = dt_base;
Signature · 1 line
1.6.4
Quoted 3 lines · Liu Yu
So that the following registers init could be flushed back to kvm.
Signed-off-by Liu Yu <[email protected]>
Acked-by Hollis Blanchard <[email protected]>
Thanks Yu.
-Hollis
Aurelien Jarno
AppliedQuoted 3 lines · Liu Yu
So that the following registers init could be flushed back to kvm.
Signed-off-by Liu Yu <[email protected]>
Thanks, applied.
Quoted 37 lines
--- hw/ppc440_bamboo.c | 2 ++ hw/ppce500_mpc8544ds.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)hw/ppc440_bamboo.c +2
-0@@ -160,6 +160,8 @@ static void bamboo_init(ram_addr_t ram_size,exit (1 ); } +cpu_synchronize_state (env); +/* Set initial guest state. */ env->gpr[1 ] = (16 <<20 ) -8 ; env->gpr[3 ] = dt_base;hw/ppce500_mpc8544ds.c +2
-0@@ -261,6 +261,8 @@ static void mpc8544ds_init(ram_addr_t ram_size,exit (1 ); } +cpu_synchronize_state (env); +/* Set initial guest state. */ env->gpr[1 ] = (16 <<20 ) -8 ; env->gpr[3 ] = dt_base;Signature · 1 line
1.6.4
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net