intel_iommu: "aw-bits" error message still refers to "x-aw-bits"
PATCH 1/1 intel_iommu: "aw-bits" error message still refers to "x-aw-bits"
Commit 4b49b586c4 ('intel_iommu: remove "x-" prefix for "aw-bits"') removed the "x-" prefix but but didn't update the error message accordingly.
--- hw/i386/intel_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/intel_iommu.c +1 -1
@@ -3758,7 +3758,7 @@ static bool vtd_decide_config(IntelIOMMUState *s, Error **errp)/* Currently only address widths supported are 39 and 48 bits */ if ((s->aw_bits !=VTD_HOST_AW_39BIT ) && (s->aw_bits !=VTD_HOST_AW_48BIT )) { -error_setg (errp,"Supported values for x-aw-bits are: %d, %d" , +error_setg (errp,"Supported values for aw-bits are: %d, %d" ,VTD_HOST_AW_39BIT ,VTD_HOST_AW_48BIT );return false; }
Signature · 1 line
2.26.2
Le 25/06/2020 à 17:52, Menno Lageman a écrit :
Quoted 15 lines
Commit
4b49b586c4('intel_iommu: remove "x-" prefix for "aw-bits"') removed the "x-" prefix but but didn't update the error message accordingly.Signed-off-by Menno Lageman <[email protected]>--- hw/i386/intel_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/i386/intel_iommu.c +0
-0
hw/i386/intel_iommu.c static bool vtd_decide_config(IntelIOMMUState *s, Error **errp) · line 3764
Quoted 8 lines
hw/i386/intel_iommu.c +1
-1@@ -3758,7 +3758,7 @@ static bool vtd_decide_config(IntelIOMMUState *s, Error **errp)/* Currently only address widths supported are 39 and 48 bits */ if ((s->aw_bits !=VTD_HOST_AW_39BIT ) && (s->aw_bits !=VTD_HOST_AW_48BIT )) { -error_setg (errp,"Supported values for x-aw-bits are: %d, %d" , +error_setg (errp,"Supported values for aw-bits are: %d, %d" ,VTD_HOST_AW_39BIT ,VTD_HOST_AW_48BIT );return false; }
Laurent Vivier
AppliedLe 25/06/2020 à 17:52, Menno Lageman a écrit :
Quoted 15 lines
Commit
4b49b586c4('intel_iommu: remove "x-" prefix for "aw-bits"') removed the "x-" prefix but but didn't update the error message accordingly.Signed-off-by Menno Lageman <[email protected]>--- hw/i386/intel_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/i386/intel_iommu.c +0
-0
hw/i386/intel_iommu.c static bool vtd_decide_config(IntelIOMMUState *s, Error **errp) · line 3764
Quoted 8 lines
hw/i386/intel_iommu.c +1
-1@@ -3758,7 +3758,7 @@ static bool vtd_decide_config(IntelIOMMUState *s, Error **errp)/* Currently only address widths supported are 39 and 48 bits */ if ((s->aw_bits !=VTD_HOST_AW_39BIT ) && (s->aw_bits !=VTD_HOST_AW_48BIT )) { -error_setg (errp,"Supported values for x-aw-bits are: %d, %d" , +error_setg (errp,"Supported values for aw-bits are: %d, %d" ,VTD_HOST_AW_39BIT ,VTD_HOST_AW_48BIT );return false; }
Applied to my trivial-patches-for-5.1 branch.
Thanks,
Laurent