[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/7] migrate: add migration blockers
From: |
Juan Quintela |
Subject: |
Re: [Qemu-devel] [PATCH 1/7] migrate: add migration blockers |
Date: |
Mon, 14 Nov 2011 14:00:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Anthony Liguori <address@hidden> wrote:
> This lets different subsystems register an Error that is thrown whenever
> migration is attempted. This works nicely because it gracefully supports
> things like hotplug.
>
> Right now, if multiple errors are registered, only one of them is reported.
> I expect that for 1.1, we'll extend query-migrate to return all of the reasons
> why migration is disabled at any given point in time.
>
> Signed-off-by: Anthony Liguori <address@hidden>
> Signed-off-by: Anthony Liguori <address@hidden>
> ---
> migration.c | 18 ++++++++++++++++++
> migration.h | 15 +++++++++++++++
> 2 files changed, 33 insertions(+), 0 deletions(-)
>
> diff --git a/migration.c b/migration.c
> index 41c3c24..6764d3a 100644
> --- a/migration.c
> +++ b/migration.c
> @@ -398,6 +398,18 @@ static MigrationState *migrate_init(Monitor *mon, int
> detach, int blk, int inc)
> return s;
> }
>
> +static GSList *migration_blockers;
> +
As said by Kevin, using another list implementation makes no sense on my
book.
Rest of idea ok.
[Qemu-devel] [PATCH 6/7] qcow2: implement bdrv_invalidate_cache, Anthony Liguori, 2011/11/12
[Qemu-devel] [PATCH 4/7] qed: add migration blocker, Anthony Liguori, 2011/11/12
[Qemu-devel] [PATCH 7/7] qcow2: relax migration blocker, Anthony Liguori, 2011/11/12
Re: [Qemu-devel] [PATCH 1/7] migrate: add migration blockers, Kevin Wolf, 2011/11/14
Re: [Qemu-devel] [PATCH 1/7] migrate: add migration blockers, Kevin Wolf, 2011/11/14
Re: [Qemu-devel] [PATCH 1/7] migrate: add migration blockers,
Juan Quintela <=
[Qemu-devel] [PATCH 1/7] migrate: add migration blockers, Anthony Liguori, 2011/11/12
- [Qemu-devel] [PATCH 3/7] qcow2: add a migration blocker, Anthony Liguori, 2011/11/12
- [Qemu-devel] [PATCH 4/7] qed: add migration blocker, Anthony Liguori, 2011/11/12
- [Qemu-devel] [PATCH 5/7] block: allow migration to work with image files (v2), Anthony Liguori, 2011/11/12
- [Qemu-devel] [PATCH 2/7] ivshmem: use migration blockers to prevent live migration in peer mode, Anthony Liguori, 2011/11/12
- [Qemu-devel] [PATCH 6/7] qcow2: implement bdrv_invalidate_cache, Anthony Liguori, 2011/11/12
- [Qemu-devel] [PATCH 7/7] qcow2: relax migration blocker, Anthony Liguori, 2011/11/12