On Tue, Feb 6, 2024 at 9:20 AM George Dunlap <[email protected]> wrote:
> @@ -655,6 +658,12 @@ static inline bool hvm_altp2m_supported(void)
> return hvm_funcs.caps.altp2m;
> }
>
> +/* Returns true if we have the minimum hardware requirements for nested virt
> */
> +static inline bool hvm_nested_virt_supported(void)
> +{
> + return hvm_funcs.caps.nested_virt;
> +}
NB this is missing the !CONFIG_HVM version of this function; I'll
include it in v2.
-George
