> On Fri, Jul 10, 2015 at 03:04:00PM +0530, Pankaj Gupta wrote: > > @@ -196,13 +201,9 @@ static void virtio_rng_device_realize(DeviceState > > *dev, Error **errp) > > > > vrng->vq = virtio_add_queue(vdev, 8, handle_input); > > vrng->quota_remaining = vrng->conf.max_bytes; > > - > > vrng->rate_limit_timer = timer_new_ms(QEMU_CLOCK_VIRTUAL, > > check_rate_limit, vrng); > > BTW I'm not sure QEMU_CLOCK_VIRTUAL is right here. > We are trying to limit the rate at host. > Does it matter that guest is not running?
I think, now we will be serving entropy requests only when Guest send those. In any case Guest should be up and running. > > -- > MST > >
