Comment 10 for bug 1710019

Revision history for this message
Vijaya Kumar Kilari (vkilari) wrote :

With the below patch, The issue seems resolved. Please check and let me know.

diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgic/vgic-its.c
index aa6b68d..63f8ac3 100644
--- a/virt/kvm/arm/vgic/vgic-its.c
+++ b/virt/kvm/arm/vgic/vgic-its.c
@@ -2142,7 +2142,7 @@ static int vgic_its_restore_device_tables(struct vgic_its *its)
                                     vgic_its_restore_dte, NULL);
        }

- if (ret > 0)
+ if (ret <= 0)
                ret = -EINVAL;

        return ret;