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_start does. >> > > Can't we use KVM_GET_MSR_LIST to see which msrs are supported instead? that would be good, indeed.
Right now we're doing it for star, but we could keep the list and always query it.