mirror of https://gitlab.com/qemu-project/qemu
i386: Deprecate the -no-hpet QEMU command line option
The HPET setting has been turned into a machine property a while ago already, so we should finally do the next step and deprecate the legacy CLI option, too. Message-Id: <20221229114913.260400-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
9a2112f9ae
commit
df37330c05
|
@ -114,6 +114,12 @@ form is preferred.
|
||||||
Using ``-drive if=none`` to configure the OTP device of the sifive_u
|
Using ``-drive if=none`` to configure the OTP device of the sifive_u
|
||||||
RISC-V machine is deprecated. Use ``-drive if=pflash`` instead.
|
RISC-V machine is deprecated. Use ``-drive if=pflash`` instead.
|
||||||
|
|
||||||
|
``-no-hpet`` (since 8.0)
|
||||||
|
''''''''''''''''''''''''
|
||||||
|
|
||||||
|
The HPET setting has been turned into a machine property.
|
||||||
|
Use ``-machine hpet=off`` instead.
|
||||||
|
|
||||||
|
|
||||||
QEMU Machine Protocol (QMP) commands
|
QEMU Machine Protocol (QMP) commands
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
|
@ -2542,7 +2542,7 @@ DEF("no-hpet", 0, QEMU_OPTION_no_hpet,
|
||||||
"-no-hpet disable HPET\n", QEMU_ARCH_I386)
|
"-no-hpet disable HPET\n", QEMU_ARCH_I386)
|
||||||
SRST
|
SRST
|
||||||
``-no-hpet``
|
``-no-hpet``
|
||||||
Disable HPET support.
|
Disable HPET support. Deprecated, use '-machine hpet=off' instead.
|
||||||
ERST
|
ERST
|
||||||
|
|
||||||
DEF("acpitable", HAS_ARG, QEMU_OPTION_acpitable,
|
DEF("acpitable", HAS_ARG, QEMU_OPTION_acpitable,
|
||||||
|
|
|
@ -3259,6 +3259,7 @@ void qemu_init(int argc, char **argv)
|
||||||
qdict_put_str(machine_opts_dict, "acpi", "off");
|
qdict_put_str(machine_opts_dict, "acpi", "off");
|
||||||
break;
|
break;
|
||||||
case QEMU_OPTION_no_hpet:
|
case QEMU_OPTION_no_hpet:
|
||||||
|
warn_report("-no-hpet is deprecated, use '-machine hpet=off' instead");
|
||||||
qdict_put_str(machine_opts_dict, "hpet", "off");
|
qdict_put_str(machine_opts_dict, "hpet", "off");
|
||||||
break;
|
break;
|
||||||
case QEMU_OPTION_no_reboot:
|
case QEMU_OPTION_no_reboot:
|
||||||
|
|
Loading…
Reference in New Issue