diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-01 17:53:48 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-18 20:59:04 +0300 |
commit | 56b5354fd8f9173de2e1614864e5fb7bec8c50c4 (patch) | |
tree | 85897f854fdf0a38d62dd2125030a4cac0d8eae9 /scripts/generate_rust_analyzer.py | |
parent | 0823570f01989d3703751f66534a138d4fae062e (diff) | |
download | linux-56b5354fd8f9173de2e1614864e5fb7bec8c50c4.tar.xz |
KVM: x86: hyper-v: Add helper to read hypercall data for array
Move the guts of kvm_get_sparse_vp_set() to a helper so that the code for
reading a guest-provided array can be reused in the future, e.g. for
getting a list of virtual addresses whose TLB entries need to be flushed.
Opportunisticaly swap the order of the data and XMM adjustment so that
the XMM/gpa offsets are bundled together.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221101145426.251680-11-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions