From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6uj3-0006H9-RB for qemu-devel@nongnu.org; Tue, 15 Jul 2014 00:52:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6uix-0006G3-FU for qemu-devel@nongnu.org; Tue, 15 Jul 2014 00:52:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6uix-0006DU-8M for qemu-devel@nongnu.org; Tue, 15 Jul 2014 00:52:19 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6F4qH9D005420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 15 Jul 2014 00:52:18 -0400 Date: Tue, 15 Jul 2014 10:21:47 +0530 From: Amit Shah Message-ID: <20140715045147.GC26186@grmbl.mre> References: <1405379683-4672-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1405379683-4672-1-git-send-email-jsnow@redhat.com> Subject: Re: [Qemu-devel] [PATCH] virtio-rng: Add human-readable error message for negative max-bytes parameter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: qemu-devel@nongnu.org, stefanha@redhat.com On (Mon) 14 Jul 2014 [19:14:43], John Snow wrote: > If a negative integer is used for the max_bytes parameter, QEMU currently > calls abort() and leaves behind a core dump. This patch adds a simple > error message to make the reason for the termination clearer. > > Signed-off-by: John Snow Reviewed-by: Amit Shah Thanks, Amit