]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: x86: verify MTRR/PAT validity
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 22 Jun 2009 18:27:56 +0000 (15:27 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 5 Aug 2009 10:58:16 +0000 (13:58 +0300)
commitd6289b9365c3f622a8cfe62c4fb054bb70b5061a
tree727db6244abf91c185f373f7813368c9c5dd8ebd
parent0ff77873b1318fc2d77a85e70690d3cd6cafbd41
KVM: x86: verify MTRR/PAT validity

Do not allow invalid memory types in MTRR/PAT (generating a #GP
otherwise).

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c