All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: Christopher Pereira <kripper@imatronix.cl>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Can qemu reopen image files?
Date: Mon, 19 Dec 2016 09:07:43 +0800	[thread overview]
Message-ID: <20161219010743.GA2719@lemon> (raw)
In-Reply-To: <53e52412-cd32-cb9e-2261-882a7b5b84ea@imatronix.cl>

On Sun, 12/18 20:52, Christopher Pereira wrote:
> Hi,
> 
> We are doing a "qemu-img convert" operation (qcow2, with compression) to
> shorten the backing-chain (in the middle of the backing-chain).
> In order to force qemu to reopen files, we do a save and restore operation.
> Is there a faster way to reopen image files using virsh or qemu?

No, don't use qemu-img when the image is in use by QEMU. You want to use
"block-commit" command provided by QMP.

Fam

  reply	other threads:[~2016-12-19  1:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18 23:52 [Qemu-devel] Can qemu reopen image files? Christopher Pereira
2016-12-19  1:07 ` Fam Zheng [this message]
2016-12-19 13:55   ` Stefan Hajnoczi
2016-12-19 15:03     ` Christopher Pereira
2016-12-19 15:48       ` Eric Blake
2016-12-19 16:24         ` Christopher Pereira
2016-12-28 18:51           ` Christopher Pereira
2016-12-29 13:42             ` Eric Blake
2016-12-29 13:52               ` Eric Blake
2016-12-29 13:55                 ` Eric Blake
2016-12-29 13:39           ` Eric Blake

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=20161219010743.GA2719@lemon \
    --to=famz@redhat.com \
    --cc=kripper@imatronix.cl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.