diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 14:54:14 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:51 -0600 |
commit | fd363a14f68a7bcbede024fb5155371c19b8f5d2 (patch) | |
tree | 45df8a217d3980266775415e6045cfa7e6808ec9 /docs/devel/migration | |
parent | 869e7146b7250ed8a8e5e7c598a54d059319ef47 (diff) | |
download | qemu-fd363a14f68a7bcbede024fb5155371c19b8f5d2.zip qemu-fd363a14f68a7bcbede024fb5155371c19b8f5d2.tar.gz qemu-fd363a14f68a7bcbede024fb5155371c19b8f5d2.tar.bz2 |
docs: Constify all Property in examples
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'docs/devel/migration')
-rw-r--r-- | docs/devel/migration/compatibility.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/devel/migration/compatibility.rst b/docs/devel/migration/compatibility.rst index 5a5417e..c787f53 100644 --- a/docs/devel/migration/compatibility.rst +++ b/docs/devel/migration/compatibility.rst @@ -198,7 +198,7 @@ was done:: The relevant parts for migration are:: - @@ -1281,7 +1284,8 @@ static Property virtio_blk_properties[] = { + @@ -1281,7 +1284,8 @@ static const Property virtio_blk_properties[] = { #endif DEFINE_PROP_BIT("request-merging", VirtIOBlock, conf.request_merging, 0, true), @@ -395,7 +395,7 @@ the old behaviour or the new behaviour:: index 8a87ccc8b0..5153ad63d6 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c - @@ -79,6 +79,8 @@ static Property pci_props[] = { + @@ -79,6 +79,8 @@ static const Property pci_props[] = { DEFINE_PROP_STRING("failover_pair_id", PCIDevice, failover_pair_id), DEFINE_PROP_UINT32("acpi-index", PCIDevice, acpi_index, 0), |