From 44faebde7eb37b9e19bcf17e56237fb66488bbab Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 6 Apr 2011 18:46:29 +0300 Subject: [PATCH] kvm tools: Drop hard-coded 'nosmp' kernel parameter As noted by Cyrill, there's no need to pass 'nosmp' to the guest kernel because it'll switch to PIC after noticing APIC is not available. Cc: Asias He Cc: Cyrill Gorcunov Signed-off-by: Pekka Enberg --- tools/kvm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/main.c b/tools/kvm/main.c index 1eeb311337a7..606566192d35 100644 --- a/tools/kvm/main.c +++ b/tools/kvm/main.c @@ -148,7 +148,7 @@ int main(int argc, char *argv[]) kvm__setup_cpuid(kvm); - strcpy(real_cmdline, "notsc nolapic nosmp noacpi pci=conf1 console=ttyS0 "); + strcpy(real_cmdline, "notsc nolapic noacpi pci=conf1 console=ttyS0 "); if (!kernel_cmdline || !strstr(kernel_cmdline, "root=")) strlcat(real_cmdline, "root=/dev/vda rw ", sizeof(real_cmdline)); -- 2.39.5