summary refs log tree commit diff stats
path: root/hw/virtio/virtio-rng.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 17:29:25 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:40 -0600
commit1577a9180f374cd8bca32f8a5e8c8ac8977d7199 (patch)
treefd3b39c6df65f97469e7c057d281550851038008 /hw/virtio/virtio-rng.c
parentd3eb6f73e14c6ba413be0a3c658882782aa93eac (diff)
downloadfocaccia-qemu-1577a9180f374cd8bca32f8a5e8c8ac8977d7199.tar.gz
focaccia-qemu-1577a9180f374cd8bca32f8a5e8c8ac8977d7199.zip
hw/virtio: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/virtio/virtio-rng.c')
-rw-r--r--hw/virtio/virtio-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-rng.c b/hw/virtio/virtio-rng.c
index 7cf31da071..13a1a0b236 100644
--- a/hw/virtio/virtio-rng.c
+++ b/hw/virtio/virtio-rng.c
@@ -249,7 +249,7 @@ static const VMStateDescription vmstate_virtio_rng = {
     },
 };
 
-static Property virtio_rng_properties[] = {
+static const Property virtio_rng_properties[] = {
     /* Set a default rate limit of 2^47 bytes per minute or roughly 2TB/s.  If
      * you have an entropy source capable of generating more entropy than this
      * and you can pass it through via virtio-rng, then hats off to you.  Until