diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:27:31 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:41 -0600 |
| commit | e732f00f32e3826668db2b8b81fcf48a3a60a283 (patch) | |
| tree | 89075a7c06f75aafb4ac0df02a3fabb3fd91caad /hw/net/xen_nic.c | |
| parent | 30029973103ac7f7ffb7bce0f088b773ad9f5dae (diff) | |
| download | focaccia-qemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.tar.gz focaccia-qemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.zip | |
hw/net: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/net/xen_nic.c')
| -rw-r--r-- | hw/net/xen_nic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c index 89487b49ba..5a5259150a 100644 --- a/hw/net/xen_nic.c +++ b/hw/net/xen_nic.c @@ -555,7 +555,7 @@ static void xen_netdev_unrealize(XenDevice *xendev) /* ------------------------------------------------------------- */ -static Property xen_netdev_properties[] = { +static const Property xen_netdev_properties[] = { DEFINE_NIC_PROPERTIES(XenNetDev, conf), DEFINE_PROP_INT32("idx", XenNetDev, dev, -1), DEFINE_PROP_END_OF_LIST(), |