hw/i386: Add `\n` to hint message

error_printf() doesn't add newlines.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Greg Kurz 2024-01-30 17:37:39 +01:00 committed by Michael Tokarev
parent 93e08863d9
commit dfa1aa8708
1 changed files with 2 additions and 2 deletions

View File

@ -2697,7 +2697,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
" migration may not work", " migration may not work",
tables_blob->len, legacy_table_size); tables_blob->len, legacy_table_size);
error_printf("Try removing CPUs, NUMA nodes, memory slots" error_printf("Try removing CPUs, NUMA nodes, memory slots"
" or PCI bridges."); " or PCI bridges.\n");
} }
g_array_set_size(tables_blob, legacy_table_size); g_array_set_size(tables_blob, legacy_table_size);
} else { } else {
@ -2709,7 +2709,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
" migration may not work", " migration may not work",
tables_blob->len, ACPI_BUILD_TABLE_SIZE / 2); tables_blob->len, ACPI_BUILD_TABLE_SIZE / 2);
error_printf("Try removing CPUs, NUMA nodes, memory slots" error_printf("Try removing CPUs, NUMA nodes, memory slots"
" or PCI bridges."); " or PCI bridges.\n");
} }
acpi_align_size(tables_blob, ACPI_BUILD_TABLE_SIZE); acpi_align_size(tables_blob, ACPI_BUILD_TABLE_SIZE);
} }