OSDN Git Service

pc: Implement -no-hpet as sugar for -machine hpet=on
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 21 Oct 2020 14:47:16 +0000 (10:47 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 30 Oct 2020 08:29:13 +0000 (04:29 -0400)
commit0259c78ca79190df6e307a6ae43886dcb69eb92a
tree2ff4cb9a9adb312e2e22402ad9779e78c89b7103
parent170a6794efde98fb1ad70f59d4cd9af7decf279d
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>
hw/i386/pc.c
hw/i386/pc_piix.c
include/hw/i386/pc.h
include/hw/i386/x86.h
softmmu/vl.c