virtio-rng: disable timer on device removal
authorAmit Shah <amit.shah@redhat.com>
Wed, 21 Nov 2012 05:51:20 +0000 (11:21 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 26 Nov 2012 20:26:37 +0000 (14:26 -0600)
commit8cc677435498561d8fe213bb44a02cf4f75cc685
treed6143c3ce152e89284a637b50046123a0d89d83a
parent4621c1768ef5d12171cca2aa1473595ecb9f1c9e
virtio-rng: disable timer on device removal

Disable the rate-limit timer on device remove (e.g. hot-unplug).

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-rng.c