[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: GPF on invalid MSRs
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: GPF on invalid MSRs |
Date: |
Thu, 26 May 2011 11:12:12 +0200 |
On 26.05.2011, at 11:08, Josh Triplett wrote:
> qemu currently returns 0 for rdmsr on invalid MSRs, and ignores wrmsr on
> invalid MSRs. Real x86 processors GPF on invalid MSRs, which allows
> software to detect unavailable MSRs. Emulate this behavior correctly in
> qemu.
>
> Bug discovered via the BIOS Implementation Test Suite
> <http://biosbits.org/>; fix tested the same way, for both 32-bit and
> 64-bit x86.
This would break a _lot_ of guests that work just fine today, as qemu doesn't
handle all the necessary MSRs.
Alex