xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jaeyong Yoo <jaeyong.yoo@samsung.com>
To: xen-devel@lists.xen.org
Cc: Jaeyong Yoo <jaeyong.yoo@samsung.com>
Subject: [PATCH v4 0/9] xen/arm: live migration support in arndale board
Date: Fri, 04 Oct 2013 13:43:56 +0900	[thread overview]
Message-ID: <1380861845-23268-1-git-send-email-jaeyong.yoo@samsung.com> (raw)

Hello xen-devel,
here goes the v4 patch series. The major changes in this version is the following:

  1) VLPT is improved. In version 3, we manually construct the xen's page table
     to establish VLPT, but in this version, by simply copying the guest p2m's
     entry into xen's page table, we can accomplish the same with smaller LOC
     and faster dirty-page detection.

  2) Enable SMP-domu live migration.

  3) Stability improved. For single-core domU live migration, we can migrate 512
     times in a row (512 is the maximum number of domain ID, as far as I know).
     For SMP-core domU live migration, we can migrate 50 ~ 300 times in a row,
     (minimum 50), and after that dom0 or domU crashes. We are trying to figure
     out the reason of faults. I hope I could get some feedbacks from community
     members about this.

And, here goes the brief description of each patch.

Patch 1 implements hvm save/restore.

Patch 2 implements vcpu save/restore by adding more required registers for live migration.

Patch 3 implements 'set_memory_map' hyerpcall for telling hypervisor about the DomU's memory map. This memory map is used for dirty-page tracing (Patch 4, 7, 8, and 9)

Patch 4 implements 'get_maximum_gpfn'

Patch 5 implements 'modify_returncode' for switching the return value of suspend hypercall from domU.

Patch 6 is an obvious fix of a clear_guest_offset macro.

Patch 7 implements base functions for VLPT.

Patch 8 implements dirty-page tracing by using VLPT.

Patch 9 implements the toolstack part for live migration of ARM.


Best,
Jaeyong


Alexey Sokolov, Elena Pyatunina, Evgeny Fedotov, and Nikolay Martyanov (1):
  xen/arm: Implement toolstack for xl restore/save and migrate

Alexey Sokolov (1):
  xen/arm: Implement modify_returncode

Evgeny Fedotov (2):
  xen/arm: Implement set_memory_map hypercall
  xen/arm: Implement get_maximum_gpfn hypercall for arm

Jaeyong Yoo and Evgeny Fedotov (1):
  xen/arm: Implement hvm save and restore

Jaeyong Yoo and Alexey Sokolov (1):
  xen/arm: Add more registers for saving and restoring vcpu  registers

Jaeyong Yoo and Elena Pyatunina (1)
  xen/arm: Implement hypercall for dirty page tracing 

Jaeyong Yoo (2):
  xen/arm: Implement virtual-linear page table for guest      p2m
    mapping in live migration
  xen/arm: Fixing clear_guest_offset macro

 config/arm32.mk                          |   1 +
 tools/include/xen-foreign/reference.size |   2 +-
 tools/libxc/Makefile                     |   5 +
 tools/libxc/xc_arm_migrate.c             | 805 +++++++++++++++++++++++++++++++
 tools/libxc/xc_dom_arm.c                 |  12 +-
 tools/libxc/xc_domain.c                  |  44 ++
 tools/libxc/xc_resume.c                  |  25 +
 tools/libxc/xenctrl.h                    |  23 +
 tools/misc/Makefile                      |   4 +
 xen/arch/arm/Makefile                    |   1 +
 xen/arch/arm/domain.c                    |  52 ++
 xen/arch/arm/domctl.c                    | 136 +++++-
 xen/arch/arm/hvm.c                       | 228 +++++++++
 xen/arch/arm/mm.c                        | 190 +++++++-
 xen/arch/arm/p2m.c                       | 300 ++++++++++++
 xen/arch/arm/save.c                      |  66 +++
 xen/arch/arm/traps.c                     |  21 +-
 xen/common/Makefile                      |   2 +
 xen/include/asm-arm/config.h             |   6 +
 xen/include/asm-arm/domain.h             |  14 +
 xen/include/asm-arm/guest_access.h       |   5 +-
 xen/include/asm-arm/hvm/support.h        |  29 ++
 xen/include/asm-arm/mm.h                 |  29 ++
 xen/include/asm-arm/p2m.h                |   4 +
 xen/include/asm-arm/processor.h          |   2 +
 xen/include/public/arch-arm.h            |  35 ++
 xen/include/public/arch-arm/hvm/save.h   |  66 +++
 xen/include/public/memory.h              |  15 +-
 xen/include/xsm/dummy.h                  |   5 +
 xen/include/xsm/xsm.h                    |   5 +
 30 files changed, 2119 insertions(+), 13 deletions(-)
 create mode 100644 tools/libxc/xc_arm_migrate.c
 create mode 100644 xen/arch/arm/save.c
 create mode 100644 xen/include/asm-arm/hvm/support.h

-- 
1.8.1.2

             reply	other threads:[~2013-10-04  4:43 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04  4:43 Jaeyong Yoo [this message]
2013-10-04  4:43 ` [PATCH v4 1/9] xen/arm: Implement hvm save and restore Jaeyong Yoo
2013-10-07 12:49   ` Julien Grall
2013-10-04  4:43 ` [PATCH v4 2/9] xen/arm: Add more registers for saving and restoring vcpu registers Jaeyong Yoo
2013-10-10 10:40   ` Ian Campbell
2013-10-11  8:30     ` Jaeyong Yoo
2013-10-11  8:43       ` Ian Campbell
2013-10-11 10:22         ` Tim Deegan
2013-10-11 10:25           ` Ian Campbell
2013-10-14  4:39             ` Jaeyong Yoo
2013-10-17  2:14               ` Jaeyong Yoo
2013-10-17 10:01                 ` Ian Campbell
2013-10-04  4:43 ` [PATCH v4 3/9] xen/arm: Implement set_memory_map hypercall for arm Jaeyong Yoo
2013-10-10 10:56   ` Ian Campbell
2013-10-11 10:06     ` Eugene Fedotov
2013-10-11 10:09       ` Ian Campbell
2013-10-11 10:18         ` Tim Deegan
2013-10-31  8:56         ` Eugene Fedotov
2013-11-01  9:04           ` Ian Campbell
2013-11-01  9:14           ` Ian Campbell
2013-11-01  9:51             ` Eugene Fedotov
2013-11-01  9:48               ` Ian Campbell
2013-11-01 10:08                 ` Eugene Fedotov
2013-11-01 10:30                   ` Ian Campbell
2013-10-04  4:44 ` [PATCH v4 4/9] xen/arm: Implement get_maximum_gpfn " Jaeyong Yoo
2013-10-04  4:44 ` [PATCH v4 5/9] xen/arm: Implement modify_returncode Jaeyong Yoo
2013-10-04  4:44 ` [PATCH v4 6/9] xen/arm: Fixing clear_guest_offset macro Jaeyong Yoo
2013-10-07 12:53   ` Julien Grall
2013-10-10 12:00     ` Ian Campbell
2013-10-04  4:44 ` [PATCH v4 7/9] xen/arm: Implement virtual-linear page table for guest p2m mapping in live migration Jaeyong Yoo
2013-10-16 12:50   ` Ian Campbell
2013-10-17  8:58     ` Jaeyong Yoo
2013-10-17 10:06       ` Ian Campbell
2013-10-17 10:25         ` Jaeyong Yoo
2013-10-04  4:44 ` [PATCH v4 8/9] xen/arm: Implement hypercall for dirty page tracing Jaeyong Yoo
2013-10-07 13:02   ` Julien Grall
2013-10-07 15:51     ` Eugene Fedotov
2013-10-10 14:10       ` Julien Grall
2013-10-16 13:44   ` Ian Campbell
2013-10-17 10:12     ` Jaeyong Yoo
2013-10-17 10:30       ` Ian Campbell
2013-10-17 11:05         ` Jaeyong Yoo
2013-10-17 11:47           ` Ian Campbell
2013-10-18  4:17             ` Jaeyong Yoo
2013-10-18  9:11               ` Ian Campbell
2013-10-04  4:44 ` [PATCH v4 9/9] xen/arm: Implement toolstack for xl restore/save and migrate Jaeyong Yoo
2013-10-16 13:55   ` Ian Campbell
2013-10-17 10:14     ` Jaeyong Yoo

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=1380861845-23268-1-git-send-email-jaeyong.yoo@samsung.com \
    --to=jaeyong.yoo@samsung.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).