]> git.proxmox.com Git - mirror_qemu.git/commit
monitor: allow register hmp commands
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Jun 2021 10:38:32 +0000 (12:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Jul 2021 16:21:33 +0000 (18:21 +0200)
commitf0e48cbd791e88728fcea65366dbb6d9a63a16e5
treec8bf882d378d93dc931d31f05bf8043d096b82e7
parentdae0ec159f92050026961656e9b7ded1e72758a4
monitor: allow register hmp commands

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 <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-31-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/monitor/monitor.h
monitor/hmp.c
monitor/misc.c