From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-tools: can't seem to set guest_mac and KVM_GET_SUPPORTED_CPUID failed. Date: Thu, 17 Nov 2011 11:04:05 +0200 Message-ID: <4EC4CE05.6000607@redhat.com> References: <20111117004246.GA1694@dancer.ca.sandia.gov> <1321510055.4221.5.camel@lappy> <1321512998.4221.7.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , David Evensky , kvm@vger.kernel.org To: Sasha Levin Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23031 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756023Ab1KQJE5 (ORCPT ); Thu, 17 Nov 2011 04:04:57 -0500 In-Reply-To: <1321512998.4221.7.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On 11/17/2011 08:56 AM, Sasha Levin wrote: > On Thu, 2011-11-17 at 08:53 +0200, Pekka Enberg wrote: > > On Thu, Nov 17, 2011 at 8:07 AM, Sasha Levin wrote: > > >> Also, when I start the guest I sometimes get the following error message: > > >> > > >> # kvm run -k /path/to/bzImage-3.0.8 -m 256 -c 1 --name guest-15757 > > >> KVM_GET_SUPPORTED_CPUID failed: Argument list too long > > > > > > Heh, we were talking about it couple of weeks ago, but since I couldn't > > > reproduce it here (it was happening to me before, but now it's gone) the > > > discussing died. > > > > > > Could you please provide some statistics on how often it happens to you? > > > Also, can you try wrapping the ioctl with a 'while (1)' (theres only 1 > > > ioctl call to KVM_GET_SUPPORTED_CPUID) and see if it would happen at > > > some point? > > > > I'm no longer able to reproduce it here with 3.2-rc1. We could just > > try the easy way out and do what Qemu does and retry for E2BIG... > > Let's not do that :) Right :) > It'll just get uncovered again when someone decides to use > KVM_GET_SUPPORTED_CPUID somewhere else (like in Avi's cpuid patch). > > I'll try going back to <3.0 later today and see if it comes back. It might be worthwhile to write a small program that only does KVM_GET_SUPPORTED_CPUID, to rule out issues in userspace (though there isn't much of a window for such issues). -- error compiling committee.c: too many arguments to function