Re: [Qemu-devel] [PATCH V7 05/13] monitor: avoid use of global *cur_mon in readline_completion()

2013-07-20 Thread Eric Blake
On 07/19/2013 07:44 PM, Wenchao Xia wrote: > 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 > completio

[Qemu-devel] [PATCH V7 05/13] monitor: avoid use of global *cur_mon in readline_completion()

2013-07-19 Thread Wenchao Xia
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 -