mbox

[PULL,v2,for-2.1] virtio-rng: Fix abort on invalid input

Message ID cover.1406030120.git.amit.shah@redhat.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/virt/qemu/amit/virtio-rng.git for-2.1

Message

Amit Shah July 22, 2014, 12:03 p.m. UTC
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(-)

Comments

Peter Maydell July 22, 2014, 1:03 p.m. UTC | #1
On 22 July 2014 13:03, Amit Shah <amit.shah@redhat.com> wrote:
> 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.
> ----------------------------------------------------------------

Applied, thanks.

-- PMM