summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libkvm/libkvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c
index 8d77708e..92332077 100644
--- a/libkvm/libkvm.c
+++ b/libkvm/libkvm.c
@@ -1280,6 +1280,7 @@ int kvm_commit_irq_routes(kvm_context_t kvm)
r = ioctl(kvm->vm_fd, KVM_SET_GSI_ROUTING, kvm->irq_routes);
if (r == -1)
r = -errno;
+ return r;
#else
return -ENOSYS;
#endif