aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBandan Das <[email protected]>2015-06-11 02:05:33 -0400
committerPaolo Bonzini <[email protected]>2015-06-19 17:16:26 +0200
commitf104765b4f81fd74d69e0eb161e89096deade2db (patch)
tree25e36bd9849498c5a939277cd6d31176bf525203 /scripts/gdb/linux/utils.py
parent0b8ba4a2b65860ac1fcd5be6cfca5d3b27a5b170 (diff)
KVM: nSVM: Check for NRIPS support before updating control field
If hardware doesn't support DecodeAssist - a feature that provides more information about the intercept in the VMCB, KVM decodes the instruction and then updates the next_rip vmcb control field. However, NRIP support itself depends on cpuid Fn8000_000A_EDX[NRIPS]. Since skip_emulated_instruction() doesn't verify nrip support before accepting control.next_rip as valid, avoid writing this field if support isn't present. Signed-off-by: Bandan Das <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions