[PATCH] libkvm: Fix return of kvm_commit_irq_routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Kiszka wrote:
> This patch kills the last warnings (caused by kvm changes) that I see on
> a x86-64 host when building x86_64-softmmu and also i386-softmmu without
> kvm.

Not true, I missed another new warning that could be more problematic
than the rest:

-------->

[PATCH] libkvm: Fix return of kvm_commit_irq_routes

Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---

 libkvm/libkvm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c
index 80300c9..92ffe10 100644
--- a/libkvm/libkvm.c
+++ b/libkvm/libkvm.c
@@ -1267,6 +1267,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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux