Re: [PATCH v4 30/34] monitor: allow register hmp commands

2021-06-24 Thread Gerd Hoffmann
On Thu, Jun 24, 2021 at 03:55:29PM +0100, Dr. David Alan Gilbert wrote: > * Gerd Hoffmann (kra...@redhat.com) wrote: > > Allow commands having a NULL cmd pointer, add a function to set the > > pointer later. Use case: allow modules implement hmp commands. > > > > Signed-off-by: Gerd Hoffmann >

Re: [PATCH v4 30/34] monitor: allow register hmp commands

2021-06-24 Thread Dr. David Alan Gilbert
* Gerd Hoffmann (kra...@redhat.com) wrote: > Allow commands having a NULL cmd pointer, add a function to set the > pointer later. Use case: allow modules implement hmp commands. > > Signed-off-by: Gerd Hoffmann So this is OK, so Acked-by: Dr. David Alan Gilbert however, I can imagine: a) A

[PATCH v4 30/34] monitor: allow register hmp commands

2021-06-24 Thread Gerd Hoffmann
Allow commands having a NULL cmd pointer, add a function to set the pointer later. Use case: allow modules implement hmp commands. Signed-off-by: Gerd Hoffmann --- include/monitor/monitor.h | 3 +++ monitor/hmp.c | 7 +++ monitor/misc.c| 16 3 file