qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V5 0/5] Xen, introducing dirty log for migration.
@ 2012-10-02 18:21 Anthony PERARD
  2012-10-02 18:21 ` [Qemu-devel] [PATCH V5 1/5] QMP, Introduce xen-set-global-dirty-log command Anthony PERARD
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Anthony PERARD @ 2012-10-02 18:21 UTC (permalink / raw)
  To: QEMU-devel, Stefano Stabellini; +Cc: Anthony PERARD, Xen Devel

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 v5:
  - fix initial version number for the xen-set-global-dirty-log QMP command.

Change since v4:
  - call xen_modified_memory in cpu_physical_memory_set_dirty_range instead of
    calling it from memory_set_dirty.

Change since v3:
  - Coding style of patch 2
  - Reword last patch comment

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


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-obsolete.h  |  2 ++
 exec.c           | 53 ++++++++++++++++++-----------------------------------
 hw/xen.h         |  1 +
 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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH V5 0/5] Xen, introducing dirty log for migration.
@ 2012-10-02 16:52 Anthony PERARD
  2012-10-02 16:52 ` [Qemu-devel] [PATCH V5 3/5] exec: Introduce helper to set dirty flags Anthony PERARD
  0 siblings, 1 reply; 7+ messages in thread
From: Anthony PERARD @ 2012-10-02 16:52 UTC (permalink / raw)
  To: QEMU-devel, Stefano Stabellini, Avi Kivity; +Cc: Anthony PERARD, Xen Devel

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 v4:
  - call xen_modified_memory in cpu_physical_memory_set_dirty_range instead of
    calling it from memory_set_dirty.


Change since v3:
  - Coding style of patch 2
  - Reword last patch comment

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



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-obsolete.h  |  2 ++
 exec.c           | 53 ++++++++++++++++++-----------------------------------
 hw/xen.h         |  1 +
 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-02 18:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 18:21 [Qemu-devel] [PATCH V5 0/5] Xen, introducing dirty log for migration Anthony PERARD
2012-10-02 18:21 ` [Qemu-devel] [PATCH V5 1/5] QMP, Introduce xen-set-global-dirty-log command Anthony PERARD
2012-10-02 18:21 ` [Qemu-devel] [PATCH V5 2/5] xen: Introduce xen_modified_memory Anthony PERARD
2012-10-02 18:21 ` [Qemu-devel] [PATCH V5 3/5] exec: Introduce helper to set dirty flags Anthony PERARD
2012-10-02 18:21 ` [Qemu-devel] [PATCH V5 4/5] exec, memory: Call to xen_modified_memory Anthony PERARD
2012-10-02 18:21 ` [Qemu-devel] [PATCH V5 5/5] xen: Set the vram dirty when an error occur Anthony PERARD
  -- strict thread matches above, loose matches on Subject: below --
2012-10-02 16:52 [Qemu-devel] [PATCH V5 0/5] Xen, introducing dirty log for migration Anthony PERARD
2012-10-02 16:52 ` [Qemu-devel] [PATCH V5 3/5] exec: Introduce helper to set dirty flags Anthony PERARD

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).