[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 3 of 4] tools: Introduce "allocate-only" page type for migration

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Fri, 13 Jul 2012 11:21:19 +0200
  • Cc: george.dunlap@xxxxxxxxxxxxx
  • Delivery-date: Fri, 13 Jul 2012 09:31:51 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:In-Reply-To:Date:From:To:Cc; b=bzfedyRIfG55wIi/90ixbhx1TKPAhoai09jiPYqKTl7twczi90nEMh8y 5cja+d5/4Nrvm27M7ksKozUHC9gE7O7U3d8m3CPmQItGxTkkE8oqI/HJe Qh1befAugftb2ndmfC3gv4lTds/gjmAcuVvTswzWFxdy+6AGb7odNCgCD lE/7TZnrEXHZyh1Dd6XXQ0NcWi3KheJzB/gXVD7emCrsEItyvxWG7FWFY eJ1aYcVPl8rCPGxpH39QbGaT+39sB;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

To detect presence of superpages on the receiver side, we need
to have strings of sequential pfns sent across on the first iteration
through the memory.  However, as we go through the memory, more and
more of it will be marked dirty, making it wasteful to send those pages.

This patch introduces a new PFINFO type, "XALLOC".  Like PFINFO_XTAB, it
indicates that there is no corresponding page present in the subsquent
page buffer.  However, unlike PFINFO_XTAB, it contains a pfn which should be

This new type is only used for migration; but it's placed in
xen/public/domctl.h so that the value isn't reused.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

3 files changed, 33 insertions(+), 22 deletions(-)
tools/libxc/xc_domain_restore.c |   35 +++++++++++++++++++----------------
tools/libxc/xc_domain_save.c    |   19 +++++++++++++------
xen/include/public/domctl.h     |    1 +

Attachment: xen-4.1-testing.hg-4.patch
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.