All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Limpach <christian.limpach@gmail.com>
To: Charles Coffing <ccoffing@novell.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Control tools work
Date: Wed, 1 Jun 2005 01:15:51 +0100	[thread overview]
Message-ID: <3d8eece205053117153913aa90@mail.gmail.com> (raw)
In-Reply-To: <s29c82f6.030@sinclair.provo.novell.com>

On 5/31/05, Charles Coffing <ccoffing@novell.com> wrote:
> 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.

Well, the non-xend specific code needed to do a relocation is in
libxc[1] and I believe IBM's vm-tools also use this code.  This code
only saves/restores the low-level virtual machine image, it doesn't
even know about checkpointing/relocation, i.e. how the data gets on or
off the disk or to a different machine or how to configure the devices
needed by the virtual machine on the machine where the virtual machine
is restored.  All this configuration management and setup work needs
to be done by a tool like xend or a toolset like vm-tools.

xend currently handles storage and management of configuration
information and configuration of devices according to this information
and on top provides a client/server interface to control it all[2]. 
In a next step, we're going to move the storage and configuration
parts into what we call 'xenstore'.  With xenstore it will be even
easier to write simple command line tools or interface from C or C++
libraries, all the gory details of device setup will be hidden.  We
hope that with this seperation xend will be reduced to an even more
reasonable size and that there won't be a need for alternate toolsets,
or that these would at least use xenstore.

    christian

[1] I think I'll make the control pipe and error/progress reporting
filehandles function call arguments to make it easier to use
xc_linux_{save,restore} when you link libxc into your application. 
Although I really think you want to run these in a seperate process to
isolate them from your main application.  If there's real demand we
could bring back something like ioctxt to give you callbacks for
control/error/progress.
[2] and juggling around console data.

       reply	other threads:[~2005-06-01  0:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s29c82f6.030@sinclair.provo.novell.com>
2005-06-01  0:15 ` Christian Limpach [this message]
     [not found] <s29d6a51.010@sinclair.provo.novell.com>
2005-06-01 20:13 ` Control tools work Christian Limpach
2005-06-01 13:56 Charles Coffing
  -- strict thread matches above, loose matches on Subject: below --
2005-05-31 21:29 Charles Coffing
2005-05-31 21:48 ` Daniel Stekloff
2005-05-31 22:25 ` Steven Hand
2005-06-01  0:25   ` Christian Limpach
2005-06-03  1:01 ` Anthony Liguori
2005-05-31 17:57 Charles Coffing
2005-05-31 21:07 ` Christian Limpach
2005-05-31 23:33 ` Jacob Gorm Hansen
2005-06-01 10:28   ` Grzegorz Milos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d8eece205053117153913aa90@mail.gmail.com \
    --to=christian.limpach@gmail.com \
    --cc=Christian.Limpach@cl.cam.ac.uk \
    --cc=ccoffing@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.