qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH v2 0/2] virtagent - fsfreeze support


From: Michael Roth
Subject: [Qemu-devel] Re: [PATCH v2 0/2] virtagent - fsfreeze support
Date: Thu, 03 Feb 2011 12:15:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

Hi Jes,

Can you add Badari (CC'd) to the next round? He's looked at potentially using virtagent for snapshots in the past and might have some insights here. Thanks.

On 02/02/2011 02:42 AM, address@hidden wrote:
From: Jes Sorensen<address@hidden>

Hi

This is a first attempt to add fsfreeze support to virtagent. The idea
is for the guest agent to walk the list of locally mounted file
systems in the guest, and issuing an ioctl to freeze them. The host
can then do a live snapshot of the guest, obtaining stable file
systems. After the snapshot, the host then calls the thaw function in
virtagent, which goes through the list of previously frozen file
systems and unfreezes them.

The list walking ignores remote file systems such as NFS and CIFS as
well as all pseudo file systems.

The guest agent code is in the first patch, and host agent code is in
the second patch. For now there is only human monitor support, but it
should be pretty straight forward to add QMP support as well.

Comments and suggestions welcome!

v2 of the patch addresses the issues pointed out by Stefan and Michael.

Cheers,
Jes


Jes Sorensen (2):
   Add virtagent file system freeze/thaw
   Add monitor commands for fsfreeze support

  hmp-commands.hx    |   48 +++++++++++
  virtagent-common.h |    9 ++
  virtagent-server.c |  190 ++++++++++++++++++++++++++++++++++++++++++
  virtagent.c        |  235 ++++++++++++++++++++++++++++++++++++++++++++++++++++
  virtagent.h        |    9 ++
  5 files changed, 491 insertions(+), 0 deletions(-)





reply via email to

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