Message ID | 1443812991-17356-20-git-send-email-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 775101402F0 for <incoming@patchwork.ozlabs.org>; Sat, 3 Oct 2015 05:32:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=hDZArGBg; dkim-atps=neutral Received: from localhost ([::1]:34663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1Zi64H-0005Li-G4 for incoming@patchwork.ozlabs.org; Fri, 02 Oct 2015 15:32:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1Zi5iy-0007bc-FK for qemu-devel@nongnu.org; Fri, 02 Oct 2015 15:10:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1Zi5iv-0007Iy-80 for qemu-devel@nongnu.org; Fri, 02 Oct 2015 15:10:32 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:38594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1Zi5iu-0007HS-SQ for qemu-devel@nongnu.org; Fri, 02 Oct 2015 15:10:29 -0400 Received: by wiclk2 with SMTP id lk2so43241068wic.1 for <qemu-devel@nongnu.org>; Fri, 02 Oct 2015 12:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=qlCxZlxyj6aBFZYDT5k72eLx64fntT5GWCs155IvXhU=; b=hDZArGBgd3alz5ucEoYh2LP5weGJ8RYbPJJMKVFdCcgvyeUaZKz88NvcBlwOsS5Hs6 ioS8bnL9bNmKmzrgbKfFSXvZe0YSMlq/KEqQ8qhLtl5pYobhj2SyhgoPbGK1SKhLSURN 1aTScp5OYRHaQyk4cURp5laMfSFzCXb0y4LSseZIHvcxYmiFf6YTMQK/kfAWfKCj2MWw yA4CmtgwdAuEEYqJ97DizTJx28MlKoRLxPx7ovta2be3Lhz4CcaWzy6iCtYGq8o2PeLV AAaxuO7raAYNrVaCg02DauKKEtWNDj1qYtXZEdApi6PeoJ+calNsmq0AMnNtvDKg7qhD HBSQ== X-Received: by 10.194.191.164 with SMTP id gz4mr18158770wjc.21.1443813028369; Fri, 02 Oct 2015 12:10:28 -0700 (PDT) Received: from localhost (bne75-h02-31-39-163-232.dsl.sta.abo.bbox.fr. [31.39.163.232]) by smtp.gmail.com with ESMTPSA id fs9sm384270wic.24.2015.10.02.12.10.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 12:10:27 -0700 (PDT) From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Date: Fri, 2 Oct 2015 21:09:22 +0200 Message-Id: <1443812991-17356-20-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1443812991-17356-1-git-send-email-marcandre.lureau@redhat.com> References: <1443812991-17356-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 Cc: drjones@redhat.com, claudio.fontana@huawei.com, stefanha@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>, pbonzini@redhat.com, cam@cs.ualberta.ca Subject: [Qemu-devel] [PATCH v5 19/48] ivshmem: print error on invalid peer id X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index d7a00bd..6ee4881 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -399,6 +399,7 @@ static void close_guest_eventfds(IVShmemState *s, int posn) return; } if (posn < 0 || posn >= s->nb_peers) { + error_report("invalid peer %d", posn); return; }