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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to