]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: nested: Introduce read_and_check_msr_entry()
authorAaron Lewis <aaronlewis@google.com>
Fri, 8 Nov 2019 05:14:36 +0000 (21:14 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Nov 2019 10:44:18 +0000 (11:44 +0100)
commit63cd79dd75ccb93661cc053a50623919ff0737fc
tree9eeacd4523175a6bbcf6aef6536b77f3e4ddb2be
parent75e7aa1351628659f0009cdcd8f0164c4d552893
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>
arch/x86/kvm/vmx/nested.c