mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
Disable kqemu by default at run time
-no-kqemu -> -enable-kqemu kqemu is still present at compile time by default Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
eeb34af986
commit
52249f0f3c
2
kqemu.c
2
kqemu.c
@ -81,7 +81,7 @@ int kqemu_fd = KQEMU_INVALID_FD;
|
||||
1 = user kqemu
|
||||
2 = kernel kqemu
|
||||
*/
|
||||
int kqemu_allowed = 1;
|
||||
int kqemu_allowed = 0;
|
||||
uint64_t *pages_to_flush;
|
||||
unsigned int nb_pages_to_flush;
|
||||
uint64_t *ram_pages_to_update;
|
||||
|
@ -1396,12 +1396,12 @@ Enable KQEMU full virtualization (default is user mode only).
|
||||
ETEXI
|
||||
|
||||
#ifdef CONFIG_KQEMU
|
||||
DEF("no-kqemu", 0, QEMU_OPTION_no_kqemu, \
|
||||
"-no-kqemu disable KQEMU kernel module usage\n")
|
||||
DEF("enable-kqemu", 0, QEMU_OPTION_enable_kqemu, \
|
||||
"-enable-kqemu enable KQEMU kernel module usage\n")
|
||||
#endif
|
||||
STEXI
|
||||
@item -no-kqemu
|
||||
Disable KQEMU kernel module usage. KQEMU options are only available if
|
||||
@item -enable-kqemu
|
||||
Enable KQEMU kernel module usage. KQEMU options are only available if
|
||||
KQEMU support is enabled when compiling.
|
||||
ETEXI
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user