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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Fri, 13 Jul 2012 11:28:16 +0200
  • Cc: george.dunlap@xxxxxxxxxxxxx
  • Delivery-date: Fri, 13 Jul 2012 09:36:30 +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=udk4riWLPT7rQMq3U91EGmWHMYWFmRdMEgQCXlCnQ0ASAF4YV/Lcopxs GQfXWgYXLy3SR5ExGo9w9JJCJs9DpuTaxbyPMWYiurfo7FqnuZIkyGtiO 5k9sGs2f7aVRN79T/Ck7o0LfwTgWGmEnlxfnCrWCqIxEpwpJYMqo17rO1 FqHZiLhQyRNGA52nCIgx0Eo44XZpqYSSzkK3XMp3XczOzIuus06rhYYeA 3q7HUw0/5qU43Zv2rpk39I21qLnAJ;
  • 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
allocated.

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, 79 insertions(+), 62 deletions(-)
tools/libxc/xc_domain_restore.c |   35 +++++++------
tools/libxc/xc_domain_save.c    |  105 +++++++++++++++++++++------------------
xen/include/public/domctl.h     |    1 


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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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