summary refs log tree commit diff stats
path: root/hw/pci/pci_host.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:36:46 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:56 -0600
commit8a1852f8c20c444b8869478bf6411e3d0befc37b (patch)
tree5bc827c8faaed068d057d6fc993d1a164e542651 /hw/pci/pci_host.c
parent909a5c0afa1dd52e8145716fc36d12ba6b74721f (diff)
downloadfocaccia-qemu-8a1852f8c20c444b8869478bf6411e3d0befc37b.tar.gz
focaccia-qemu-8a1852f8c20c444b8869478bf6411e3d0befc37b.zip
hw/pci: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/pci/pci_host.c')
-rw-r--r--hw/pci/pci_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/pci_host.c b/hw/pci/pci_host.c
index dfe6fe6184..321e7be709 100644
--- a/hw/pci/pci_host.c
+++ b/hw/pci/pci_host.c
@@ -240,7 +240,7 @@ const VMStateDescription vmstate_pcihost = {
     }
 };
 
-static Property pci_host_properties_common[] = {
+static const Property pci_host_properties_common[] = {
     DEFINE_PROP_BOOL("x-config-reg-migration-enabled", PCIHostState,
                      mig_enabled, true),
     DEFINE_PROP_BOOL(PCI_HOST_BYPASS_IOMMU, PCIHostState, bypass_iommu, false),