From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: kvm-tools: can't seem to set guest_mac and KVM_GET_SUPPORTED_CPUID failed. Date: Thu, 17 Nov 2011 08:56:38 +0200 Message-ID: <1321512998.4221.7.camel@lappy> References: <20111117004246.GA1694@dancer.ca.sandia.gov> <1321510055.4221.5.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: David Evensky , kvm@vger.kernel.org, Avi Kivity To: Pekka Enberg Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:35559 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751709Ab1KQG6m (ORCPT ); Thu, 17 Nov 2011 01:58:42 -0500 Received: by bke11 with SMTP id 11so1593902bke.19 for ; Wed, 16 Nov 2011 22:58:41 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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 :) 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. David, which host kernel do you use? -- Sasha.