qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: QEMU-devel <qemu-devel@nongnu.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Luiz Capitulino <lcapitulino@redhat.com>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	Avi Kivity <avi@redhat.com>,
	Anthony PERARD <anthony.perard@citrix.com>,
	Xen Devel <xen-devel@lists.xen.org>
Subject: [Qemu-devel] [PATCH V3 0/5] Xen, introducing dirty log for migration.
Date: Thu, 20 Sep 2012 12:12:49 +0100	[thread overview]
Message-ID: <1348139574-23324-1-git-send-email-anthony.perard@citrix.com> (raw)

Hi,

This patch set will fix live migration under Xen. For this I introduce a new
QMP command to switch global-dirty log and few calls (in exec.c and memory.c)
to xen set_dirty function.

Change since v2:
  - renamed set_dirty_helper to invalidate_and_set_dirty.
  - in the last patch, set vram as dirty if the xen call fails, instead of only
    during migration.

Change v1-v2:
  - New patch to set dirty if not, in exec.c
    => only one place to add the xen call in exec.c


Thanks for your reviews,



Anthony PERARD (5):
  QMP, Introduce xen-set-global-dirty-log command.
  xen: Introduce xen_modified_memory.
  exec: Introduce helper to set dirty flags.
  exec, memory: Call to xen_modified_memory.
  xen: Set the vram dirty when an error occur.

 exec.c           | 53 ++++++++++++++++++-----------------------------------
 hw/xen.h         |  1 +
 memory.c         |  2 ++
 qapi-schema.json | 13 +++++++++++++
 qmp-commands.hx  | 24 ++++++++++++++++++++++++
 xen-all.c        | 39 ++++++++++++++++++++++++++++++++++++++-
 xen-stub.c       |  9 +++++++++
 7 files changed, 105 insertions(+), 36 deletions(-)

-- 
Anthony PERARD

             reply	other threads:[~2012-09-20 11:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 11:12 Anthony PERARD [this message]
2012-09-20 11:12 ` [Qemu-devel] [PATCH V3 1/5] QMP, Introduce xen-set-global-dirty-log command Anthony PERARD
2012-09-20 11:12 ` [Qemu-devel] [PATCH V3 2/5] xen: Introduce xen_modified_memory Anthony PERARD
2012-09-20 12:29   ` Stefano Stabellini
2012-09-21 14:29     ` Anthony PERARD
2012-09-20 11:12 ` [Qemu-devel] [PATCH V3 3/5] exec: Introduce helper to set dirty flags Anthony PERARD
2012-09-20 11:23   ` Avi Kivity
2012-09-20 11:12 ` [Qemu-devel] [PATCH V3 4/5] exec, memory: Call to xen_modified_memory Anthony PERARD
2012-09-20 11:12 ` [Qemu-devel] [PATCH V3 5/5] xen: Set the vram dirty when an error occur Anthony PERARD
2012-09-20 12:31   ` Stefano Stabellini
2012-09-21 14:33     ` Anthony PERARD

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=1348139574-23324-1-git-send-email-anthony.perard@citrix.com \
    --to=anthony.perard@citrix.com \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@citrix.com \
    --cc=xen-devel@lists.xen.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).