mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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
3 changed files with 8 additions and 1 deletions
|
@ -3259,6 +3259,7 @@ void qemu_init(int argc, char **argv)
|
|||
qdict_put_str(machine_opts_dict, "acpi", "off");
|
||||
break;
|
||||
case QEMU_OPTION_no_hpet:
|
||||
warn_report("-no-hpet is deprecated, use '-machine hpet=off' instead");
|
||||
qdict_put_str(machine_opts_dict, "hpet", "off");
|
||||
break;
|
||||
case QEMU_OPTION_no_reboot:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue