From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPOJF-0002sz-I3 for qemu-devel@nongnu.org; Fri, 10 Jul 2009 18:11:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPOJA-0002ri-4V for qemu-devel@nongnu.org; Fri, 10 Jul 2009 18:11:12 -0400 Received: from [199.232.76.173] (port=57975 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPOJ9-0002rd-UA for qemu-devel@nongnu.org; Fri, 10 Jul 2009 18:11:07 -0400 Received: from hobi.com ([130.94.185.247]:4431) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPOJ9-00061m-FC for qemu-devel@nongnu.org; Fri, 10 Jul 2009 18:11:07 -0400 Content-Disposition: inline From: Rick Vernam Date: Fri, 10 Jul 2009 17:11:05 -0500 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200907101711.05868.rickv@hobi.com> Subject: [Qemu-devel] Re: [Qemu-commits] [COMMIT 52249f0] Disable kqemu by default at run time List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: "qemu-devel@nongnu.org" 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 > >> > >> -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 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