qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] VirtIO RNG


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH 2/2] VirtIO RNG
Date: Thu, 1 Apr 2010 12:17:45 +0000
User-agent: KMail/1.12.4 (Linux/2.6.32-trunk-amd64; KDE/4.3.4; x86_64; ; )

>        This patch adds support for virtio-rng. Data is read from a chardev
> and can be either raw entropy or received via the EGD protocol.

I still don't get why you need this at all. It seems like virtio-serial would 
already provides everything you need.

> +        qemu_gettimeofday(&now);

Using qemu_gettimeofday is almost certainly wrong, and you want to be using 
virtual time.  Plus I'm not convinced this is the right place to enforce rate 
limiting.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]