Disable kqemu by default at run time
Quoted 10 lines · Anthony Liguori
Quoted 8 lines · Rick Vernam
Quoted 3 lines · Anthony Liguori
From: Anthony Liguori <[email protected]>
-no-kqemu -> -enable-kqemu
I didn't take the two or three minutes to track down where
kqemu_allowedis used, but from this patch I would surmise that -kernel-kqemu implies -enable- kqemu?
Quoted 7 lines
Yup.
Quoted 2 lines
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.
qemu-options.hx +0 -2
@@ -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
Quoted 4 lines
Regards,
Anthony Liguori