commit | 365d3d55d6019233c02d68dbd3d2dfde1b8a1467 | [log] [tgz] |
---|---|---|
author | Aaron Lewis <aaronlewis@google.com> | Thu Nov 07 21:14:36 2019 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 15 11:44:18 2019 +0100 |
tree | 9eeacd4523175a6bbcf6aef6536b77f3e4ddb2be | |
parent | d4069dbeb51e34e1db0458a7455e509daaaa529a [diff] |
kvm: nested: Introduce read_and_check_msr_entry() Add the function read_and_check_msr_entry() which just pulls some code out of nested_vmx_store_msr(). This will be useful as reusable code in upcoming patches. Reviewed-by: Liran Alon <liran.alon@oracle.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Aaron Lewis <aaronlewis@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>