hw/virtio: Constify all Property

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2024-12-13 17:29:25 +00:00
parent d3eb6f73e1
commit 1577a9180f
38 changed files with 39 additions and 39 deletions

View file

@ -38,7 +38,7 @@ struct VirtIOBlkPCI {
VirtIOBlock vdev;
};
static Property virtio_blk_pci_properties[] = {
static const Property virtio_blk_pci_properties[] = {
DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT, true),