mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
kvm: Allow to set shadow MMU size
Introduce the KVM-specific machine option kvm_shadow_mem. It allows to set a custom shadow MMU size for the virtual machine. This is useful for stress testing e.g. Only x86 supports this for now, but it is in principle a generic concept for all targets with shadow MMUs. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
cf4dc461a4
commit
39d6960aab
3 changed files with 21 additions and 1 deletions
|
@ -32,7 +32,8 @@ DEF("machine", HAS_ARG, QEMU_OPTION_machine, \
|
|||
" selects emulated machine (-machine ? for list)\n"
|
||||
" property accel=accel1[:accel2[:...]] selects accelerator\n"
|
||||
" supported accelerators are kvm, xen, tcg (default: tcg)\n"
|
||||
" kernel_irqchip=on|off controls accelerated irqchip support\n",
|
||||
" kernel_irqchip=on|off controls accelerated irqchip support\n"
|
||||
" kvm_shadow_mem=size of KVM shadow MMU\n",
|
||||
QEMU_ARCH_ALL)
|
||||
STEXI
|
||||
@item -machine [type=]@var{name}[,prop=@var{value}[,...]]
|
||||
|
@ -47,6 +48,8 @@ than one accelerator specified, the next one is used if the previous one fails
|
|||
to initialize.
|
||||
@item kernel_irqchip=on|off
|
||||
Enables in-kernel irqchip support for the chosen accelerator when available.
|
||||
@item kvm_shadow_mem=size
|
||||
Defines the size of the KVM shadow MMU.
|
||||
@end table
|
||||
ETEXI
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue