Re: [Qemu-devel] [PATCH] test for lm capable kernel.

2009-10-22 Thread Glauber Costa
On Thu, Oct 22, 2009 at 06:51:46PM +0200, Avi Kivity wrote: > On 10/14/2009 07:09 PM, Glauber Costa wrote: >> Don't save x86_64-specific msrs if our kernel does not support them. >> Code is already in qemu-kvm.git, but the test function is slightly different. >> It follows what the test for msr_sta

Re: [Qemu-devel] [PATCH] test for lm capable kernel.

2009-10-22 Thread Avi Kivity
On 10/14/2009 07:09 PM, Glauber Costa wrote: Don't save x86_64-specific msrs if our kernel does not support them. Code is already in qemu-kvm.git, but the test function is slightly different. It follows what the test for msr_start does. Can't we use KVM_GET_MSR_LIST to see which msrs are su

Re: [Qemu-devel] [PATCH] test for lm capable kernel.

2009-10-22 Thread Anthony Liguori
Glauber Costa wrote: Don't save x86_64-specific msrs if our kernel does not support them. Code is already in qemu-kvm.git, but the test function is slightly different. It follows what the test for msr_start does. Repeat after me: "I will not use --target-list when submitting qemu patches.