diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-06-20 17:57:38 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-02 06:58:34 +0200 |
| commit | 8d3122a80647673eee7a5166041a687dc9879a98 (patch) | |
| tree | ba1b2962e43beb5bb500b03d2dda5a4e9d5b387e /hw/arm/virt.c | |
| parent | c9fd2d9a48ee3c195cf83cc611b87b09f02f0013 (diff) | |
| download | focaccia-qemu-8d3122a80647673eee7a5166041a687dc9879a98.tar.gz focaccia-qemu-8d3122a80647673eee7a5166041a687dc9879a98.zip | |
hw: set deprecation info for all versioned machine types
This calls the MACHINE_VER_DEPRECATION() macro in the definition of all machine type classes which support versioning. This ensures that they will automatically get deprecation info set when they reach the appropriate point in their lifecycle. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240620165742.1711389-11-berrange@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/arm/virt.c')
| -rw-r--r-- | hw/arm/virt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 08990b9abe..02e13b4a3d 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -110,6 +110,7 @@ static void arm_virt_compat_set(MachineClass *mc) arm_virt_compat_set(mc); \ MACHINE_VER_SYM(options, virt, __VA_ARGS__)(mc); \ mc->desc = "QEMU " MACHINE_VER_STR(__VA_ARGS__) " ARM Virtual Machine"; \ + MACHINE_VER_DEPRECATION(__VA_ARGS__); \ if (latest) { \ mc->alias = "virt"; \ } \ |