@@ -1292,6 +1292,8 @@ void arm_load_kernel(ARMCPU *cpu, MachineState *ms, struct arm_boot_info *info)
* doesn't support secure.
*/
assert(!(info->secure_board_setup && kvm_enabled()));
+ info_report("load the kernel");
+
info->kernel_filename = ms->kernel_filename;
info->kernel_cmdline = ms->kernel_cmdline;
info->initrd_filename = ms->initrd_filename;
@@ -820,6 +820,7 @@ static void virt_powerdown_req(Notifier *n, void *opaque)
{
VirtMachineState *s = container_of(n, VirtMachineState, powerdown_notifier);
+ info_report("send powerdown to vm.");
if (s->acpi_dev) {
acpi_send_event(s->acpi_dev, ACPI_POWER_DOWN_STATUS);
} else {
@@ -1780,6 +1781,7 @@ static void machvirt_init(MachineState *machine)
}
create_fdt(vms);
+ info_report("cpu init start");
possible_cpus = mc->possible_cpu_arch_ids(machine);
for (n = 0; n < possible_cpus->len; n++) {
Add log at boot & cpu init for aarch64. Signed-off-by: Peng Liang <liangpeng10@huawei.com> --- hw/arm/boot.c | 2 ++ hw/arm/virt.c | 2 ++ 2 files changed, 4 insertions(+)