Message ID | 1444159184-18153-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 60CFE140D95 for <incoming@patchwork.ozlabs.org>; Wed, 7 Oct 2015 08:07:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=cqlvtyhK; dkim-atps=neutral Received: from localhost ([::1]:54051 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 1ZjZSZ-0002wf-3P for incoming@patchwork.ozlabs.org; Tue, 06 Oct 2015 17:07:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1ZjZSG-0002fH-Sc for qemu-devel@nongnu.org; Tue, 06 Oct 2015 17:07:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1ZjZSD-0005Xo-F2 for qemu-devel@nongnu.org; Tue, 06 Oct 2015 17:07:24 -0400 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:35112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1ZjXnH-0004Vu-O2 for qemu-devel@nongnu.org; Tue, 06 Oct 2015 15:20:59 -0400 Received: by qgt47 with SMTP id 47so183763406qgt.2 for <qemu-devel@nongnu.org>; Tue, 06 Oct 2015 12:20:59 -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=cqlvtyhKfQwA8+G7fy/yx8WkgY4V0VTYHhyGuUyWlGKC1asyaFJydNwtrLK0qG3H0l P4/ld39klK+/ba5Z7V6AQ7bRDf73gtxYvEWnVzJLf7aZrccATZGmJMua9haYl+XjtbnY lbClwzE81G1B/BysJzMUy4fNZGCtM0+S2+bJhmOSc8975xAHynA2BYnRu1D+FYsh6/cg PdL1UwuvjNCOdpMKBpWF0zp4crTM41cEqyj+dyB47y1e9JRvLTuM0m4eFh/47UkbDTP9 QVBrRpCNI13IkWawkJEtANB3mjh/3epL1Fwf3IlEaSPzaGtfi26h5ZzSgKDE+sJZZavH gheA== X-Received: by 10.140.101.110 with SMTP id t101mr48637868qge.20.1444159259245; Tue, 06 Oct 2015 12:20:59 -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 i124sm14428285qhc.12.2015.10.06.12.20.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2015 12:20:58 -0700 (PDT) From: marcandre.lureau@redhat.com To: peter.maydell@linaro.org Date: Tue, 6 Oct 2015 21:19:15 +0200 Message-Id: <1444159184-18153-20-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1444159184-18153-1-git-send-email-marcandre.lureau@redhat.com> References: <1444159184-18153-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: 2607:f8b0:400d:c04::229 Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>, qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 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; }