summary refs log tree commit diff stats
path: root/include/hw/virtio
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-10-18 11:18:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-11-05 14:18:14 +0100
commitd36f165d9523a5d151f11888938fcc66a6dd10df (patch)
tree531195304568083712eb91cbf59452e615458351 /include/hw/virtio
parent11b8920ed2093848f79f93d106afe8a69a61a523 (diff)
downloadfocaccia-qemu-d36f165d9523a5d151f11888938fcc66a6dd10df.tar.gz
focaccia-qemu-d36f165d9523a5d151f11888938fcc66a6dd10df.zip
qdev: make properties array "const"
Constify all accesses to qdev properties, except for the
ObjectPropertyAccessor itself.  This makes it possible to place them in
read-only memory, and also lets Rust bindings switch from "static mut"
arrays to "static"; which is advantageous, because mutable statics are
highly discouraged.

Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/virtio')
0 files changed, 0 insertions, 0 deletions