[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/6] Purge migration of (almost) everything to d
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH 5/6] Purge migration of (almost) everything to do with monitors |
Date: |
Wed, 15 Feb 2012 10:53:28 -0200 |
On Wed, 15 Feb 2012 10:02:54 +0100
Jan Kiszka <address@hidden> wrote:
> On 2012-02-10 20:31, 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.
>
> Particularly NACK on this. Either the information is useless anyway,
> then remove it. Otherwise, keep it for channels that can properly
> display it (AKA HMP). I bet the latter can easily be achieved by
> providing non-printing Monitor objects over QMP instances.
I will consider dropping it :)
I can think of two ways of displaying status in HMP (considering the new
HMP/QMP split design):
1. We add all progress status information to a query command, and let HMP
poll it (manually by the user or automatically from a timer)
2. We emit an event whenever the progress status changes (seems a bit overkill)
[Qemu-devel] [PATCH 6/6] qapi: Convert migrate, Luiz Capitulino, 2012/02/10
Re: [Qemu-devel] [PATCH 6/6] qapi: Convert migrate, Jan Kiszka, 2012/02/15