KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice

am: d408d23add

Change-Id: I14ef2d6cd8122ab2fd11875c8aba8728a676ae8c
This commit is contained in:
Shanker Donthineni
2017-03-12 08:25:25 +00:00
committed by android-build-merger

View File

@@ -99,6 +99,9 @@ int kvm_set_msi(struct kvm_kernel_irq_routing_entry *e,
if (!vgic_has_its(kvm))
return -ENODEV;
if (!level)
return -1;
return vgic_its_inject_msi(kvm, &msi);
}