diff mbox

[v2,08/16] vl.c: Simplify "ignoring deprecated option" warnings

Message ID 1446057425-16891-9-git-send-email-ehabkost@redhat.com
State New
Headers show

Commit Message

Eduardo Habkost Oct. 28, 2015, 6:36 p.m. UTC
Simplify warnings about deprecated options by rewriting them as
"warning: ignoring deprecated option -<option>".

Suggested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 vl.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/vl.c b/vl.c
index f37e3a9..af8d09c 100644
--- a/vl.c
+++ b/vl.c
@@ -3654,8 +3654,7 @@  int main(int argc, char **argv, char **envp)
                 qemu_opts_parse_noisily(olist, "accel=tcg", false);
                 break;
             case QEMU_OPTION_no_kvm_pit: {
-                error_report("warning: KVM PIT can no longer be disabled "
-                             "separately");
+                error_report("warning: ignoring deprecated option -no-kvm-pit");
                 break;
             }
             case QEMU_OPTION_no_kvm_pit_reinjection: {
@@ -3794,8 +3793,7 @@  int main(int argc, char **argv, char **envp)
                 }
                 break;
             case QEMU_OPTION_tdf:
-                error_report("warning: user space PIT time drift fix "
-                             "is no longer supported");
+                error_report("warning: ignoring deprecated option -tdf");
                 break;
             case QEMU_OPTION_name:
                 opts = qemu_opts_parse_noisily(qemu_find_opts("name"),