diff options
author | Wanpeng Li <wanpeng.li@hotmail.com> | 2017-10-19 06:47:56 -0700 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-10-20 18:21:15 +0200 |
commit | 9ffd986c6e4e59c11857cbc78e4217e9569f3725 (patch) | |
tree | 43c3fd682b35dc3092c45f149da484562690622f /scripts/gdb/linux/modules.py | |
parent | 61f1dd9099aba56b7e6e3c3c4b9ad13199bba06e (diff) |
KVM: X86: #GP when guest attempts to write MCi_STATUS register w/o 0
Both Intel SDM and AMD APM mentioned that MCi_STATUS, when the register is
implemented, this register can be cleared by explicitly writing 0s to this
register. Writing 1s to this register will cause a general-protection
exception.
The mce is emulated in qemu, so just the guest attempts to write 1 to this
register should cause a #GP, this patch does it.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions