From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [PATCH RESEND v5 0/6] xen/arm: live migration support in arndale board Date: Wed, 2 Apr 2014 16:21:30 +0100 Message-ID: References: <1383897048-12528-1-git-send-email-jaeyong.yoo@samsung.com> <533B15FD.6000506@linaro.org> <533C2783.7050904@samsung.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-1377823461-1396452090=:1923" Return-path: In-Reply-To: <533C2783.7050904@samsung.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Huang Cc: Stefano Stabellini , Julien Grall , Ian Campbell , Jaeyong Yoo , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --1342847746-1377823461-1396452090=:1923 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 2 Apr 2014, Wei Huang wrote: > On 04/01/2014 02:39 PM, Julien Grall wrote: > > Hello Jaeyong, > >=20 > > I remembered the patch series was in good shape (you may need to rebase= it > > on the latest master branch), do you plan to resend it? > I don't know about Jaeyong's progress. But I have back ported his patches= , > plus some fixes, to the latest Xen-unstable. Currently save/restore/migra= tion > for 32-bit guest VMs are working. 64-bit support is also under way and sh= ould > be completed soon. That's fantastic! > > It would be awesome to have migration support for ARM for 4.5 (AFAIK th= e > > release is planned around august) > I can submit my version (with original signed-off intact). But given that > Jaeyong Yoo and his team are the original author, I will wait for his rep= ly. I > think we should plan to support migration officially in 4.5 release. If you go ahead and resend his series, keep him as original author (by using the From: line in the commit message) and of course add your signed-off-by. > >=20 > > Regards, > >=20 > > On 08/11/13 07:50, Jaeyong Yoo wrote: > > > Note: Resend the patch series since the last one was white-space > > > corrupted. > > >=20 > > > Hello! > > > here goes the v5 patch series. The major changes in this version are = the > > > following: > > >=20 > > > 1) Save and restore the vcpu-related registers in hvm context. (In > > > patch 1) > > >=20 > > > 2) Rather than using set_memory_map hypercall use GUEST_RAM_BASE m= acro > > > as the start > > > of physical address of guest RAM and just let the hypervisor kn= ow > > > the > > > maximum memory of guest (In patch 2 and 6) > > >=20 > > > 3) Use bitmap for temporary saving the dirty pages rather than lin= ked > > > list. > > > (In patch 5) > > >=20 > > >=20 > > > Patch 1 implements hvm save/restore (including vcpu). > > >=20 > > > Patch 2 implements 'get_maximum_gpfn' hypercall > > >=20 > > > Patch 3 implements 'modify_returncode' for switching the return value= of > > > suspend hypercall from domU. > > >=20 > > > Patch 4 implements base functions for VLPT. > > >=20 > > > Patch 5 implements dirty-page tracing by using VLPT. > > >=20 > > > Patch 6 implements the toolstack part for live migration of ARM. > > >=20 > > > NOTE: In this version, I do not use the p2m walker infrastructure for > > > p2m_change_entry_type_global. > > > I think I can apply it after Stefano=E2=80=99s patch is commited. > > >=20 > > > Best, > > > Jaeyong > > >=20 > > >=20 > > > Alexey Sokolov (2): > > > xen/arm: Implement modify_returncode > > > xen/arm: Implement toolstack for xl restore/save and migrate > > >=20 > > > Evgeny Fedotov (2): > > > xen/arm: Implement hvm save and restore > > > xen/arm: Implement get_maximum_gpfn hypercall for arm > > >=20 > > > Jaeyong Yoo (2): > > > xen/arm: Implement virtual-linear page table for guest p2m mapping= in > > > live migration > > > xen/arm: Implement hypercall for dirty page tracing > > >=20 > > > config/arm32.mk | 1 + > > > tools/libxc/Makefile | 6 +- > > > tools/libxc/xc_arm_migrate.c | 712 > > > +++++++++++++++++++++++++++++++++ > > > tools/libxc/xc_dom_arm.c | 4 +- > > > tools/libxc/xc_resume.c | 25 ++ > > > tools/misc/Makefile | 4 +- > > > xen/arch/arm/Makefile | 1 + > > > xen/arch/arm/domain.c | 19 + > > > xen/arch/arm/domctl.c | 98 ++++- > > > xen/arch/arm/hvm.c | 464 ++++++++++++++++++++- > > > xen/arch/arm/mm.c | 237 ++++++++++- > > > xen/arch/arm/p2m.c | 206 ++++++++++ > > > xen/arch/arm/save.c | 66 +++ > > > xen/arch/arm/traps.c | 9 + > > > xen/common/Makefile | 2 + > > > xen/include/asm-arm/arm32/page.h | 41 +- > > > xen/include/asm-arm/config.h | 5 + > > > xen/include/asm-arm/domain.h | 14 + > > > xen/include/asm-arm/hvm/support.h | 29 ++ > > > xen/include/asm-arm/mm.h | 24 ++ > > > xen/include/asm-arm/p2m.h | 4 + > > > xen/include/asm-arm/processor.h | 2 + > > > xen/include/public/arch-arm/hvm/save.h | 130 ++++++ > > > 23 files changed, 2084 insertions(+), 19 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 > > >=20 > >=20 >=20 --1342847746-1377823461-1396452090=:1923 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --1342847746-1377823461-1396452090=:1923--