Daniel Veillard [Wed, 15 Mar 2006 12:13:25 +0000 (12:13 +0000)]
* src/hash.c src/hash.h src/internal.h src/libvirt.c src/sexpr.c
src/sexpr.h src/virsh.c src/virterror.c src/xen_internal.c
src/xen_internal.h src/xend_internal.c src/xend_internal.h
src/xml.c src/xml.h: applied cb/indent to homogenize the source
style, as a first pass.
Daniel
Daniel Veillard [Tue, 28 Feb 2006 12:17:00 +0000 (12:17 +0000)]
* TODO: updated
* python/Makefile.am python/generator.py python/libvir.c
python/libvir.py: improved python binding, raise exception
when an instance creation or lookup fails, and add support
for the global error handler, per conn handler still needed
* python/tests/error.py python/tests/Makefile.am: adding a
regression test
Daniel
Daniel Veillard [Mon, 27 Feb 2006 22:32:54 +0000 (22:32 +0000)]
* TODO: updated, and added python hooks for error handling
* include/virterror.h src/virterror.c src/xml.c: error interception
and reporting should be done.
Daniel
Daniel Veillard [Mon, 27 Feb 2006 21:34:28 +0000 (21:34 +0000)]
* include/virterror.h src/libvirt_sym.version: exported
virDefaultErrorFunc()
* src/sexpr.c src/xen_internal.c src/virterror.c include/virterror.h:
adding more error reporting though the code, nearly complete.
* src/sexpr.c: added specific error function to avoid an error report.
Daniel
Daniel Veillard [Mon, 27 Feb 2006 16:27:18 +0000 (16:27 +0000)]
* TODO: updated
* include/virterror.h src/internal.h src/libvirt.c src/virterror.c
src/xend_internal.c: commiting a first pass at adding error handling
in the code, not finished, but it starts to work, need more coverage
and testing.
Daniel
Daniel Veillard [Fri, 24 Feb 2006 22:36:10 +0000 (22:36 +0000)]
* src/Makefile.am src/internal.h src/libvirt.c src/libvirt_sym.version
src/virterror.c include/Makefile.am include/virterror.h: adding
the public APIs for errors, callbacks and synchronous. The boring
stuff is still left to do, plugging it. Also need to be exposed
at the python level.
* doc//*: rebuilt
Daniel
Daniel Veillard [Fri, 24 Feb 2006 12:26:56 +0000 (12:26 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
UUID strings can contain zeroes, so the autogenerated conversion
functions don't work.
Daniel
Daniel Veillard [Thu, 23 Feb 2006 11:26:17 +0000 (11:26 +0000)]
* src/libvirt.c: fixing a bug before the release of 0.0.5
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
also fixing the binding for getting a domain UUID
* python/tests/Makefile.am python/tests/uuid.py: added a test
for the new UUID API
Daniel
Daniel Veillard [Thu, 23 Feb 2006 10:13:55 +0000 (10:13 +0000)]
* include/libvirt.h[.in] src/libvirt.c src/xend_internal.[ch]
src/libvirt_sym.version: added virDomainLookupByUUID and
virDomainGetUUID to be able to use the persistant UUID names
* docs//*: rebuilt the docs following the API extension
Daniel
Daniel Veillard [Tue, 21 Feb 2006 14:15:32 +0000 (14:15 +0000)]
* Makefile.am: extended make tests to run those in docs/examples
* docs/examples/suspend.c docs/examples/*: added an example of
suspend/resume and regenerated
Daniel
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