summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>2013-08-27 20:38:17 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2013-08-30 07:41:14 -0400
commitd1a9756ab8c2c2578cbcb325efffe0b0af916944 (patch)
tree81944798d762a0cc0b91d50b90570ca888fcf4d4 /monitor.c
parentd2674b2cf7db7dce865f3c2b89f0e36d1657a3b5 (diff)
downloadqemu-d1a9756ab8c2c2578cbcb325efffe0b0af916944.tar.gz
monitor: avoid use of global *cur_mon in readline_completion()
Now all completion functions do not use *cur_mon any more, instead they use rs->mon. In short, structure ReadLineState decide where the complete action would be taken now. Tested with the case that qemu have two telnet monitors, auto completion function works normal. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions