[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state
From: |
Pavel Dovgalyuk |
Subject: |
Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state |
Date: |
Tue, 20 Sep 2016 16:51:15 +0300 |
> From: Paolo Bonzini [mailto:address@hidden
> On 20/09/2016 15:37, Pavel Dovgalyuk wrote:
> >> c) no rrsnapshot implies -snapshot:
> >> without overlay:
> >> -drive file=disk.raw,if=none,id=img-direct
> >> -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay
> >>
> >> with overlay:
> >> -drive file=foo.qcow2,if=none,id=img-direct
> >> -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay
> >> -icount ...,rrsnapshot=snapname
> >
> > But how record will create this overlay?
> > This method requires creating overlay manually, because backing file is
> > not specified at all.
>
> You create it manually, or you just use a .qcow2 file to begin with for
> your image. Then:
>
> 1) if you specify no snapshot, a temporary .qcow2 file is created on top
> so data is not destroyed
>
> 2) if you specify a snapshot, that snapshot is preserved (so you don't
> lose the base state even though the file changes)
Now I see.
This seems ok, but:
- this approach adds some garbage to original disk image
- won't work with raw images
Pavel Dovgalyuk
- Re: [Qemu-devel] [PATCH v3 2/8] block: set snapshot option for block devices in blkreplay module, (continued)
[Qemu-devel] [PATCH v3 3/8] block: don't make snapshots for filters, Pavel Dovgalyuk, 2016/09/20
[Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Pavel Dovgalyuk, 2016/09/20
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Paolo Bonzini, 2016/09/20
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Pavel Dovgalyuk, 2016/09/20
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Paolo Bonzini, 2016/09/20
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Pavel Dovgalyuk, 2016/09/20
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Paolo Bonzini, 2016/09/20
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state,
Pavel Dovgalyuk <=
- Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state, Paolo Bonzini, 2016/09/20
[Qemu-devel] [PATCH v3 5/8] replay: move internal data to the structure, Pavel Dovgalyuk, 2016/09/20
[Qemu-devel] [PATCH v3 6/8] replay: vmstate for replay module, Pavel Dovgalyuk, 2016/09/20
[Qemu-devel] [PATCH v3 7/8] replay: allow replay stopping and restarting, Pavel Dovgalyuk, 2016/09/20
[Qemu-devel] [PATCH v3 8/8] integratorcp: adding vmstate for save/restore, Pavel Dovgalyuk, 2016/09/20
Re: [Qemu-devel] [PATCH v3 0/8] replay additions, no-reply, 2016/09/20