diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-04-24 10:07:54 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-24 11:50:19 -0500 |
commit | af1a8ad6467eb7056573bc3580d3d1824a05224a (patch) | |
tree | f7d1859f27b4a465aee9aedb352599cbbb20bd16 /include/hw | |
parent | 5a37532d0897de488c35ab2db6d86647bd2a1b6f (diff) | |
download | hqemu-af1a8ad6467eb7056573bc3580d3d1824a05224a.zip hqemu-af1a8ad6467eb7056573bc3580d3d1824a05224a.tar.gz |
virtio-rng: don't use pointer for configuration.
The configuration field must not be a pointer as it will be used for
virtio-rng properties. So *conf is replaced by conf.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Amit Shah <amit.shah@redhat.com>
Message-id: 1366790881-3026-2-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/virtio/virtio-rng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-rng.h b/include/hw/virtio/virtio-rng.h index c9cadc2..c578c00 100644 --- a/include/hw/virtio/virtio-rng.h +++ b/include/hw/virtio/virtio-rng.h @@ -33,7 +33,7 @@ typedef struct VirtIORNG { /* Only one vq - guest puts buffer(s) on it when it needs entropy */ VirtQueue *vq; - VirtIORNGConf *conf; + VirtIORNGConf conf; RngBackend *rng; |