diff mbox

[v3,10/11] vl.c: Reword -no-kvm-pit-reinjection deprecation warning

Message ID 1446217682-24421-11-git-send-email-ehabkost@redhat.com
State New
Headers show

Commit Message

Eduardo Habkost Oct. 30, 2015, 3:08 p.m. UTC
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
Changes series v2 -> v3:
* No need to mention option name in error message, as it is already
  present in the prefix printed by error_report()
  * Suggested-by: Markus Armbruster <armbru@redhat.com>
---
 vl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/vl.c b/vl.c
index b6ba369..e2999c9 100644
--- a/vl.c
+++ b/vl.c
@@ -3670,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;
             }