From: Sairaj Kodilkar <[email protected]> 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: Alejandro Jimenez <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Message-ID: <[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 d62a3732e6..fb36dee903 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; } -- MST
