qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Mark legacy option '-no-kvm' as deprecated
@ 2017-05-02 11:54 Thomas Huth
  2017-05-05 14:48 ` Stefan Hajnoczi
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Huth @ 2017-05-02 11:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

'-no-kvm' was just a legacy convenience option for the users of
qemu-kvm, it never made sense in the normal QEMU tree since TCG is
the default here anyway. The option has also never been specified
in the QEMU docs and in the '--help' list, so likely hardly anybody
knows about this option at all. I think we could get rid of this
without bothering anybody nowadays, but just in case, let's print
out a warning for a couple of releases first.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 vl.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vl.c b/vl.c
index d5ec87e..2d44621 100644
--- a/vl.c
+++ b/vl.c
@@ -3709,7 +3709,9 @@ int main(int argc, char **argv, char **envp)
                     exit(1);
                 }
                 break;
-             case QEMU_OPTION_no_kvm:
+            case QEMU_OPTION_no_kvm:
+                error_report("'-no-kvm' is depreacted, please use "
+                             "'-accel tcg' instead");
                 olist = qemu_find_opts("machine");
                 qemu_opts_parse_noisily(olist, "accel=tcg", false);
                 break;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-09  7:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-02 11:54 [Qemu-devel] [PATCH] Mark legacy option '-no-kvm' as deprecated Thomas Huth
2017-05-05 14:48 ` Stefan Hajnoczi
2017-05-05 14:50   ` Daniel P. Berrange
2017-05-08  8:42     ` Markus Armbruster
2017-05-08  9:14       ` Thomas Huth
2017-05-08  9:40         ` Daniel P. Berrange
2017-05-08 10:15           ` Thomas Huth
2017-05-09  7:49             ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).