Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request if any after timer bumps up quota.

2015-07-15 Thread Pankaj Gupta
sday, 15 July, 2015 12:09:57 PM > > > Subject: Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending > > > request if any after timer bumps up quota. > > > > > > On (Tue) 14 Jul 2015 [13:03:10], Pankaj Gupta wrote: > > > > We are arming timer when we

Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request if any after timer bumps up quota.

2015-07-15 Thread Amit Shah
Subject: Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request > > if any after timer bumps up quota. > > > > On (Tue) 14 Jul 2015 [13:03:10], Pankaj Gupta wrote: > > > We are arming timer when we get first request from guest. > > > Even if guest p

Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request if any after timer bumps up quota.

2015-07-15 Thread Pankaj Gupta
- Original Message - > From: "Amit Shah" > To: "Pankaj Gupta" > Cc: qemu-devel@nongnu.org, m...@redhat.com > Sent: Wednesday, 15 July, 2015 12:09:57 PM > Subject: Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request if > any after

Re: [Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request if any after timer bumps up quota.

2015-07-14 Thread Amit Shah
On (Tue) 14 Jul 2015 [13:03:10], Pankaj Gupta wrote: > We are arming timer when we get first request from guest. > Even if guest pulls all the data we will be serving guest > only when timer bumps up new quota. When timer expires > we check if we have a pending request from guest, we > serve it

[Qemu-devel] [PATCH 2/2 v2] virtio-rng: Serve pending request if any after timer bumps up quota.

2015-07-14 Thread Pankaj Gupta
We are arming timer when we get first request from guest. Even if guest pulls all the data we will be serving guest only when timer bumps up new quota. When timer expires we check if we have a pending request from guest, we serve it and rearm the timer else we don't do any thing. This patch als