[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] test for lm capable kernel.
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] [PATCH] test for lm capable kernel. |
Date: |
Thu, 22 Oct 2009 14:56:31 -0200 |
User-agent: |
Jack Bauer |
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.