Daniel Veillard [Tue, 21 Feb 2006 13:23:16 +0000 (13:23 +0000)]
* TODO: updated
* python/tests/Makefile.am: fix a small PYTHONPATH bug
* docs//*: fixed the xsl a bit for toc names, added doc for
the python bindings, regenerated
Daniel
Daniel Veillard [Mon, 20 Feb 2006 23:08:47 +0000 (23:08 +0000)]
* src/libvirt.c src/xend_internal.c src/xend_internal.h: move the
XML dump function around to make sure all entry points are centralized
in libvirt.c and also avoid doc generation troubles.
* docs/examples/Makefile.am docs/examples/index.py: fix the makefile
a bit.
* TODO: updated
* docs/format.html: added a description of the XML used for the
domains.
* docs//*: rebuilt
Daniel
Daniel Veillard [Mon, 20 Feb 2006 20:50:48 +0000 (20:50 +0000)]
* docs/examples/examples.xsl docs/examples/index.html
docs/site.xsl: integates the examples page in the web site
* docs//* : fixed generator and rebuilt the docs
* python/tests/basic.py python/tests/create.py: couple cleanups
Daniel
Daniel Veillard [Mon, 20 Feb 2006 17:22:16 +0000 (17:22 +0000)]
* TODO: updated
* include/libvirt.h include/libvirt.h.in: cleanup
* src/libvirt.c: remove debugging output
* src/xend_internal.c src/xml.c src/xml.h: reimplement
virDomainGetXMLDesc() based on xend interface, now work as user too.
Daniel
Daniel Veillard [Fri, 17 Feb 2006 13:18:57 +0000 (13:18 +0000)]
* python/tests/create.py: trying to make test more generic, but it's
difficult since it requires a system image
* src/libvirt.c src/xend_internal.c: fixed the shutdown API which
was broken due to a bad reason at the xend level.
Daniel
Daniel Veillard [Thu, 16 Feb 2006 22:50:52 +0000 (22:50 +0000)]
* configure.in src/Makefile.am: adding dependency to libxml2
* include/libvirt.h* src/libvirt.c src/xend_internal.[ch]
src/xml.[ch]: added XML parsing for Xen domain descriptions
needed for creates, plugged in a converter to s-exp and
xend call. Modified the virDomainCreateLinux() to reflect
that XML based description. Seems to work.
* python/tests/create.py: added a test case which seems to work
not tested much yet
* docs/*: regenerated
Daniel
Daniel Veillard [Tue, 14 Feb 2006 14:30:42 +0000 (14:30 +0000)]
* Makefile.am configure.in python/Makefile.am python/tests/Makefile.am
python/tests/basic.py: added first python test script and
a 'make tests' target
Daniel
Daniel Veillard [Fri, 20 Jan 2006 10:00:08 +0000 (10:00 +0000)]
* include/libvir.h include/libvir.h.in src/libvir.c: revamped the
restore API (though it would be better if it was returning
a domain pointer in case of success)
* src/virsh.c: added save and restore to the commands, tested,
the option handling need work though
Daniel
Daniel Veillard [Thu, 19 Jan 2006 10:23:15 +0000 (10:23 +0000)]
* src/libvir.c src/xend_internal.c src/xend_internal.h: continue
the integration of more xend based accesses, virsh seems to work
without accessing the xen store now.
Daniel
Daniel Veillard [Wed, 18 Jan 2006 10:37:08 +0000 (10:37 +0000)]
* include/libvir.h include/libvir.h.in src/libvir.c: more integration
of libxend capabilities, including checkpointing and restoring
in a file.
* docs//*: regenerated the docs
Daniel
Daniel Veillard [Tue, 17 Jan 2006 16:56:17 +0000 (16:56 +0000)]
* include/libvir.h[.in]: added VIR_DOMAIN_CRASHED status, small
doc fix
* src/virsh.c: fix a integer being formatted as %s in idof
* src/internal.h src/libvir.c src/xend_internal.[ch]: started to
integrated the xend back-end, especially for getting informations
about a domain.
Daniel
Daniel Veillard [Fri, 13 Jan 2006 16:41:01 +0000 (16:41 +0000)]
* include/libvir.h.in include/libvir.h src/internal.h src/libvir.c
src/xend_internal.c src/xend_internal.h: starting to plug the
xend code in, replacing structures mostly, but not finished.
Daniel
Daniel Veillard [Thu, 12 Jan 2006 15:38:07 +0000 (15:38 +0000)]
* src/Makefile.am src/xend_internal.c src/xend_internal.h:
added more of Anthony Liquori libxend code, commented and reformatted
this still need to be plugged, it's still dead code ATM.
Daniel
Daniel Veillard [Wed, 11 Jan 2006 13:58:32 +0000 (13:58 +0000)]
* docs/libvir.html: grammatical fix
* src/Makefile.am src/sexpr.c src/sexpr.h: starting to integrate
Anthony Liquori libxend code
* src/libvir.c: fix an uninitialized value
Daniel
Daniel Veillard [Mon, 19 Dec 2005 16:34:11 +0000 (16:34 +0000)]
* Makefile.am configure.in libvir.spec.in python/*: added a first
version for python bindings, heavilly based on libxml2/libxslt
way of doing things, maybe this need to be revisited. Added packaging
too.
* src/hash.h: fixed the Copyright notice.
Daniel
Daniel Veillard [Fri, 16 Dec 2005 12:16:41 +0000 (12:16 +0000)]
* include/libvir.h include/libvir.h.in src/internal.h src/libvir.c:
adding the virDomainShutdown() API
* src/virsh.c: adding a shutdown command
* docs/*: regenerated
Daniel
Daniel Veillard [Tue, 13 Dec 2005 16:22:05 +0000 (16:22 +0000)]
* include/libvir.h src/Makefile.am src/internal.h src/libvir.c
src/libvir_sym.version src/virsh.c src/xml.c: started working on
the XML dump, added a dumpxml virsh version and a bit of
infrastructure code. Found a way to detect dead ID from xenstore
data.
Daniel
Daniel Veillard [Thu, 8 Dec 2005 15:08:46 +0000 (15:08 +0000)]
* configure.in include/libvir.h.in include/libvir.h src/Makefile.am
include/Makefile.am: provide/fix library versionning information
include/libvir.h is now generated !
* include/libvir.h.in src/libvir.c: revamp APIs and implement
complete ones.
* src/virsh.c: finish the version command and a bit of cleanup.
Daniel
Daniel Veillard [Thu, 8 Dec 2005 13:26:52 +0000 (13:26 +0000)]
* configure.in: activate pedantic flags
* src/libvir.c src/libvir_sym.version src/xen_internal.[ch]
include/libvir.h: implementing hypervisor Version and Type interfaces
* src/virsh.c: adding a version command, WIP
Daniel
Daniel Veillard [Wed, 7 Dec 2005 13:45:20 +0000 (13:45 +0000)]
* configure.in libvir.spec.in docs/Makefile.am: make sure the
docs are installed and packaged in the -devel RPM
* docs/api.xsl docs/newapi.xsl: forgot to commit API HTML stylesheets
Daniel
Daniel Veillard [Wed, 7 Dec 2005 09:33:00 +0000 (09:33 +0000)]
* configure.in docs/FAQ.html docs/Libxml2-Logo-90x34.gif
docs/Makefile.am docs/bugs.html docs/index.html docs/intro.html
docs/libvir.html docs/redhat.gif docs/site.xsl: starting to add
the web site, based on libxml2 one.
* src/hash.c: add a missing include
Daniel
Daniel Veillard [Tue, 6 Dec 2005 16:50:31 +0000 (16:50 +0000)]
* docs/Makefile.am docs/apibuild.py docs/libvir-api.xml
docs/libvir-refs.xml: fix XML API generation
* include/libvir.h src/libvir.c src/virsh.c: fix the info memory
API again, use KB, not bytes so that an unsigned long is sufficient.
Daniel
Daniel Veillard [Tue, 6 Dec 2005 13:47:40 +0000 (13:47 +0000)]
* include/libvir.h src/libvir.c src/virsh.c: tweaking of the
GetInfo() API, returns bytes and nanoseconds, try to fix
the scales, but time on unpriviledged interfaces doesn't work.
Daniel
Daniel Veillard [Mon, 5 Dec 2005 18:14:37 +0000 (18:14 +0000)]
* include/libvir.h src/libvir.c src/libvir_sym.version src/virsh.c:
first pass at trying to implement virDomainGetInfo() quite a bit
of work left to do.
Daniel
Daniel Veillard [Fri, 2 Dec 2005 14:16:21 +0000 (14:16 +0000)]
* include/libxen.h src/libxen.c src/libxen_sym.version: adding
xenConnectListDomains() to list active domains
* src/xensh.c: integrated a basic test for xenConnectListDomains()
Daniel
Daniel Veillard [Thu, 1 Dec 2005 17:34:21 +0000 (17:34 +0000)]
* Makefile.am configure.in docs/apibuild.py docs/libxen-api.xml
docs/libxen-refs.xml docs/structures.fig: starting to add docs
and the extraction tool
* src/libxen.c: fixed comments error raised by apibuild
Daniel
Daniel Veillard [Thu, 1 Dec 2005 16:35:42 +0000 (16:35 +0000)]
* include/libxen.h src/libxen.c src/libxen_sym.version: add read-only
connections for normal users (but need /var/run/xenstored/socket_ro
to be chmoded to 666)
* src/xensh.c: if not root use the RO access
Daniel