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
Daniel Veillard [Thu, 6 Jul 2006 09:29:34 +0000 (09:29 +0000)]
* src/xend_internal.c: fixed xenDaemonOpen() to try both unix and
http accesses by default and to use the provided URI otherwise,
applied Jim Fehlig patch working around xend connection close bug
* autogen.sh: fixed package name
Daniel
Daniel Veillard [Tue, 4 Jul 2006 12:46:14 +0000 (12:46 +0000)]
* libvirt.spec.in proxy/Makefile.am: do the chown at the rpm packaging
level, to allow build as non-root
* src/xml.c: fix bug #197583 raised by markmc
Daniel
Daniel Veillard [Mon, 3 Jul 2006 15:48:49 +0000 (15:48 +0000)]
* NEWS docs/* configure.in libvirt.spec.in include/libvirt/libvirt.h:
preparing release of 0.1.2
* src/proxy_internal.c: don't warn on open if using http and not the
proxy.
Daniel
Daniel Veillard [Mon, 3 Jul 2006 13:45:55 +0000 (13:45 +0000)]
* libvirt.spec.in proxy/Makefile.am src/proxy_internal.c
src/xen_internal.c: fixing the proxy installation, integrate in
the spec file and fix a few bugs in the proxy, seems to behave
correctly now.
* docs/apibuild.py docs/*: fixing the doc and API generator
Daniel
Daniel Veillard [Fri, 30 Jun 2006 16:23:16 +0000 (16:23 +0000)]
* proxy/libvirt_proxy.c src/proxy_internal.c: more bug fixes,
virsh starts to work normally over the proxy. Still one entry
point missing but it's minor.
Daniel
Daniel Veillard [Thu, 29 Jun 2006 23:53:31 +0000 (23:53 +0000)]
* proxy/libvirt_proxy.c src/proxy_internal.c src/xen_internal.c
src/xen_internal.h src/xend_internal.c src/xend_internal.h:
implemented id based lookup and other cleanups, virsh starts to
work, but still some TODOs
Daniel
Daniel Veillard [Thu, 29 Jun 2006 22:12:47 +0000 (22:12 +0000)]
* src/proxy_internal.c src/proxy_internal.h src/driver.h src/libvirt.c
src/Makefile.am: moved proxy/proxy.h and proxy/proxy_client.c as
proxy_internal.[ch] and integrated them as a new driver.
* proxy/Makefile.am proxy/libvirt_proxy.c src/xen_internal.c
src/xen_internal.h src/xend_internal.c: various related cleanups.
Daniel
Daniel Veillard [Thu, 29 Jun 2006 14:44:37 +0000 (14:44 +0000)]
* proxy/libvirt_proxy.c proxy/proxy.h proxy/proxy_client.c: more
progresses on the proxy implementation.
* src/xend_internal.c src/xend_internal.h: exported one routine
Daniel
Daniel Veillard [Wed, 28 Jun 2006 18:19:13 +0000 (18:19 +0000)]
* configure.in Makefile.am proxy/Makefile.am proxy/libvirt_proxy.c
proxy/proxy.h proxy/proxy_client.c src/internal.h src/xen_internal.c
src/xend_internal.c: started working on a proxy to access xend
for unpriviledged users to avoid opening xend HTTP service to
serve those read-only operations.
Daniel
Daniel Veillard [Mon, 26 Jun 2006 15:02:18 +0000 (15:02 +0000)]
* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
include/libvirt/virterror.h python/generator.py python/libvir.c
python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
src/xml.c src/xml.h: moved the includes from include/ to
include/libvirt to reflect the installed include tree. This
avoid using "" in the includes themselves.
Daniel
Daniel Veillard [Wed, 21 Jun 2006 12:56:19 +0000 (12:56 +0000)]
* src/driver.h src/libvirt.c src/test.c src/xen_internal.c
src/xend_internal.c src/xs_internal.c: add driver numbers and
tweak a bit suspend/resume/destroy operation to avoid doing
them directly though the hypervisor if other succeeded first.
Daniel
Daniel Veillard [Wed, 14 Jun 2006 15:44:14 +0000 (15:44 +0000)]
* src/libvirt.c src/xend_internal.c src/xend_internal.h: cleaned up
virConnectListDomains and virConnectNumOfDomains, implemented xend
driver entry point for them.
daniel
Daniel Veillard [Tue, 13 Jun 2006 16:31:44 +0000 (16:31 +0000)]
* docs//*: rebuilt the documentation
* src/driver.h src/libvirt.c src/test.c src/xen_internal.c
src/xend_internal.c src/xs_internal.c: started to fix some of
the driver related problem raised by Daniel Berrange, added a
ver version field to drivers.
Daniel
Daniel Veillard [Mon, 29 May 2006 18:03:27 +0000 (18:03 +0000)]
* src/hash.c, src/internal.h: Switch the uuid parameter in virGetDomain
to be of type 'unsigned char' since its a raw UUID we're passing in,
not a printable one.
* src/libvirt.c: Remove bogus "unsigned char" -> "char" type casts. Hook
up the "domainLookupByID", "domainLookupByUUID", "domainLookupByName"
and "domainGetInfo" driver backend functions.
Daniel
Daniel Veillard [Fri, 28 Apr 2006 18:29:26 +0000 (18:29 +0000)]
* src/hash.c src/internal.h src/libvirt.c src/virterror.c
src/xml.h include/libvirt.h[.in] include/virterror.h: started
adding new APIs, some still TODO, and not tested yet
Daniel
Daniel Veillard [Tue, 25 Apr 2006 16:08:48 +0000 (16:08 +0000)]
* configure.in libvirt.spec.in docs/examples/Makefile.am
docs/examples/index.py docs/examples/python/*: integrated
examples for Python from David Lutterkort
Daniel
Daniel Veillard [Mon, 24 Apr 2006 18:21:29 +0000 (18:21 +0000)]
* src/hash.c src/internal.h: add virGetDomainByID() to speed up
some processing but not used yet
* src/libvirt.c src/xen_internal.c src/xen_internal.h: added domain
listing and number queries entry points based on the hypervisor
which should speed up some processing as root.
Daniel
Daniel Veillard [Thu, 13 Apr 2006 17:18:49 +0000 (17:18 +0000)]
* include/libvirt.h include/libvirt.h.in doc/*: added new entry point
virDomainSetMemory to set up the target memory use for a domain
* src/driver.h src/libvirt.c src/xen_internal.c src/xend_internal.[ch]
src/xs_internal.[ch]: added a new entry point in the drivers for this,
also fixed the xen store entry, as changing
/local/domain/$$/memory/target affects the target memory not the max,
apparently max is not visible at the xenstore level (or I missed it)
Daniel
Daniel Veillard [Mon, 10 Apr 2006 14:15:33 +0000 (14:15 +0000)]
* NEWS configure.in libvirt.spec.in docs/*: documented and
regenerated for release of 0.1.0
* Makefile.am virsh.1: added man page from Andrew Puch
Daniel
Daniel Veillard [Mon, 10 Apr 2006 08:32:34 +0000 (08:32 +0000)]
* src/xend_internal.c src/xml.c: applied patch from Jim Fehlig
for lifecycle events
* docs/format.html docs/libvir.html: added the associated docs for
the new constructs
* TODO: small update
Daniel
Daniel Veillard [Sun, 9 Apr 2006 13:11:22 +0000 (13:11 +0000)]
* TODO src/hash.[ch] src/internal.h src/libvirt.c src/xend_internal.c
src/xs_internal.c: implementing domain pointers unification, thread
safety and reference counting for domain and connections, this was
the last critical change needed before making further progresses at
the API level. Still a couple fo things TODO for this, unification
at the Python level and adding UUID to hash. All domain/connect alloc
and free routines are now centralized in hash.c
* docs/APIchunk1.html docs/libvirt-api.xml docs/libvirt-refs.xml
docs/html/libvirt-libvirt.html: regenerated the docs, that doesn't
change the API.
Daniel
Daniel Veillard [Wed, 5 Apr 2006 09:31:29 +0000 (09:31 +0000)]
* src/hash.c: tiny fix
* src/internal.h: starting to work on reentrancy
* src/libvirt.c: applied patch from Jim Fehlig to fix
virDomainLookupByID when run as root.
Daniel