qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] i386: wire up MSR_IA32_MISC_ENABLE


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] i386: wire up MSR_IA32_MISC_ENABLE
Date: Tue, 04 Oct 2011 19:51:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

On 10/04/2011 07:24 PM, Jan Kiszka wrote:
>>
>>  Given that, when in conflict, we rather model after AMD than Intel for
>>  TCG, I would hesitate to expose this by default. Or are there
>>  precedences already?
>
>  Practically all MSRs.  i486 doesn't have any, IIRC, for example.

Pre-Pentiums don't have instructions to access them as well, so that
doesn't cause any harm.

kvm doesn't detect this; does tcg? In any case, MSR availability varies widely with processor model.

>
>  (and given this MSR has no effect, the only difference it makes to
>  guests is the #GP we take or not; still it may be worthwhile to
>  construct some table-driven thing to allow or reject MSR accesses, both
>  for kvm and qemu)

Right. If this MSR is not the first bogus one on AMD, we can do this
later. If it is, it should be done first.

It's certainly not the first - they practically all are, depending on exact model.

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]