Re: KVM_GET_SUPPORTED_CPUID returning -E2BIG

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

 



On 05/08/2011 08:15 AM, Sasha Levin wrote:
Hello,

I'm seeing a case where KVM tools occasionally fails with the following
error message: "KVM_GET_SUPPORTED_CPUID failed: Argument list too long",
which means that we get -E2BIG back from KVM_GET_SUPPORTED_CPUID.

Why would it happen if we pass KVM_MAX_CPUID_ENTRIES as the max number
of entries (in the nent field of struct kvm_cpuid2)?

KVM_MAX_CPUID_ENTRIES is a private define, not exported to userspace (since it can change).

Also, Why would it happen randomly and not each time the code is run?

Probably you have some bug. E2BIG is returned when nent is smaller than the number of entries returned (which only depends on the host cpu type).

--
error compiling committee.c: too many arguments to function

--
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