Home
last modified time | relevance | path

Searched hist:"56 b5354fd8f9173de2e1614864e5fb7bec8c50c4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dhyperv.cdiff 56b5354fd8f9173de2e1614864e5fb7bec8c50c4 Tue Nov 01 09:53:48 CDT 2022 Sean Christopherson <seanjc@google.com> 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>