monitor: Port handler_0 to use QDict

This commit ports command handlers that receive no arguments to use
the new monitor's dictionary.

It might seem no sense to do this, as the handlers have no arguments,
but at the end of this porting work all handlers will have the same
structure.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Luiz Capitulino 2009-08-28 15:27:12 -03:00 committed by Anthony Liguori
parent cdb0def36d
commit f96fc8a0f1
3 changed files with 12 additions and 11 deletions

View file

@ -80,7 +80,7 @@ void do_migrate(Monitor *mon, int detach, const char *uri)
}
}
void do_migrate_cancel(Monitor *mon)
void do_migrate_cancel(Monitor *mon, const QDict *qdict)
{
MigrationState *s = current_migration;