Re: kvm-tools: can't seem to set guest_mac and KVM_GET_SUPPORTED_CPUID failed.

Avi Kivity
2011-11-17T16:21:22Z

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