summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2014-07-24 16:06:56 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-07-24 16:16:57 +0400
commit0123be429fef40f067e5b1811576c3994229f59e (patch)
tree7a4b1a24036413133baadde140475aab6ac693d0 /tools/perf/scripts/python
parentd6e8c8545651b05a86c5b9d29d2fe11ad4cbb9aa (diff)
downloadlinux-0123be429fef40f067e5b1811576c3994229f59e.tar.xz
KVM: x86: Assertions to check no overrun in MSR lists
Currently there is no check whether shared MSRs list overrun the allocated size which can results in bugs. In addition there is no check that vmx->guest_msrs has sufficient space to accommodate all the VMX msrs. This patch adds the assertions. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions