diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:39:58 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:04 -0600 |
| commit | 90d45638af23c3cdab9d357306026751f8431b83 (patch) | |
| tree | 5d662029091b337a4ebc4c0a17d08de662daf6a7 /hw/i386/xen/xen_pvdevice.c | |
| parent | 6f31905dbe94e89b1c8471ac6d252e9c0f89d2f5 (diff) | |
| download | focaccia-qemu-90d45638af23c3cdab9d357306026751f8431b83.tar.gz focaccia-qemu-90d45638af23c3cdab9d357306026751f8431b83.zip | |
hw/i386: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/i386/xen/xen_pvdevice.c')
| -rw-r--r-- | hw/i386/xen/xen_pvdevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/xen/xen_pvdevice.c b/hw/i386/xen/xen_pvdevice.c index ed621531d8..e71483e6e3 100644 --- a/hw/i386/xen/xen_pvdevice.c +++ b/hw/i386/xen/xen_pvdevice.c @@ -115,7 +115,7 @@ static void xen_pv_realize(PCIDevice *pci_dev, Error **errp) &d->mmio); } -static Property xen_pv_props[] = { +static const Property xen_pv_props[] = { DEFINE_PROP_UINT16("vendor-id", XenPVDevice, vendor_id, PCI_VENDOR_ID_XEN), DEFINE_PROP_UINT16("device-id", XenPVDevice, device_id, 0xffff), DEFINE_PROP_UINT8("revision", XenPVDevice, revision, 0x01), |