mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 11:23:43 +08:00
fe44dc9180
If a migration is already in progress and somebody attempts to add a migration blocker, this should rightly fail. Add an errp parameter and a retcode return value to migrate_add_blocker. Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com> Message-Id: <1484566314-3987-5-git-send-email-ashijeetacharya@gmail.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Acked-by: Greg Kurz <groug@kaod.org> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Merged with recent 'Allow invtsc migration' change
13 lines
199 B
C
13 lines
199 B
C
#include "qemu/osdep.h"
|
|
#include "qemu-common.h"
|
|
#include "migration/migration.h"
|
|
|
|
int migrate_add_blocker(Error *reason, Error **errp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void migrate_del_blocker(Error *reason)
|
|
{
|
|
}
|