KVM: x86/xen: separate initialization of shared_info cache and content
authorPaul Durrant <pdurrant@amazon.com>
Thu, 15 Feb 2024 15:29:05 +0000 (15:29 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 20 Feb 2024 15:37:47 +0000 (07:37 -0800)
commitc01c55a34f284d27719638c4398282442c13ca34
tree4381f03f56e73b9c6609284ca7301acb3ed8993e
parent721f5b0dda784829b833039fbb42f420b9f86575
KVM: x86/xen: separate initialization of shared_info cache and content

A subsequent patch will allow shared_info to be initialized using either a
GPA or a user-space (i.e. VMM) HVA. To make that patch cleaner, separate
the initialization of the shared_info content from the activation of the
pfncache.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/20240215152916.1158-11-paul@xen.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/xen.c