From: Pekka Enberg Date: Wed, 6 Apr 2011 15:46:29 +0000 (+0300) Subject: kvm tools: Drop hard-coded 'nosmp' kernel parameter X-Git-Tag: next-20110824~3^2~491 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=44faebde7eb37b9e19bcf17e56237fb66488bbab;p=karo-tx-linux.git 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 --- 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));