All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rick Vernam <rickv@hobi.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [Qemu-commits] [COMMIT 52249f0] Disable kqemu by default at run time
Date: Fri, 10 Jul 2009 17:11:05 -0500	[thread overview]
Message-ID: <200907101711.05868.rickv@hobi.com> (raw)

On Friday 10 July 2009 3:59:14 pm Anthony Liguori wrote:
> Rick Vernam wrote:
> > On Friday 10 July 2009 2:16:43 pm Anthony Liguori wrote:
> >> From: Anthony Liguori <aliguori@us.ibm.com>
> >>
> >>  -no-kqemu -> -enable-kqemu
> >
> > I didn't take the two or three minutes to track down where kqemu_allowed
> > is used, but from this patch I would surmise that -kernel-kqemu implies
> > -enable- kqemu?
>
> Yup.
>
> > I think that's fine if that is the case, but should it also be specified
> > in the documentation?
>
> Please send a patch.  I was very much on the fence about whether to
> change the docs so I'm not sure how I would reword it.
I gave this very little thought, but given KQemu's audience based on your 
recent poll, I don't think KQemu documentation merits much thought.

Signed-off-by: Rick Vernam <rickv@hobi.com>

diff --git a/qemu-options.hx b/qemu-options.hx
index 3f69965..86dcd17 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1387,22 +1387,24 @@ Set the filename for the BIOS.
 ETEXI

 #ifdef CONFIG_KQEMU
-DEF("kernel-kqemu", 0, QEMU_OPTION_kernel_kqemu, \
-    "-kernel-kqemu   enable KQEMU full virtualization (default is user mode 
only)\n")
+DEF("enable-kqemu", 0, QEMU_OPTION_enable_kqemu, \
+    "-enable-kqemu   enable KQEMU user mode virtualization only\n")
 #endif
 STEXI
-@item -kernel-kqemu
-Enable KQEMU full virtualization (default is user mode only).
+@item -enable-kqemu
+Enable KQEMU user mode virtualization only. KQEMU usage is disabled by 
default.
+KQEMU options are only available if KQEMU support is enabled when compiling.
 ETEXI

 #ifdef CONFIG_KQEMU
-DEF("enable-kqemu", 0, QEMU_OPTION_enable_kqemu, \
-    "-enable-kqemu   enable KQEMU kernel module usage\n")
+DEF("kernel-kqemu", 0, QEMU_OPTION_kernel_kqemu, \
+    "-kernel-kqemu   enable KQEMU full virtualization (implies -enable-
kqemu)\n")
 #endif
 STEXI
-@item -enable-kqemu
-Enable KQEMU kernel module usage. KQEMU options are only available if
-KQEMU support is enabled when compiling.
+@item -kernel-kqemu
+Enable KQEMU full virtualization. This includes user mode (ie, -enable-
kqemu).
+KQEMU usage is disabled by default.
+KQEMU options are only available if KQEMU support is enabled when compiling.
 ETEXI

 #ifdef CONFIG_KVM


>
> Regards,
>
> Anthony Liguori

             reply	other threads:[~2009-07-10 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 22:11 Rick Vernam [this message]
     [not found] <200907101914.n6AJDphP012182@d03av02.boulder.ibm.com>
     [not found] ` <200907101448.40098.rickv@hobi.com>
2009-07-10 20:59   ` [Qemu-devel] Re: [Qemu-commits] [COMMIT 52249f0] Disable kqemu by default at run time Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907101711.05868.rickv@hobi.com \
    --to=rickv@hobi.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.