diff options
author | Wanpeng Li <[email protected]> | 2017-10-19 06:47:56 -0700 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2017-10-20 18:21:15 +0200 |
commit | 9ffd986c6e4e59c11857cbc78e4217e9569f3725 (patch) | |
tree | 43c3fd682b35dc3092c45f149da484562690622f /tools/perf/scripts/python/call-graph-from-sql.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 <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Jim Mattson <[email protected]>
Signed-off-by: Wanpeng Li <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions