From 42015c9acb9fb418c97c42f6e0d44c84999c769d Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Wed, 21 Nov 2012 11:21:21 +0530 Subject: virtio-rng: fix typos, comments Fix typos, whitespace and update comments to match current implementation. Signed-off-by: Amit Shah Signed-off-by: Anthony Liguori --- hw/virtio-rng.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'hw') diff --git a/hw/virtio-rng.c b/hw/virtio-rng.c index c8a6da7fbb..f4ed9cf92a 100644 --- a/hw/virtio-rng.c +++ b/hw/virtio-rng.c @@ -23,7 +23,6 @@ typedef struct VirtIORNG { /* Only one vq - guest puts buffer(s) on it when it needs entropy */ VirtQueue *vq; - /* Config data for the device -- currently only chardev */ VirtIORNGConf *conf; RngBackend *rng; @@ -125,9 +124,9 @@ static int virtio_rng_load(QEMUFile *f, void *opaque, int version_id) virtio_load(&vrng->vdev, f); /* We may have an element ready but couldn't process it due to a quota - limit. Make sure to try again after live migration when the quota may - have been reset. - */ + * limit. Make sure to try again after live migration when the quota may + * have been reset. + */ virtio_rng_process(vrng); return 0; -- cgit v1.2.3