mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
bhyve: always generate ACPI tables
Most systems don't work properly without sane ACPI tables. Therefore, we're always generating them. Reviewed by: markj MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D41778
This commit is contained in:
parent
12349f3889
commit
6a0e7f9088
|
@ -112,9 +112,7 @@ exit is detected.
|
|||
.Bl -tag -width 10n
|
||||
.It Fl A
|
||||
Generate ACPI tables.
|
||||
Required for
|
||||
.Fx Ns /amd64
|
||||
guests.
|
||||
bhyve always generates ACPI tables so this option is obsolete.
|
||||
.It Fl a
|
||||
The guest's local APIC is configured in xAPIC mode.
|
||||
The xAPIC mode is the default setting so this option is redundant.
|
||||
|
|
|
@ -120,7 +120,7 @@ The value must be formatted as described in
|
|||
.Xr expand_number 3 .
|
||||
.It Va memory.wired Ta bool Ta false Ta
|
||||
Wire guest memory.
|
||||
.It Va acpi_tables Ta bool Ta false Ta
|
||||
.It Va acpi_tables Ta bool Ta true Ta
|
||||
Generate ACPI tables.
|
||||
.It Va acpi_tables_in_memory Ta bool Ta true Ta
|
||||
.Xr bhyve 8
|
||||
|
|
|
@ -1201,7 +1201,7 @@ static void
|
|||
set_defaults(void)
|
||||
{
|
||||
|
||||
set_config_bool("acpi_tables", false);
|
||||
set_config_bool("acpi_tables", true);
|
||||
set_config_bool("acpi_tables_in_memory", true);
|
||||
set_config_value("memory.size", "256M");
|
||||
set_config_bool("x86.strictmsr", true);
|
||||
|
@ -1240,7 +1240,11 @@ main(int argc, char *argv[])
|
|||
set_config_bool("x86.x2apic", false);
|
||||
break;
|
||||
case 'A':
|
||||
set_config_bool("acpi_tables", true);
|
||||
/*
|
||||
* NOP. For backward compatibility. Most systems don't
|
||||
* work properly without sane ACPI tables. Therefore,
|
||||
* we're always generating them.
|
||||
*/
|
||||
break;
|
||||
case 'D':
|
||||
set_config_bool("destroy_on_poweroff", true);
|
||||
|
|
Loading…
Reference in a new issue