mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/virtio: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d3eb6f73e1
commit
1577a9180f
38 changed files with 39 additions and 39 deletions
|
@ -155,7 +155,7 @@ static MemoryRegion *virtio_pmem_get_memory_region(VirtIOPMEM *pmem,
|
|||
return &pmem->memdev->mr;
|
||||
}
|
||||
|
||||
static Property virtio_pmem_properties[] = {
|
||||
static const Property virtio_pmem_properties[] = {
|
||||
DEFINE_PROP_UINT64(VIRTIO_PMEM_ADDR_PROP, VirtIOPMEM, start, 0),
|
||||
DEFINE_PROP_LINK(VIRTIO_PMEM_MEMDEV_PROP, VirtIOPMEM, memdev,
|
||||
TYPE_MEMORY_BACKEND, HostMemoryBackend *),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue