Deprecate the "-no-acpi" command line switch
PATCH 1/1 Deprecate the "-no-acpi" command line switch
Similar to "-no-hpet", the "-no-acpi" switch is a legacy command line option that should be replaced with the "acpi" machine parameter nowadays.
--- docs/about/deprecated.rst | 6 ++++++ softmmu/vl.c | 1 + 2 files changed, 7 insertions(+)
docs/about/deprecated.rst +6 -0
@@ -99,6 +99,12 @@ form is preferred. The HPET setting has been turned into a machine property. Use ``-machine hpet=off`` instead. +``-no-acpi`` (since 8.0) +'''''''''''''''''''''''' + +The ``-no-acpi`` setting has been turned into a machine property. +Use ``-machine acpi=off`` instead. + ``-accel hax`` (since 8.0) ''''''''''''''''''''''''''
softmmu/vl.c +1 -0
@@ -3271,6 +3271,7 @@ void qemu_init(int argc, char **argv)vnc_parse (optarg);break ;case QEMU_OPTION_no_acpi: +warn_report ("-no-hpet is deprecated, use '-machine acpi=off' instead" );qdict_put_str (machine_opts_dict,"acpi" ,"off" );break ;case QEMU_OPTION_no_hpet:
Signature · 1 line
2.31.1
Quoted 9 lines · Thomas Huth
Similar to "-no-hpet", the "-no-acpi" switch is a legacy command line option that should be replaced with the "acpi" machine parameter nowadays.
Signed-off-by Thomas Huth <[email protected]>--- docs/about/deprecated.rst | 6 ++++++ softmmu/vl.c | 1 + 2 files changed, 7 insertions(+)
Quoted 32 lines · Thomas Huth
Similar to "-no-hpet", the "-no-acpi" switch is a legacy command line option that should be replaced with the "acpi" machine parameter nowadays.
Signed-off-by Thomas Huth <[email protected]>--- docs/about/deprecated.rst | 6 ++++++ softmmu/vl.c | 1 + 2 files changed, 7 insertions(+)docs/about/deprecated.rst +6
-0@@ -99,6 +99,12 @@ form is preferred. The HPET setting has been turned into a machine property. Use ``-machine hpet=off`` instead. +``-no-acpi`` (since 8.0) +'''''''''''''''''''''''' + +The ``-no-acpi`` setting has been turned into a machine property. +Use ``-machine acpi=off`` instead. + ``-accel hax`` (since 8.0) ''''''''''''''''''''''''''softmmu/vl.c +0
-0
softmmu/vl.c void qemu_init(int argc, char **argv) · line 3274
Quoted 4 lines
softmmu/vl.c +1
-0@@ -3271,6 +3271,7 @@ void qemu_init(int argc, char **argv)vnc_parse (optarg);break ;case QEMU_OPTION_no_acpi: +warn_report ("-no-hpet is deprecated, use '-machine acpi=off' instead" );
"no-acpi" is deprecated?
Is my understanding correct that there is no need to update qemu-options.hx ?
Thanks,
Sunil
Quoted 28 lines · Sunil V L
Quoted 27 lines · Thomas Huth
Similar to "-no-hpet", the "-no-acpi" switch is a legacy command line option that should be replaced with the "acpi" machine parameter nowadays.
Signed-off-by Thomas Huth <[email protected]>--- docs/about/deprecated.rst | 6 ++++++ softmmu/vl.c | 1 + 2 files changed, 7 insertions(+)docs/about/deprecated.rst +6
-0@@ -99,6 +99,12 @@ form is preferred. The HPET setting has been turned into a machine property. Use ``-machine hpet=off`` instead. +``-no-acpi`` (since 8.0) +'''''''''''''''''''''''' + +The ``-no-acpi`` setting has been turned into a machine property. +Use ``-machine acpi=off`` instead. + ``-accel hax`` (since 8.0) ''''''''''''''''''''''''''
Quoted 11 lines
softmmu/vl.c void qemu_init(int argc, char **argv) · line 3274
Quoted 9 lines
softmmu/vl.c +1
-0@@ -3271,6 +3271,7 @@ void qemu_init(int argc, char **argv)vnc_parse (optarg);break ;case QEMU_OPTION_no_acpi: +warn_report ("-no-hpet is deprecated, use '-machine acpi=off' instead" );"no-acpi" is deprecated?
That's at least my plan. The patch is under discussion, but at least in my opinion, this option should go away in the long run, yes.
Quoted 1 line
Is my understanding correct that there is no need to update qemu-options.hx ?
If nobody objects to my patch here, it indeed does not make too much sense to enable -no-acpi on risc-v or other platforms now, yes.
Thomas
Quoted 39 lines · Thomas Huth
Quoted 29 lines · Sunil V L
Quoted 28 lines · Thomas Huth
Similar to "-no-hpet", the "-no-acpi" switch is a legacy command line option that should be replaced with the "acpi" machine parameter nowadays.
Signed-off-by Thomas Huth <[email protected]>--- docs/about/deprecated.rst | 6 ++++++ softmmu/vl.c | 1 + 2 files changed, 7 insertions(+)docs/about/deprecated.rst +6
-0@@ -99,6 +99,12 @@ form is preferred. The HPET setting has been turned into a machine property. Use ``-machine hpet=off`` instead. +``-no-acpi`` (since 8.0) +'''''''''''''''''''''''' + +The ``-no-acpi`` setting has been turned into a machine property. +Use ``-machine acpi=off`` instead. + ``-accel hax`` (since 8.0) ''''''''''''''''''''''''''softmmu/vl.c +0
-1--- a/softmmu/vl.cQuoted 8 lines
softmmu/vl.c void qemu_init(int argc, char **argv) · line 3274
Quoted 6 lines
+++
b/softmmu/vl.csoftmmu/vl.c +1
-0@@ -3271,6 +3271,7 @@ void qemu_init(int argc, char **argv)vnc_parse (optarg);break ;case QEMU_OPTION_no_acpi: +warn_report ("-no-hpet is deprecated, use '-machine acpi=off' instead" );"no-acpi" is deprecated?
Quoted 3 lines
That's at least my plan. The patch is under discussion, but at least in my opinion, this option should go away in the long run, yes.
Sorry for not being clear. It is mentioned as -no-hpet is deprecated. It should be -no-acpi.
Thanks,
Sunil
Quoted 40 lines · Sunil V L
Quoted 39 lines · Thomas Huth
Quoted 37 lines · Sunil V L
Quoted 30 lines · Thomas Huth
Similar to "-no-hpet", the "-no-acpi" switch is a legacy command line option that should be replaced with the "acpi" machine parameter nowadays.
Signed-off-by Thomas Huth <[email protected]>--- docs/about/deprecated.rst | 6 ++++++ softmmu/vl.c | 1 + 2 files changed, 7 insertions(+)docs/about/deprecated.rst +6
-0@@ -99,6 +99,12 @@ form is preferred. The HPET setting has been turned into a machine property. Use ``-machine hpet=off`` instead. +``-no-acpi`` (since 8.0) +'''''''''''''''''''''''' + +The ``-no-acpi`` setting has been turned into a machine property. +Use ``-machine acpi=off`` instead. + ``-accel hax`` (since 8.0) ''''''''''''''''''''''''''softmmu/vl.c +0
-0softmmu/vl.c void qemu_init(int argc, char **argv) · line 3274
Quoted 4 lines
softmmu/vl.c +1
-0@@ -3271,6 +3271,7 @@ void qemu_init(int argc, char **argv)vnc_parse (optarg);break ;case QEMU_OPTION_no_acpi: +warn_report ("-no-hpet is deprecated, use '-machine acpi=off' instead" );"no-acpi" is deprecated?
Quoted 5 lines
Quoted 3 lines
That's at least my plan. The patch is under discussion, but at least in my opinion, this option should go away in the long run, yes.
Sorry for not being clear. It is mentioned as -no-hpet is deprecated. It should be -no-acpi.
D'oh, stupid copy-n-paste bug! Thanks, I'll send a v2 :-)
Thomas