aboutsummaryrefslogtreecommitdiff
path: root/tests/test-hmp.c
diff options
context:
space:
mode:
authorAnton Nefedov <anton.nefedov@virtuozzo.com>2017-07-06 15:08:57 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-07-14 11:04:34 +0200
commit75b601602be0462acb4e0298e738df86b1de61a1 (patch)
treef9476e0d15cdee8fd69b55da340c1cb526dcf609 /tests/test-hmp.c
parent7b5a9e453e4086c2e6a3b9830ee7e4b3583e2d14 (diff)
hmp: add hmp analogue for qmp-chardev-change
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <1499342940-56739-11-git-send-email-anton.nefedov@virtuozzo.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-hmp.c')
-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 6dfa0c36e2..d77b3c8710 100644
--- a/tests/test-hmp.c
+++ b/tests/test-hmp.c
@@ -23,6 +23,7 @@ static const char *hmp_cmds[] = {
"boot_set ndc",
"chardev-add null,id=testchardev1",
"chardev-send-break testchardev2",
+ "chardev-change testchardev1 ringbuf",
"chardev-remove testchardev1",
"commit all",
"cpu-add 1",