Re: [Qemu-devel] [PATCH 3/4] virtio-rng: disable timer on device removal

2012-11-20 Thread Anthony Liguori
Amit Shah writes: > Disable the rate-limit timer on device remove (e.g. hot-unplug). > > Signed-off-by: Amit Shah Nice catch. Reviewed-by: Anthony Liguori Regards, Anthony Liguori > --- > hw/virtio-rng.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/virtio-rng.c b/hw/virti

[Qemu-devel] [PATCH 3/4] virtio-rng: disable timer on device removal

2012-11-20 Thread Amit Shah
Disable the rate-limit timer on device remove (e.g. hot-unplug). Signed-off-by: Amit Shah --- hw/virtio-rng.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/virtio-rng.c b/hw/virtio-rng.c index cf5a8ff..c8a6da7 100644 --- a/hw/virtio-rng.c +++ b/hw/virtio-rng.c @@ -194,6 +194,8 @@ void