From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Ynr-0004FT-U1 for qemu-devel@nongnu.org; Tue, 22 Jul 2014 08:04:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9Ynj-0005kN-5X for qemu-devel@nongnu.org; Tue, 22 Jul 2014 08:04:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9Yni-0005kE-Tk for qemu-devel@nongnu.org; Tue, 22 Jul 2014 08:04:11 -0400 From: Amit Shah Date: Tue, 22 Jul 2014 17:33:15 +0530 Message-Id: Subject: [Qemu-devel] [PULL v2 for-2.1] virtio-rng: Fix abort on invalid input List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Amit Shah , John Snow , qemu list The following changes since commit 35858955e6c6f9ef41c199d15457c13426ac6434: Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-2.1' into staging (2014-07-21 18:06:12 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/virt/qemu/amit/virtio-rng.git for-2.1 for you to fetch changes up to 713e8a102222b6b8ca65050d13b287f5705831b0: virtio-rng: Add human-readable error message for negative max-bytes parameter (2014-07-22 17:18:55 +0530) ---------------------------------------------------------------- This patch returns an error instead of aborting, which is desirable not just for cmdline invocation, but prevents an abort in case of device hotplug. Patch is small, and reviewed on-list. ---------------------------------------------------------------- John Snow (1): virtio-rng: Add human-readable error message for negative max-bytes parameter hw/virtio/virtio-rng.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 1.9.3