qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Tomoki Sekiyama <tomoki.sekiyama@hds.com>, qemu-devel@nongnu.org
Cc: mitsuhiro.tanino@hds.com, mdroth@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v2] qga: Add 'mountpoints' argument to guest-fsfreeze-freeze command
Date: Tue, 20 May 2014 09:45:06 -0600	[thread overview]
Message-ID: <537B7882.3000701@redhat.com> (raw)
In-Reply-To: <20140428152514.10474.67500.stgit@dhcp-17-12.bos.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]

On 04/28/2014 09:25 AM, Tomoki Sekiyama wrote:
> When an array of mount point paths is specified as 'mountpoints' argument
> of guest-fsfreeze-freeze, qemu-ga with this patch will only freeze the file
> systems mounted on specified paths in Linux.

How does the management application learn the set of valid mountpoints
arguments it can pass to this command?  Shouldn't there be a query
counterpart that asks the guest to return the full list of mountpoints
that it can support freezing?  In the case of guests that are
all-or-none, like Windows, the query command would return an empty list
to make it obvious there is no ability to freeze just a subset.

In returning a list of mountpoint names, it might also be nice to
correlate which names map to which devices (it can be a many:many
mapping, thanks to things like RAID setups in the guest).

> This would be useful when the host wants to create partial disk snapshots.
> 
> Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
> ---
>  qga/commands-posix.c |   17 ++++++++++++++++-
>  qga/commands-win32.c |    3 ++-
>  qga/qapi-schema.json |    4 ++++
>  3 files changed, 22 insertions(+), 2 deletions(-)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  parent reply	other threads:[~2014-05-20 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140428152505.10474.3587.stgit@dhcp-17-12.bos.redhat.com>
2014-05-20 15:04 ` [Qemu-devel] [PATCH v2] qga: Add 'mountpoints' argument to guest-fsfreeze-freeze command Tomoki Sekiyama
     [not found] ` <20140428152514.10474.67500.stgit@dhcp-17-12.bos.redhat.com>
2014-05-20 15:45   ` Eric Blake [this message]
2014-05-20 22:01     ` Tomoki Sekiyama
2014-05-20 22:46       ` Eric Blake
2014-05-21 19:28         ` Tomoki Sekiyama
2014-05-20 22:01     ` Tomoki Sekiyama

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=537B7882.3000701@redhat.com \
    --to=eblake@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=mitsuhiro.tanino@hds.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tomoki.sekiyama@hds.com \
    /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).