[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 65/67] hw/xen: Constify all Property
From: |
Richard Henderson |
Subject: |
[PULL 65/67] hw/xen: Constify all Property |
Date: |
Sun, 15 Dec 2024 13:05:31 -0600 |
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/xen/xen-bus.c | 2 +-
hw/xen/xen_pt.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/xen/xen-bus.c b/hw/xen/xen-bus.c
index 95b207ac8b..0d7defb8cd 100644
--- a/hw/xen/xen-bus.c
+++ b/hw/xen/xen-bus.c
@@ -1092,7 +1092,7 @@ unrealize:
xen_device_unrealize(dev);
}
-static Property xen_device_props[] = {
+static const Property xen_device_props[] = {
DEFINE_PROP_UINT16("frontend-id", XenDevice, frontend_id,
DOMID_INVALID),
DEFINE_PROP_END_OF_LIST()
diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c
index 3635d1b39f..557aa98be4 100644
--- a/hw/xen/xen_pt.c
+++ b/hw/xen/xen_pt.c
@@ -931,7 +931,7 @@ static void xen_pt_unregister_device(PCIDevice *d)
xen_pt_destroy(d);
}
-static Property xen_pci_passthrough_properties[] = {
+static const Property xen_pci_passthrough_properties[] = {
DEFINE_PROP_PCI_HOST_DEVADDR("hostaddr", XenPCIPassthroughState, hostaddr),
DEFINE_PROP_BOOL("permissive", XenPCIPassthroughState, permissive, false),
DEFINE_PROP_END_OF_LIST(),
--
2.43.0
- [PULL 59/67] hw/tpm: Constify all Property, (continued)
- [PULL 59/67] hw/tpm: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 49/67] hw/riscv: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 64/67] hw/watchdog: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 63/67] hw/virtio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 55/67] hw/sparc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 67/67] docs: Constify all Property in examples, Richard Henderson, 2024/12/15
- [PULL 61/67] hw/usb: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 62/67] hw/vfio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 66/67] tests/unit: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 56/67] hw/sparc64: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 65/67] hw/xen: Constify all Property,
Richard Henderson <=
- Re: [PULL 00/67] Constify almost all Property, Stefan Hajnoczi, 2024/12/16