commit | f0e48cbd791e88728fcea65366dbb6d9a63a16e5 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Thu Jun 24 12:38:32 2021 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 09 18:21:33 2021 +0200 |
tree | c8bf882d378d93dc931d31f05bf8043d096b82e7 | |
parent | dae0ec159f92050026961656e9b7ded1e72758a4 [diff] |
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>