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 18:20:33 +0200 Message-ID: <4EC53451.5070209@redhat.com> References: <20111117004246.GA1694@dancer.ca.sandia.gov> <1321510055.4221.5.camel@lappy> <1321512998.4221.7.camel@lappy> <20111117153833.GA5915@dancer.ca.sandia.gov> <1321544629.8010.9.camel@lappy> <20111117155000.GB5915@dancer.ca.sandia.gov> <1321545120.8010.10.camel@lappy> <4EC52E0E.1000502@redhat.com> <20111117161200.GB25489@dancer.ca.sandia.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Sasha Levin , Pekka Enberg , kvm@vger.kernel.org To: David Evensky Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57047 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753809Ab1KQQVW (ORCPT ); Thu, 17 Nov 2011 11:21:22 -0500 In-Reply-To: <20111117161200.GB25489@dancer.ca.sandia.gov> Sender: kvm-owner@vger.kernel.org List-ID: On 11/17/2011 06:12 PM, David Evensky wrote: > > evensky@waltz:~/megatux/vmatic$ perl -e 'for $cnt (1..100000){ $o=`./4sasha`; chomp($o); $histogram{$o}++}; for $o (keys %histogram){print "$o: $histogram{$o}\n"}' > Returned entries: 31: 99987 > Returned entries: 56: 1 > KVM_GET_SUPPORTED_CPUID returned -1 with errno 7: 8 > Returned entries: 37: 4 > > So it seems to be cpu migration related. But there's a get_cpu() in do_cpuid_ent(). What happens if you change `./4sasha` to `taskset 1 ./4sasha`? or 2 4 8 10 20 etc? -- error compiling committee.c: too many arguments to function