From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: KVM_GET_SUPPORTED_CPUID returning -E2BIG Date: Sun, 08 May 2011 08:15:43 +0300 Message-ID: <1304831743.10534.28.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Pekka Enberg , Cyrill Gorcunov , Asias He , Prasad Joshi To: kvm Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:56678 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750843Ab1EHFPw (ORCPT ); Sun, 8 May 2011 01:15:52 -0400 Received: by wya21 with SMTP id 21so3199742wya.19 for ; Sat, 07 May 2011 22:15:51 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 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)? Also, Why would it happen randomly and not each time the code is run? -- Sasha.