From: "James Song" Subject: Re:where is tools\xcutils\xc_save used? Date: Tue, 04 Nov 2008 19:38:55 -0700 Message-ID: <4911A1D00200002000006AF6@lucius.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2136008206==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: fly.limin@gmail.com, Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --===============2136008206== Content-Type: multipart/alternative; boundary="=__Part18304D2F.1__=" This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part18304D2F.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I want to add some parameters when vm is migrated. As I can see , vmm = will >use xc_domain_save(tools\libxc\Xc_domain_save.c) function ,and the main >function of xc_save.c is responsible for inputting parameters. >so I just want to know which function will use this executable file. Pls see this file xen/xend/XendCheckpoint.py " cmd =3D [xen.util.auxbin.pathTo(XC_SAVE), str(fd), str(dominfo.getDomid()), "0", "0", str(int(live) | (int(hvm) << 2)) ] log.debug("[xc_save]: %s", string.join(cmd))" -- Song Wei Thanks, -- James --=__Part18304D2F.1__= Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I want to add some parameters when vm is migrated. = As I can see , vmm will
>use xc_domain_save(tools\libxc\Xc_domain_sav= e.c) function ,and the main
>function of xc_save.c is responsible = for inputting parameters.
>so I just want to know which function = will use this executable file.

Pls see this file  xen/xend/Xend= Checkpoint.py
" cmd =3D [xen.util.auxbin.pathTo(XC_SAVE), str(fd),
&n= bsp;            = ;  str(dominfo.getDomid()), "0", "0",
     = ;          str(int(live) | = (int(hvm) << 2)) ]
        = log.debug("[xc_save]: %s", string.join(cmd))"

-- Song Wei

Thanks, -- James

--=__Part18304D2F.1__=-- --===============2136008206== 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.xensource.com http://lists.xensource.com/xen-devel --===============2136008206==--