On Mon, 2023-12-04 at 14:43 +0000, Paul Durrant wrote:
From: Paul Durrant pdurrant@amazon.com
If the shared_info PFN cache has already been initialized then the content of the shared_info page needs to be (re-)initialized whenever the guest mode is (re)set. Setting the guest mode is either done explicitly by the VMM via the KVM_XEN_ATTR_TYPE_LONG_MODE attribute, or implicitly when the guest writes the MSR to set up the hypercall page.
Signed-off-by: Paul Durrant pdurrant@amazon.com
Reviewed-by: David Woodhouse dwmw@amazon.co.uk