aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-10-30 13:08:00 -0200
committerMarkus Armbruster <armbru@redhat.com>2015-11-03 09:38:26 +0100
commit515cb8ef27874822c64bc81ccde9bd7227383137 (patch)
tree7132c03b5793405575b613ee61e96c8f74c0e7d0 /vl.c
parent4cd70f34afa817cfc891f6c64fd7e277ba561784 (diff)
vl.c: Improve warnings on use of deprecated options
Simplify warnings about deprecated options by rewriting them as "warning: ignoring deprecated option". Reword -no-kvm-pit-reinjection deprecation warning. Suggested-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1446217682-24421-10-git-send-email-ehabkost@redhat.com> [Squashed in Message-Id: <1446217682-24421-11-git-send-email-ehabkost@redhat.com> and updated commit message] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/vl.c b/vl.c
index 2d48e220c9..e2999c9862 100644
--- a/vl.c
+++ b/vl.c
@@ -3657,8 +3657,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");
break;
}
case QEMU_OPTION_no_kvm_pit_reinjection: {
@@ -3671,8 +3670,8 @@ int main(int argc, char **argv, char **envp)
{ /* end of list */ }
};
- error_report("warning: option deprecated, use "
- "lost_tick_policy property of kvm-pit instead");
+ error_report("warning: deprecated, replaced by "
+ "-global kvm-pit.lost_tick_policy=discard");
qdev_prop_register_global_list(kvm_pit_lost_tick_policy);
break;
}
@@ -3795,8 +3794,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");
break;
case QEMU_OPTION_name:
opts = qemu_opts_parse_noisily(qemu_find_opts("name"),