All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/5] xen/arm: live migration support in arndale board
@ 2014-06-17 10:49 Junghyun Yoo
  2014-06-18 12:37 ` Stefano Stabellini
  0 siblings, 1 reply; 3+ messages in thread
From: Junghyun Yoo @ 2014-06-17 10:49 UTC (permalink / raw)
  To: xen-devel
  Cc: keir, ian.campbell, jaeyong.yoo, stefano.stabellini, jbeulich,
	Junghyun Yoo

Hello!
here goes the v6 patch series. The major changes in this version are the following:

   1) Move VLPT address range to the back of the domain heap so each pcpu has it's
      own mapping of VLPT.

   2) For preparing VLPT, rather than making a copy of p2m first, just hold a mapping
      to the p2m first.

	  Patch 1 implements hvm save/restore (including vcpu).

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

	  Patch 3 implements base functions for VLPT.

 	  Patch 4 implements dirty-page tracing by using VLPT.

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

Bests,
Junghyun Yoo
  xen/arm: Implement modify_returncode
  xen/arm: Implement virtual-linear page table for guest
  xen/arm: Implement hypercall for dirty page tracing
  xen/arm: Implement toolstack for xl restore/save and migrate

 config/arm32.mk                        |   1 +
 tools/libxc/Makefile                   |   5 +-
 tools/libxc/xc_arm_migrate.c           | 736 +++++++++++++++++++++++++++++++++
 tools/libxc/xc_dom_arm.c               |   4 +-
 tools/libxc/xc_resume.c                |  20 +
 tools/libxc/xg_arm_save_restore.h      | 106 +++++
 tools/libxl/libxl.h                    |   1 -
 tools/misc/Makefile                    |   4 +-
 xen/arch/arm/Makefile                  |   1 +
 xen/arch/arm/domain.c                  |  17 +
 xen/arch/arm/domctl.c                  |  90 ++++
 xen/arch/arm/hvm.c                     | 334 +++++++++++++++
 xen/arch/arm/mm.c                      | 173 +++++++-
 xen/arch/arm/p2m.c                     | 195 +++++++++
 xen/arch/arm/save.c                    |  66 +++
 xen/arch/arm/traps.c                   |  18 +
 xen/common/Makefile                    |   2 +
 xen/include/asm-arm/arm32/page.h       |  36 +-
 xen/include/asm-arm/config.h           |  18 +-
 xen/include/asm-arm/domain.h           |  12 +
 xen/include/asm-arm/hvm/support.h      |  26 ++
 xen/include/asm-arm/mm.h               |  30 ++
 xen/include/asm-arm/p2m.h              |   7 +-
 xen/include/public/arch-arm/hvm/save.h |  95 +++++
 24 files changed, 1978 insertions(+), 19 deletions(-)
 create mode 100644 tools/libxc/xc_arm_migrate.c
 create mode 100644 tools/libxc/xg_arm_save_restore.h
 create mode 100644 xen/arch/arm/save.c
 create mode 100644 xen/include/asm-arm/hvm/support.h

-- 
1.8.1.2

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

* Re: [PATCH v6 0/5] xen/arm: live migration support in arndale board
  2014-06-17 10:49 [PATCH v6 0/5] xen/arm: live migration support in arndale board Junghyun Yoo
@ 2014-06-18 12:37 ` Stefano Stabellini
  2014-07-02 11:46   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Stabellini @ 2014-06-18 12:37 UTC (permalink / raw)
  To: Junghyun Yoo
  Cc: keir, Ian Campbell, jaeyong.yoo, stefano.stabellini, jbeulich,
	xen-devel, weiwang.dd

Hi Junghyun,
thanks for your work!

During the last few months Wei Huang made a few improvements over this
series, see http://marc.info/?l=xen-devel&m=139958417713245.

Do you think you could give a look at what he did and maybe integrate
his improvements in your series?

Thanks!

- Stefano



On Tue, 17 Jun 2014, Junghyun Yoo wrote:
> Hello!
> here goes the v6 patch series. The major changes in this version are the following:
> 
>    1) Move VLPT address range to the back of the domain heap so each pcpu has it's
>       own mapping of VLPT.
> 
>    2) For preparing VLPT, rather than making a copy of p2m first, just hold a mapping
>       to the p2m first.
> 
> 	  Patch 1 implements hvm save/restore (including vcpu).
> 
> 	  Patch 2 implements 'modify_returncode' for switching the return value of suspend hypercall from domU.
> 
> 	  Patch 3 implements base functions for VLPT.
> 
>  	  Patch 4 implements dirty-page tracing by using VLPT.
> 
> 	  Patch 5 implements the toolstack part for live migration of ARM.
> 
> Bests,
> Junghyun Yoo
>   xen/arm: Implement modify_returncode
>   xen/arm: Implement virtual-linear page table for guest
>   xen/arm: Implement hypercall for dirty page tracing
>   xen/arm: Implement toolstack for xl restore/save and migrate
> 
>  config/arm32.mk                        |   1 +
>  tools/libxc/Makefile                   |   5 +-
>  tools/libxc/xc_arm_migrate.c           | 736 +++++++++++++++++++++++++++++++++
>  tools/libxc/xc_dom_arm.c               |   4 +-
>  tools/libxc/xc_resume.c                |  20 +
>  tools/libxc/xg_arm_save_restore.h      | 106 +++++
>  tools/libxl/libxl.h                    |   1 -
>  tools/misc/Makefile                    |   4 +-
>  xen/arch/arm/Makefile                  |   1 +
>  xen/arch/arm/domain.c                  |  17 +
>  xen/arch/arm/domctl.c                  |  90 ++++
>  xen/arch/arm/hvm.c                     | 334 +++++++++++++++
>  xen/arch/arm/mm.c                      | 173 +++++++-
>  xen/arch/arm/p2m.c                     | 195 +++++++++
>  xen/arch/arm/save.c                    |  66 +++
>  xen/arch/arm/traps.c                   |  18 +
>  xen/common/Makefile                    |   2 +
>  xen/include/asm-arm/arm32/page.h       |  36 +-
>  xen/include/asm-arm/config.h           |  18 +-
>  xen/include/asm-arm/domain.h           |  12 +
>  xen/include/asm-arm/hvm/support.h      |  26 ++
>  xen/include/asm-arm/mm.h               |  30 ++
>  xen/include/asm-arm/p2m.h              |   7 +-
>  xen/include/public/arch-arm/hvm/save.h |  95 +++++
>  24 files changed, 1978 insertions(+), 19 deletions(-)
>  create mode 100644 tools/libxc/xc_arm_migrate.c
>  create mode 100644 tools/libxc/xg_arm_save_restore.h
>  create mode 100644 xen/arch/arm/save.c
>  create mode 100644 xen/include/asm-arm/hvm/support.h
> 
> -- 
> 1.8.1.2
> 

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

* Re: [PATCH v6 0/5] xen/arm: live migration support in arndale board
  2014-06-18 12:37 ` Stefano Stabellini
@ 2014-07-02 11:46   ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2014-07-02 11:46 UTC (permalink / raw)
  To: Stefano Stabellini
  Cc: keir, jaeyong.yoo, stefano.stabellini, jbeulich, xen-devel,
	weiwang.dd, Junghyun Yoo

On Wed, 2014-06-18 at 13:37 +0100, Stefano Stabellini wrote:
> Hi Junghyun,
> thanks for your work!
> 
> During the last few months Wei Huang made a few improvements over this
> series, see http://marc.info/?l=xen-devel&m=139958417713245.
> 
> Do you think you could give a look at what he did and maybe integrate
> his improvements in your series?

There's also some know outstanding issues:
      * This needs to be rebased on Andrew Cooper's v2 migration
        protocol work
      * The VLPT stuff is not SMP safe right now.

For the second one I wonder if we could restructure the series so that
save/restore (and perhaps dead migration) support comes first and the
logdirty stuff (and therefore live migration) at the end?

That way the save/restore stuff can go in when it is ready (which ought
to be sooner) and we can continue to thrash out the logdirty/vlpt
solution.

Ian.

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

end of thread, other threads:[~2014-07-02 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-17 10:49 [PATCH v6 0/5] xen/arm: live migration support in arndale board Junghyun Yoo
2014-06-18 12:37 ` Stefano Stabellini
2014-07-02 11:46   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.