Daniel Veillard [Fri, 10 Nov 2006 11:13:01 +0000 (11:13 +0000)]
* src/xend_internal.c src/xml.c: add an extra element currentMemory
to the XML description and handle its serialization back and
forth between XML and S-Expr
* tests/sexpr2xmltest.c tests/xml2sexprtest.c
tests/sexpr2xmldata/sexpr2xml-curmem.*
tests/xml2sexprdata/xml2sexpr-curmem.*: added specific regression
tests for this, this didn't disturb any of the other tests.
Daniel
Daniel Veillard [Thu, 9 Nov 2006 15:32:44 +0000 (15:32 +0000)]
* python/generator.py: changed the generator to generate a reference
from Domain class instances to the Connect they were issued from
should fix rhbz#204490
* docs//*: rebuilt
Daniel
Daniel Veillard [Wed, 8 Nov 2006 16:55:20 +0000 (16:55 +0000)]
* include/libvirt/virterror.h src/virterror.c src/xend_internal.c
src/xml.c: give proper indication of the failures raised by the
XML parser on not well formed XML, should fix rhbz#208545
Daniel
Daniel Veillard [Wed, 8 Nov 2006 13:53:29 +0000 (13:53 +0000)]
* src/libvirt.c src/proxy_internal.c src/xs_internal.c: fix the
patch for rhbz#214264 in the case of Domain 0 on Xen and push the
defaulting to "linux" down to the xen specific parts.
Daniel
Daniel Veillard [Tue, 7 Nov 2006 16:28:16 +0000 (16:28 +0000)]
* libvirt.spec.in: libvirt-devel depends on pkgconfig
* proxy/libvirt_proxy.c src/libvirt.c src/proxy_internal.[ch]
src/xs_internal.[ch]: the virtGetOsType entry point was calling
the xenstore directly instead of going though driver, refactored
and implemented a specific new RPC with the proxy when this is
called as non-root fixes rhbz#214264 .
Daniel
Daniel Veillard [Tue, 31 Oct 2006 10:25:13 +0000 (10:25 +0000)]
* src/xend_internal.c: when getting informations about a non
existant domain, it is not a good idea to raise the HTTP
404 GET error, the handling is better done somewhere up in
the stack.
Daniel
Daniel Veillard [Mon, 16 Oct 2006 16:04:55 +0000 (16:04 +0000)]
* config.h.in configure.in libvirt.spec.in docs/libvir.html
docs/news.html include/libvirt/libvirt.h: preparing release of
libvirt-0.1.8
* src/xen_internal.c: fixed a compilation problem
Daniel
Daniel Veillard [Fri, 29 Sep 2006 12:00:58 +0000 (12:00 +0000)]
* docs/bugs.html docs/libvir.html: added pointers on how to report
bugs in bugzilla as suggested by markmc
* src/xend_internal.c: first step for #208545 raise an error at the
libvirt level
Daniel
Daniel Veillard [Thu, 21 Sep 2006 09:15:33 +0000 (09:15 +0000)]
* src/Makefile.am: add a tst target to ease building test progs
* src/xend_internal.c: fix the reconnection problem to xend pointed
by Philippe Berthault
* tests/Makefile.am tests/reconnect.c: add a specific test case
Daniel
Daniel Veillard [Sat, 2 Sep 2006 21:23:14 +0000 (21:23 +0000)]
* src/xen_internal.c: converting to handle the new incompatible
hypercalls while still able to detect older versions, lot of
work, seems okay, there is just one function not yet converted
* src/xs_internal.c: dropping virConnectCheckStoreID()
Daniel
Daniel Veillard [Tue, 29 Aug 2006 22:27:07 +0000 (22:27 +0000)]
* TODO libvirt.spec.in: update
* configure.in include/libvirt/virterror.h src/Makefile.am
src/conf.c src/conf.h src/virterror.c src/xen_internal.c:
adding a subset of Xen config file parser, and serializer
* tests/Makefile.am tests/conftest.c tests/test_conf.sh
tests/confdata/Makefile.am tests/confdata/fc4.conf
tests/confdata/fc4.out: adding test program for config in and out
Daniel
Daniel Veillard [Wed, 16 Aug 2006 17:58:23 +0000 (17:58 +0000)]
* NEWS configure.in doc//* include/libvirt/libvirt.h
include/libvirt/libvirt.h.in: preparing release of 0.1.4,
regenerated docs, fixed a few things
* src/proxy_internal.c src/test.c src/xend_internal.c:
a few trivial fixes
Daniel
Daniel Veillard [Wed, 16 Aug 2006 16:14:53 +0000 (16:14 +0000)]
* include/libvirt/virterror.h src/libvirt.c src/virterror.c: enforce
blocking operations with side effect on read-only connections. Adds
a new error code and message.
Daniel
Daniel Veillard [Thu, 10 Aug 2006 14:26:35 +0000 (14:26 +0000)]
* src/xml.c: markmc pointed out that using number(xpath) could lead
to NaN and following comparison would be wrong in a couple of places
if the element looked at was missing.
Daniel
Daniel Veillard [Tue, 8 Aug 2006 22:22:55 +0000 (22:22 +0000)]
* src/driver.h src/libvirt.c src/proxy_internal.c src/test.c
src/xen_internal.c src/xend_internal.c src/xend_internal.h
src/xml.c src/xs_internal.c: cleanups, force the new vCPU
and affinity entry point to go though the driver framework,
and fix a few warning showing up in my pedantic environment.
Daniel
Daniel Veillard [Fri, 4 Aug 2006 13:36:07 +0000 (13:36 +0000)]
* python/generator.py: fix the generator when handling long integers
Dan Berrange reported problems due to this when using
virDomainSetMemory bindings
Daniel
Daniel Veillard [Fri, 4 Aug 2006 10:41:05 +0000 (10:41 +0000)]
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
src/libvirt.c src/libvirt_sym.version src/xen_internal.c
src/xen_internal.h src/xend_internal.c src/xend_internal.h:
applied patch from Michel Ponceau and Philippe Berthault for
virtual CPU and affinity support plus a bit of cleanup.
Daniel
Daniel Veillard [Fri, 28 Jul 2006 15:10:18 +0000 (15:10 +0000)]
* src/virterror.c: Hugh Brock pointed out that error message
for bad argument were wrong and incomplete, this should fix it and
a few other problems in error reporting
Daniel
Daniel Veillard [Thu, 20 Jul 2006 13:59:23 +0000 (13:59 +0000)]
* proxy/Makefile.am src/xen_internal.c src/xend_internal.c: cleanup
code when compiled for the proxy, changed the command line macro and
remove warnings.
Daniel
Daniel Veillard [Tue, 11 Jul 2006 16:57:03 +0000 (16:57 +0000)]
* configure.in libvirt.spec.in docs/* NEWS: preparing release of
libvirt-0.1.3
* src/xend_internal.c: uninitialized var and disable TCP slow start
Daniel