qapi: Inline and remove QERR_MIGRATION_ACTIVE definition
commit005807860d3e1498ee591223db38f90d2c736165
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 12 Mar 2024 14:13:42 +0000 (12 15:13 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 24 Apr 2024 07:50:58 +0000 (24 09:50 +0200)
treef9b468142953c5f247d970a1c769abfd51b11340
parent45d19d9306ade96404905aa89d534fc989ff9389
qapi: Inline and remove QERR_MIGRATION_ACTIVE definition

Address the comment added in commit 4629ed1e98
("qerror: Finally unused, clean up"), from 2015:

  /*
   * These macros will go away, please don't use
   * in new code, and do not add new ones!
   */

Mechanical transformation using sed, manually
removing the definition in include/qapi/qmp/qerror.h.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240312141343.3168265-10-armbru@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
[Straightforward conflict with commit aeaafb1e59f (migration: export
migration_is_running) resolved]
include/qapi/qmp/qerror.h
migration/migration.c
migration/options.c
migration/savevm.c