diff options
author | 2016-11-29 18:14:06 -0800 | |
---|---|---|
committer | 2016-12-08 15:31:06 +0100 | |
commit | 0115f9cbac61918363cbaf26c8521ff9176ccc35 (patch) | |
tree | 00ffe0258e6b729b86d853fc0a5f84fc150e9be2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Do not clear RFLAGS.TF when a singlestep trap occurs. (diff) | |
download | linux-dev-0115f9cbac61918363cbaf26c8521ff9176ccc35.tar.xz linux-dev-0115f9cbac61918363cbaf26c8521ff9176ccc35.zip |
KVM: nVMX: generate non-true VMX MSRs based on true versions
The "non-true" VMX capability MSRs can be generated from their "true"
counterparts, by OR-ing the default1 bits. The default1 bits are fixed
and defined in the SDM.
Since we can generate the non-true VMX MSRs from the true versions,
there's no need to store both in struct nested_vmx. This also lets
userspace avoid having to restore the non-true MSRs.
Note this does not preclude emulating MSR_IA32_VMX_BASIC[55]=0. To do so,
we simply need to set all the default1 bits in the true MSRs (such that
the true MSRs and the generated non-true MSRs are equal).
Signed-off-by: David Matlack <dmatlack@google.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions