kvm tools: Drop hard-coded 'nosmp' kernel parameter
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]>
Signed-off-by Pekka Enberg <[email protected]>
--- tools/kvm/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/kvm/main.c +1 -1
@@ -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