[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration |
Date: |
Tue, 7 Mar 2017 11:20:03 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
* Kevin Wolf (address@hidden) wrote:
> Am 07.03.2017 um 10:59 hat Vladimir Sementsov-Ogievskiy geschrieben:
> > 07.03.2017 12:53, Kevin Wolf wrote:
> > >Am 25.02.2017 um 20:31 hat Vladimir Sementsov-Ogievskiy geschrieben:
> > >>After migration all drives are inactive and savevm will fail with
> > >>
> > >>qemu-kvm: block/io.c:1406: bdrv_co_do_pwritev:
> > >> Assertion `!(bs->open_flags & 0x0800)' failed.
> > >>
> > >>Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> > >What's the exact state you're in? I tried to reproduce this, but just
> > >doing a live migration and then savevm on the destination works fine for
> > >me.
> > >
> > >Hm... Or do you mean on the source? In that case, I think the operation
> > >must fail, but of course more gracefully than now.
> >
> > Yes, I mean on the source. It may not be migration for "mirgration",
> > but for dumping state to file. In that case it seems not wrong to
> > make a snapshot on source.
>
> Yes, resuming on the source is definitely valid. I'm only questioning if
> 'savevm' (and by extension, any other command that modifies the VM or
> its images) should automagically regain control of the VM, or whether
> that should be more explicit.
How many things other than 'cont' and 'savevm' are there?
We should definitely fix it so a savevm there doesn't assert,
but I'm also unsure if it's worth a separate explicit command.
Dave
> Kevin
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Kevin Wolf, 2017/03/07
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Vladimir Sementsov-Ogievskiy, 2017/03/07
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Dr. David Alan Gilbert, 2017/03/28
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Kevin Wolf, 2017/03/28
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Dr. David Alan Gilbert, 2017/03/28
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Kevin Wolf, 2017/03/28
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Vladimir Sementsov-Ogievskiy, 2017/03/28
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Paolo Bonzini, 2017/03/28
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Dr. David Alan Gilbert, 2017/03/29
- Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Paolo Bonzini, 2017/03/29
Re: [Qemu-block] [PATCH 3/4] savevm: fix savevm after migration, Denis V. Lunev, 2017/03/29