Re: KVM_MAX_VCPU hard limit of 255 on x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hardik H Bagdi <hbagdi1@xxxxxxxxxxxxxx> writes:

> Hello,
>
> For research, I am experimenting with increasing the number of VCPUs
> in the guest OS.
> I can increase the number of VCPUs till 255 in the guest OS but more
> than that results in the following error-
>
> kvm_init_vcpu failed: Invalid argument
>
> The hardcodede value of 255 can be found here for x86.
> ./arch/x86/include/asm/kvm_host.h:38:#define KVM_MAX_VCPUS 255
>
> #define a new value is not successful i.e. the same error persists.
> I'm using qemu 2.5.0 with host kernel 3.19.0
> Any help will be really appreciated.

Radim (Cced) might have more info but the short answer is that you
can't just simply increase the number. For >255, you need x2apic
with interrupt remapping which is still missing. 

> Thank you,
> Hardik Bagdi
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux