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

2011-11-17 Thread Sasha Levin
On Thu, 2011-11-17 at 11:04 +0200, Avi Kivity wrote: 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 levinsasha...@gmail.com wrote: Also, when I start the guest I sometimes get the

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

2011-11-17 Thread David Evensky
On Thu, Nov 17, 2011 at 08:56:38AM +0200, 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 levinsasha...@gmail.com wrote: Also, when I start the guest I sometimes get the following error message: David, which

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

2011-11-17 Thread Sasha Levin
On Thu, 2011-11-17 at 07:38 -0800, David Evensky wrote: On Thu, Nov 17, 2011 at 08:56:38AM +0200, 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 levinsasha...@gmail.com wrote: Also, when I start the guest I

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

2011-11-17 Thread David Evensky
It prints 'Returned entries: 31' \dae On Thu, Nov 17, 2011 at 05:43:49PM +0200, Sasha Levin wrote: On Thu, 2011-11-17 at 07:38 -0800, David Evensky wrote: On Thu, Nov 17, 2011 at 08:56:38AM +0200, Sasha Levin wrote: On Thu, 2011-11-17 at 08:53 +0200, Pekka Enberg wrote: On Thu, Nov 17,

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

2011-11-17 Thread Sasha Levin
On Thu, 2011-11-17 at 07:50 -0800, David Evensky wrote: It prints 'Returned entries: 31' \dae Thats the OK scenario, could you run it several times to see if you can trigger it to print something else? -- Sasha. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of

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

2011-11-17 Thread Avi Kivity
On 11/17/2011 05:52 PM, Sasha Levin wrote: On Thu, 2011-11-17 at 07:50 -0800, David Evensky wrote: It prints 'Returned entries: 31' \dae Thats the OK scenario, could you run it several times to see if you can trigger it to print something else? Maybe with 'taskset' to get it to run on

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

2011-11-17 Thread David Evensky
On Thu, Nov 17, 2011 at 08:07:35AM +0200, Sasha Levin wrote: On Wed, 2011-11-16 at 16:42 -0800, David Evensky wrote: ... This should be '-n mode=tap,guest_mac=00:11:11:11:11:11' ... Thanks! Also, when I start the guest I sometimes get the following error message: # kvm run -k

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

2011-11-17 Thread David Evensky
evensky@waltz:~/megatux/vmatic$ perl -e 'for $cnt (1..10){ $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

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

2011-11-17 Thread Sasha Levin
On Thu, 2011-11-17 at 08:12 -0800, David Evensky wrote: evensky@waltz:~/megatux/vmatic$ perl -e 'for $cnt (1..10){ $o=`./4sasha`; chomp($o); $histogram{$o}++}; for $o (keys %histogram){print $o: $histogram{$o}\n}' Returned entries: 31: 99987 Returned entries: 56: 1

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

2011-11-17 Thread Avi Kivity
On 11/17/2011 06:12 PM, David Evensky wrote: evensky@waltz:~/megatux/vmatic$ perl -e 'for $cnt (1..10){ $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

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

2011-11-17 Thread David Evensky
Avi, evensky@waltz:~/megatux/vmatic$ perl -e 'for $cnt (1..1){ $o=`taskset 0x01 ./4sasha`; chomp($o); $histogram{$o}++}; for $o (sort keys %histogram){print $o: $histogram{$o}\n}' KVM_GET_SUPPORTED_CPUID returned -1 with errno 7: 3 Returned entries: 31: 9995 Returned entries: 32: 1

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

2011-11-17 Thread Avi Kivity
On 11/17/2011 06:29 PM, David Evensky wrote: Avi, evensky@waltz:~/megatux/vmatic$ perl -e 'for $cnt (1..1){ $o=`taskset 0x01 ./4sasha`; chomp($o); $histogram{$o}++}; for $o (sort keys %histogram){print $o: $histogram{$o}\n}' KVM_GET_SUPPORTED_CPUID returned -1 with errno 7: 3 Returned

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

2011-11-17 Thread David Evensky
Avi, sure: evensky@waltz:~$ gcc supported-cpuid.c -o supported-cpuid evensky@waltz:~$ ./supported-cpuid Returned entries: 37 func ind flags - 000d 756e6547 6c65746e 49656e69 func 0001 ind flags - 000206a7 01100800 16b82203

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

2011-11-17 Thread Avi Kivity
On 11/17/2011 07:13 PM, David Evensky wrote: func 000d ind 0001 flags 0001 - 0001 func 8001 ind flags - 0001 28100800 func 000d ind 0003 flags 0001 -

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

2011-11-16 Thread David Evensky
There was a patch (quoted below) that changed networking at the end of September. When I try to set the guest_mac from the usage in the patch and an admittaly too brief a look at the code, the guest's mac address isn't being set. I'm using: sudo /path/to/linux-kvm/tools/kvm/kvm run -c 1 -m 256

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

2011-11-16 Thread Sasha Levin
On Wed, 2011-11-16 at 16:42 -0800, David Evensky wrote: There was a patch (quoted below) that changed networking at the end of September. When I try to set the guest_mac from the usage in the patch and an admittaly too brief a look at the code, the guest's mac address isn't being set. I'm

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

2011-11-16 Thread Pekka Enberg
On Thu, Nov 17, 2011 at 8:07 AM, Sasha Levin levinsasha...@gmail.com 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

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

2011-11-16 Thread Sasha Levin
On Thu, 2011-11-17 at 08:53 +0200, Pekka Enberg wrote: On Thu, Nov 17, 2011 at 8:07 AM, Sasha Levin levinsasha...@gmail.com 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