From 39d6960aabfd90bf0bf7ba38d69e918962b70b16 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 25 Jan 2012 18:14:15 +0100 Subject: 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 Signed-off-by: Marcelo Tosatti --- qemu-config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qemu-config.c') diff --git a/qemu-config.c b/qemu-config.c index b030205e23..95bf5e5202 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -535,6 +535,10 @@ static QemuOptsList qemu_machine_opts = { .name = "kernel_irqchip", .type = QEMU_OPT_BOOL, .help = "use KVM in-kernel irqchip", + }, { + .name = "kvm_shadow_mem", + .type = QEMU_OPT_SIZE, + .help = "KVM shadow MMU size", }, { /* End of list */ } }, -- cgit v1.2.1