Skip to contentSkip to conversation

kvm tools: Drop hard-coded 'nosmp' kernel parameter

PATCH New Pekka Enberg 1 participant 1 message Apr 6, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Cyrill Gorcunov <[email protected]>
---
 tools/kvm/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/kvm/main.c +1 -1
index 1eeb311..6065661 100644
@@ -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));
 
Signature · 1 line
1.7.0.4