mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
44f2f4bc30
commit
d3eb6f73e1
4 changed files with 5 additions and 5 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue