On 10/31/19 5:08 AM, Edgar E. Iglesias wrote:
Rebuild hflags when modifying CPUState at boot.

Fixes: e979972a6a
Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
---
  hw/arm/boot.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index c264864c11..ef6724960c 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -786,6 +786,7 @@ static void do_cpu_reset(void *opaque)
                  info->secondary_cpu_reset_hook(cpu, info);
              }
          }
+        arm_rebuild_hflags(env);
      }
  }

Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>


Reply via email to