diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 17:27:48 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:37 -0600 |
| commit | d3eb6f73e14c6ba413be0a3c658882782aa93eac (patch) | |
| tree | 88bc5486d16aae79ee972c2f54357d0077f639a9 /hw/vfio/platform.c | |
| parent | 44f2f4bc3005eb48ebabea4f33466498db3ea0f2 (diff) | |
| download | focaccia-qemu-d3eb6f73e14c6ba413be0a3c658882782aa93eac.tar.gz focaccia-qemu-d3eb6f73e14c6ba413be0a3c658882782aa93eac.zip | |
hw/vfio: 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/vfio/platform.c')
| -rw-r--r-- | hw/vfio/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c index a85c199c76..766e8a86ef 100644 --- a/hw/vfio/platform.c +++ b/hw/vfio/platform.c @@ -629,7 +629,7 @@ static const VMStateDescription vfio_platform_vmstate = { .unmigratable = 1, }; -static Property vfio_platform_dev_properties[] = { +static const Property vfio_platform_dev_properties[] = { DEFINE_PROP_STRING("host", VFIOPlatformDevice, vbasedev.name), DEFINE_PROP_STRING("sysfsdev", VFIOPlatformDevice, vbasedev.sysfsdev), DEFINE_PROP_BOOL("x-no-mmap", VFIOPlatformDevice, vbasedev.no_mmap, false), |