|
|
|
|
|
|
|
|
|
|
xci-devel
Re: [Xci-devel] Which API for VM lifecycle?
Andreas Sommer wrote:
I'm currently trying to find out the basic structure of XCI and would
like to know which APIs are available (in general), and which of them
can be used for simple lifecycle tasks like:
- Creating, starting, shutting down, ... VMs
- List running VMs
xenvm is the main thing you should look at. it's a single VM daemon
that control the lifecycle of the VM. it supports all sorts of methods
(available conveniently through xenvm-cmd, on dbus and/or a unix
socket), to start/shutdown/suspend/etc..
I'll suggest having a look at the xenvm.readme file for more description
on how to use it.
From a more low-level point of view, you have the xenops binary that
have lots of sub command; the only really useful is xenops list, but you
should be able to chain multiple xenops command (create, build, add_vbd,
.. ) to create a fully working VM with a shell script too. xenops help
and xenops <subcmd> -h will get you already quite far.
--
Vincent
_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
|
|
|
|
|