From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles Coffing" Subject: Re: Control tools work Date: Tue, 31 May 2005 15:29:45 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: christian.limpach@gmail.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Christian, I've done a pull and now see the functionality in XendCheckpoint.py; = thanks for the heads-up. But how do you see things outside of xm & xend accessing this functionality= ? In particular, I'm thinking of a CIMOM provider written in C++. = Forking/exec-ing an "xm migrate" command is less than ideal, for several = reasons (progress reporting, error reporting without having to grok text, = overhead on a busy server, ...) In my ideal world, this level of = functionality would be in C or C++ libraries, so you can put whatever you = want on top of it, be it Python commands or C++ CIMOM code or anything = else. I don't necessarily want to revive the old Python debate, but this does = complicate things. Thanks, Charles >>>christian.limpach@gmail.com 05/31/05 3:07 pm >>>=20 On 5/31/05, Charles Coffing wrote:=20 =20 >1.=C2=A0 Providing a higher-level consistent API for domain actions=20 >(create, save, migrate, restore, pause, etc).=20 =20 I'm no longer convinced there is a much higher API to have.=C2=A0 = Except=20 for create and migrate, all the actions you list are already single=20 functions in libxc, migrate is save | restore.=C2=A0 It might be useful = to=20 group several functions together for create, but it's not quite clear=20 how/where device configuration fits in there.=20 =20 >I'm refactoring / rewriting / writing code in xutil, libxc, and xfrd=20 >(although it wouldn't be hard to slip libxen in there instead of libxc=20 >if that is the ultimate direction).=C2=A0 I hope to have something to = show=20 >in a week or two.=20 =20 Please note that xfrd does no longer exist in -unstable.=C2=A0 Also we=20 don't use libxutil anymore.=20 Xend handles the first half of a relocation itself and then runs the=20 xc_save or xc_restore helper programs to do the second part. During=20 the first part of a relocation, the xend domain configuration is=20 exchanged and the format of this part is specific to xend.=C2=A0 The=20 xc_save and xc_restore helpers are merely wrappers for the=20 xc_linux_save and xc_linux_restore functions and use pipes to=20 communicate with xend and write/read the virtual machine image to/from=20 a file handle or socket.=20 =20 =C2=A0=C2=A0=C2=A0christian=20 =20 =20 Xen-devel mailing list=20 Xen-devel@lists.xensource.com=20 http://lists.xensource.com/xen-devel=20