From: Zhiyong Ye <yezhiyong@bytedance.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: mreitz@redhat.com, qemu-block@nongnu.org, qemu-devel@nongnu.org
Subject: Re: Questions about how block devices use snapshots
Date: Fri, 13 Jan 2023 16:30:56 +0800 [thread overview]
Message-ID: <ee8efb82-144f-b65f-5811-f74b999c4bf7@bytedance.com> (raw)
In-Reply-To: <Y7/zQYejj+PiT9GC@redhat.com>
Hi Kevin,
Thank you for your patience and explanations. I learned a lot from our
discussions and thank you again for your help.
Regards
Zhiyong
On 1/12/23 7:47 PM, Kevin Wolf wrote:
> Am 11.01.2023 um 17:21 hat Zhiyong Ye geschrieben:
>> Hi Kevin,
>>
>> Can I ask again how base.img + diff.qcow2 can be re-merged into one image
>> via qemu-img or hmp command when modified.img is discarded?
>
> You can either use 'qemu-img commit' to copy all of the data from
> diff.qcow2 back into base.img (this is probably what you want), or
> 'qemu-img rebase' to copy all of the data from base.img into diff.qcow2.
>
> Kevin
>
next prev parent reply other threads:[~2023-01-13 8:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 12:45 Questions about how block devices use snapshots Zhiyong Ye
2023-01-09 13:57 ` Kevin Wolf
2023-01-11 7:55 ` Zhiyong Ye
2023-01-11 14:32 ` Kevin Wolf
2023-01-11 16:21 ` Zhiyong Ye
2023-01-12 11:47 ` Kevin Wolf
2023-01-13 8:30 ` Zhiyong Ye [this message]
2023-02-21 13:27 ` Zhiyong Ye
2023-02-21 15:58 ` Kevin Wolf
2023-02-23 7:35 ` Zhiyong Ye
2023-02-23 11:39 ` Kevin Wolf
2023-02-23 11:47 ` Zhiyong Ye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ee8efb82-144f-b65f-5811-f74b999c4bf7@bytedance.com \
--to=yezhiyong@bytedance.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).