mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
pc: Implement -no-hpet as sugar for -machine hpet=on
Get rid of yet another global variable. The default will be hpet=on only if CONFIG_HPET=y. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20201021144716.1536388-1-ehabkost@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
170a6794ef
commit
0259c78ca7
5 changed files with 47 additions and 26 deletions
|
@ -216,7 +216,7 @@ static void pc_init1(MachineState *machine,
|
|||
i440fx_state = NULL;
|
||||
isa_bus = isa_bus_new(NULL, get_system_memory(), system_io,
|
||||
&error_abort);
|
||||
no_hpet = 1;
|
||||
pcms->hpet_enabled = false;
|
||||
}
|
||||
isa_bus_irqs(isa_bus, x86ms->gsi);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue