From: =?GB2312?B?wfXD+g==?= Subject: a problem about xm migrate Date: Sun, 19 Apr 2009 15:44:11 +0800 Message-ID: <7bc57a3c0904190044h3f5fc8e8w25b36be14eb7eef1@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0641348164==" 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0641348164== Content-Type: multipart/alternative; boundary=000e0cd311a260a6ed0467e39464 --000e0cd311a260a6ed0467e39464 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have a big obsession about the execution process of command "xm migrate" in xen. I analyze this command in xen-3.1.0. And I want to add a parameter in function: server.xend.domain.migrate(dom, dst, opts.vals.live, opts.vals.resource, opts.vals.port) Or rewrite another function like: server.xend.domain.migrate(dom, dst, opts.vals.block, opts.vals.resource, opts.vals.port) Then we'll have a command like this 'xm migrate -b DomUID IP'. But I don't know how the parameters are parsed. For example, the function above, where it jumps to. Would you tell me the process in details? Thank you very much. Best wishes for you. --000e0cd311a260a6ed0467e39464 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have a big obsession about the execution process of command "xm migr= ate" in
xen.
I analyze this command in xen-3.1.0. And I want to= add a parameter in function:
server.xend.domain.migrate(
dom, dst, opts.vals.live,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 opts.vals.resource,
=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 opts.vals.port)
Or rewrite another function like:
server.xend.dom= ain.migrate(dom, dst, opts.vals.block,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 opts.= vals.resource,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 opts.vals.port)
Then we'll have a comman= d like this 'xm migrate -b DomUID IP'. But I don't
know how=
the parameters are parsed. For example, the function above, where=A0 i= t jumps to.
Would you tell me the process in details?
Thank you very much.
Best = wishes for you.
--000e0cd311a260a6ed0467e39464-- --===============0641348164== 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 --===============0641348164==--