On 2012-03-09 19:30, Luiz Capitulino wrote: > On Fri, 09 Mar 2012 19:20:56 +0100 > Jan Kiszka <jan.kis...@siemens.com> wrote: > >> On 2012-03-09 19:13, Luiz Capitulino wrote: >>> The Monitor object is passed back and forth within the migration/savevm >>> code so that it can print errors and progress to the user. >>> >>> However, that approach assumes a HMP monitor, being completely invalid >>> in QMP. >>> >>> This commit drops almost every single usage of the Monitor object, all >>> monitor_printf() calls have been converted into DPRINTF() ones. >> >> I guess for most printfs, this is OK. But do you provide an alternative >> for the block migration progress output? I did not find anything on >> first glance. That is not a debugging feature. > > Can't the info migrate command be used for that?
This was introduced for synchronous migration, as usability improvement. Either we expose this feature or we drop it completely. But converting it to a /dev/null output is pointless. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux