From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH] libkvm: Fix return of kvm_commit_irq_routes Date: Fri, 06 Feb 2009 18:55:20 +0100 Message-ID: <498C7988.7010604@siemens.com> References: <498C76AF.3090306@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Avi Kivity Return-path: Received: from gecko.sbs.de ([194.138.37.40]:24299 "EHLO gecko.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760456AbZBFRzh (ORCPT ); Fri, 6 Feb 2009 12:55:37 -0500 In-Reply-To: <498C76AF.3090306@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 --- 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