testchardev2 is not a valid chardev id here. Use testchardev1
instead which has been created with chardev-add right before
the 'chardev-send-break' line.
And while we're at it, add the test-hmp.c file to the MAINTAINERS
file, too.
Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Message-id:
1501149097[email protected]
Signed-off-by: Peter Maydell <[email protected]>
F: hmp.[ch]
F: hmp-commands*.hx
F: include/monitor/hmp-target.h
+F: tests/test-hmp.c
Network device backends
static const char *hmp_cmds[] = {
"boot_set ndc",
"chardev-add null,id=testchardev1",
- "chardev-send-break testchardev2",
+ "chardev-send-break testchardev1",
"chardev-change testchardev1 ringbuf",
"chardev-remove testchardev1",
"commit all",