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. Thanks Min Li School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology and System Lab Huazhong University of Science and Technology Wuhan, 430074, China Tel: 13986251431 027-65236831 Email: fly.limin@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christopher Head
2008-Nov-04 02:48 UTC
Re: [Xen-devel] where is tools\xcutils\xc_save used?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, xc_save is invoked from tools/python/xen/xend/XendCheckpoint.py. Chris 李敏 wrote:> 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. > > Thanks > Min Li-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: GnuPT 2.7.2 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkPt/kACgkQiD2svb/jCb4wXACcCCTIcx9s0zaqgGwGF6s/CQ1v IpsAoJgJaAUsZUGqVgDN2fSXdQg6CWkS =yPBU -----END PGP SIGNATURE----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> 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 = [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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Reasonably Related Threads
- [PATCH 0 of 3] Support for VM generation ID save/restore and migrate
- [PATCH 0 of 4] Support for VM generation ID save/restore and migrate
- [PATCH 0 of 2] Support for VM generation ID save/restore and migrate
- [PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
- [PATCH] Janitorial work on xc_save.c