On Tue, Jul 15, 2025 at 07:19:20PM +0200, Philippe Mathieu-Daudé wrote: > Date: Tue, 15 Jul 2025 19:19:20 +0200 > From: Philippe Mathieu-Daudé <phi...@linaro.org> > Subject: [PATCH-for-10.1] system/runstate: Document > qemu_add_vm_change_state_handler_prio* in hdr > X-Mailer: git-send-email 2.49.0 > > Generally APIs to the rest of QEMU should be documented in the headers. > Comments on individual functions or internal details are fine to live > in the C files. Make qemu_add_vm_change_state_handler_prio[_full]() > docstrings consistent by moving them from source to header. > > Suggested-by: Xiaoyao Li <xiaoyao...@intel.com> > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > Based-on: <20250703173248.44995-4-phi...@linaro.org> > --- > include/system/runstate.h | 30 ++++++++++++++++++++++++++++++ > system/runstate.c | 30 ------------------------------ > 2 files changed, 30 insertions(+), 30 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>