Message ID | 20240819010642.13897-1-sidongli1997@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [kvmtool,1/4] x86: Set the correct srcbusirq of pci irq mptable | expand |
diff --git a/x86/kvm.c b/x86/kvm.c index 71ebb1e..e07d964 100644 --- a/x86/kvm.c +++ b/x86/kvm.c @@ -130,7 +130,7 @@ void kvm__init_ram(struct kvm *kvm) /* Arch-specific commandline setup */ void kvm__arch_set_cmdline(char *cmdline, bool video) { - strcpy(cmdline, "noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 " + strcpy(cmdline, "noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 " "i8042.dumbkbd=1 i8042.nopnp=1"); if (video) strcat(cmdline, " video=vesafb");
When running guest kernel 6.9 and later and above and the number of vCPUs is greater than 1, dmesg reports: [ 0.009932] CPU topo: CPU limit of 1 reached. Ignoring further CPUs Only one CPU is available at this point, solve this problem by enabling io apic. Signed-off-by: Dongli Si <sidongli1997@gmail.com> --- x86/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)