mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
hw/i386: Make pit a property of common x86 base machine type
Both pc and microvm have pit property individually. Let's just make it the property of common x86 base machine type. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-Id: <20220310122811.807794-2-xiaoyao.li@intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
1f1a7b2269
commit
9dee7e5109
6 changed files with 31 additions and 51 deletions
|
@ -65,6 +65,7 @@ struct X86MachineState {
|
|||
|
||||
OnOffAuto smm;
|
||||
OnOffAuto acpi;
|
||||
OnOffAuto pit;
|
||||
|
||||
char *oem_id;
|
||||
char *oem_table_id;
|
||||
|
@ -84,6 +85,7 @@ struct X86MachineState {
|
|||
|
||||
#define X86_MACHINE_SMM "smm"
|
||||
#define X86_MACHINE_ACPI "acpi"
|
||||
#define X86_MACHINE_PIT "pit"
|
||||
#define X86_MACHINE_OEM_ID "x-oem-id"
|
||||
#define X86_MACHINE_OEM_TABLE_ID "x-oem-table-id"
|
||||
#define X86_MACHINE_BUS_LOCK_RATELIMIT "bus-lock-ratelimit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue