summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2019-02-27 13:24:12 +0000
committerJason Wang <jasowang@redhat.com>2019-03-05 11:27:41 +0800
commit544f6ea324970dba5b8417e0033e00e4dc5ea14c (patch)
tree41a42b64a0adf0bf758a1bcd335da5dcac0e477e /tests
parenta06cd488d83963faa4e7c1b8314c55f1e8f605e6 (diff)
downloadfocaccia-qemu-544f6ea324970dba5b8417e0033e00e4dc5ea14c.tar.gz
focaccia-qemu-544f6ea324970dba5b8417e0033e00e4dc5ea14c.zip
hmp: Add hmp_announce_self
Add an HMP command to trigger self annocements.
Unlike the QMP command (which takes a set of parameters), the HMP
command reuses the set of parameters used for migration.

Signend-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-hmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-hmp.c b/tests/test-hmp.c
index 1a3a9c5099..8c49d2fdf1 100644
--- a/tests/test-hmp.c
+++ b/tests/test-hmp.c
@@ -20,6 +20,7 @@
 static int verbose;
 
 static const char *hmp_cmds[] = {
+    "announce_self",
     "boot_set ndc",
     "chardev-add null,id=testchardev1",
     "chardev-send-break testchardev1",