qapi: Inline and remove QERR_INVALID_PARAMETER_TYPE definition
commitef929281f1ddb1ce74f5fe39377a88e6cc8237aa
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 12 Mar 2024 14:13:40 +0000 (12 15:13 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 24 Apr 2024 07:50:58 +0000 (24 09:50 +0200)
treeff382c444acf7d06e8ce06a79e89b505a1a5eb26
parentaaeafa5090c8d006d7c39b4e11bcfb8515ef1ece
qapi: Inline and remove QERR_INVALID_PARAMETER_TYPE 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!
   */

Manual changes (escaping the format in qapi/visit.py).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240312141343.3168265-8-armbru@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
include/qapi/qmp/qerror.h
qom/object.c
scripts/qapi/visit.py