Re: [PATCH 2/2] x86/shadow: mark more of sh_page_fault() HVM-only

2023-01-20 Thread Andrew Cooper
On 19/01/2023 1:19 pm, Jan Beulich wrote: > Neither p2m_mmio_dm nor the types p2m_is_readonly() checks for are > applicable to PV; specifically get_gfn() won't ever return such a type > for PV domains. Adjacent to those checks is yet another is_hvm_...() > one. With that block made conditional, ano

[PATCH 2/2] x86/shadow: mark more of sh_page_fault() HVM-only

2023-01-19 Thread Jan Beulich
Neither p2m_mmio_dm nor the types p2m_is_readonly() checks for are applicable to PV; specifically get_gfn() won't ever return such a type for PV domains. Adjacent to those checks is yet another is_hvm_...() one. With that block made conditional, another conditional block near the end of the functio