Luiz Capitulino wrote: > On Tue, 15 Dec 2009 10:54:23 +0100 > Markus Armbruster <arm...@redhat.com> wrote: > >> Markus Armbruster <arm...@redhat.com> writes: >> >>> Luiz Capitulino <lcapitul...@redhat.com> writes: >>> >>>> The monitor_read_command() function is readline specific >>>> and should only be used when readline is available. >>>> >>>> Signed-off-by: Luiz Capitulino <lcapitul...@redhat.com> >>> I figure this bug breaks password entry (VNC and block) on non-readline >>> monitors. Suspect commit cde76ee1. > > I can only assume that it didn't matter until now. > >> PS: Subject is wrong. gdbserver_start() creates a monitor with >> MONITOR_USE_READLINE off, so it's not just QMP. > > Ditto. >
Right. monitor_read_password was never supposed to be used on monitors that have not readline state and is reported as error by monitor_read_password. So far the only monitor that was lacking such state was the gdbserver, now we also have QMP. The latter handles this separately, the former should still fail loudly when such commands are issued. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux