Message ID | 1444668104-22955-21-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 DF92D1402B2 for <incoming@patchwork.ozlabs.org>; Tue, 13 Oct 2015 03:55:28 +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=cOfh3c1T; dkim-atps=neutral Received: from localhost ([::1]:56726 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 1ZlgNi-0002Ml-OA for incoming@patchwork.ozlabs.org; Mon, 12 Oct 2015 12:55:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1ZlgFI-0004et-HL for qemu-devel@nongnu.org; Mon, 12 Oct 2015 12:46:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1ZlgFF-0002F4-5T for qemu-devel@nongnu.org; Mon, 12 Oct 2015 12:46:44 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:36397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1ZlgFE-0002Ey-Lc for qemu-devel@nongnu.org; Mon, 12 Oct 2015 12:46:41 -0400 Received: by pacex6 with SMTP id ex6so4410008pac.3 for <qemu-devel@nongnu.org>; Mon, 12 Oct 2015 09:46:40 -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=cOfh3c1TRWSAAYEXxJrIh0HPFrrdBYhCH3B0iNWYRCm255XpWGBT0zMMuVyB8aeI9v yeEUJmhksKEekz82W7cQyxOy9KyrvhtCYb8dQsYaJbz0n3ejaNJV8bzfn8AKZmWiZCgp ht/TP8Nnj1ONppCQ/+ODYipg7FTJCS8FmL9R2hLvYggtwreeB2BiSKZSYe2Vbl8XG+c7 mmPH11EY40sJnpXNHvNg3X1SmA0YFKvvnsdmKcceZ3NX2ZtOIBI8ZHQTPkphBGYjCEsS z/R6OPIFY4J0Wa9nCz5U6ZqlcTNr9cVaCoEhoNuAQB8oWbXxYDQjcQ5xI9Qzm0/MSyS6 joMg== X-Received: by 10.66.235.4 with SMTP id ui4mr34837168pac.129.1444668400273; Mon, 12 Oct 2015 09:46:40 -0700 (PDT) Received: from localhost (APoitiers-257-1-35-234.w90-38.abo.wanadoo.fr. [90.38.210.234]) by smtp.gmail.com with ESMTPSA id xu5sm19408141pab.12.2015.10.12.09.46.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 09:46:39 -0700 (PDT) From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Date: Mon, 12 Oct 2015 18:41:14 +0200 Message-Id: <1444668104-22955-21-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1444668104-22955-1-git-send-email-marcandre.lureau@redhat.com> References: <1444668104-22955-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:400e:c03::231 Cc: peter.maydell@linaro.org, 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] [PULL v2 20/50] 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; }