diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2021-11-15 19:50:21 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-18 10:03:42 +0300 |
commit | 4e8436479ad3be76a3823e6ce466ae464ce71300 (patch) | |
tree | e5a0eeea645240421f129172a8a32e58f2bc58b6 /arch/x86/kvm/vmx/vmx.h | |
parent | b8453cdcf26020030da182f0156d7bf59ae5719f (diff) | |
download | linux-4e8436479ad3be76a3823e6ce466ae464ce71300.tar.xz |
KVM: x86/xen: Fix get_attr of KVM_XEN_ATTR_TYPE_SHARED_INFO
In commit 319afe68567b ("KVM: xen: do not use struct gfn_to_hva_cache") we
stopped storing this in-kernel as a GPA, and started storing it as a GFN.
Which means we probably should have stopped calling gpa_to_gfn() on it
when userspace asks for it back.
Cc: stable@vger.kernel.org
Fixes: 319afe68567b ("KVM: xen: do not use struct gfn_to_hva_cache")
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20211115165030.7422-2-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.h')
0 files changed, 0 insertions, 0 deletions