qemu-devel
[Top][All Lists]
Advanced

[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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v3 4/8] replay: save/load initial state
Date: Tue, 20 Sep 2016 15:45:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0


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)

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]