On 5/11/26 8:39 AM, Sairaj Kodilkar wrote:
> The stub call should not return normal EFR as it is used as place holder
> when actual AMD IOMMU calls are not available. Hence return 0.
> 
> Signed-off-by: Sairaj Kodilkar <[email protected]>
> Reviewed-by: Vasant Hegde <[email protected]>
> 

Reviewed-by: Alejandro Jimenez <[email protected]>

> ---
>  hw/i386/amd_iommu-stub.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/i386/amd_iommu-stub.c b/hw/i386/amd_iommu-stub.c
> index d62a3732e60f..fb36dee903ee 100644
> --- a/hw/i386/amd_iommu-stub.c
> +++ b/hw/i386/amd_iommu-stub.c
> @@ -22,5 +22,5 @@
>  
>  uint64_t amdvi_extended_feature_register(AMDVIState *s)
>  {
> -    return AMDVI_DEFAULT_EXT_FEATURES;
> +    return 0;
>  }


Reply via email to