mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:38 +00:00
migrate_add_blocker_modes() and migration_add_notifier_modes use variable arguments for a set of migration modes. The variable arguments get collected into a bitset for processsing. Take a bitset argument instead, it's simpler. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20251027064503.1074255-3-armbru@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
22 lines
353 B
C
22 lines
353 B
C
#include "qemu/osdep.h"
|
|
#include "migration/blocker.h"
|
|
|
|
int migrate_add_blocker(Error **reasonp, Error **errp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int migrate_add_blocker_normal(Error **reasonp, Error **errp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int migrate_add_blocker_modes(Error **reasonp, unsigned modes, Error **errp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void migrate_del_blocker(Error **reasonp)
|
|
{
|
|
}
|