Daniel Veillard
8bc437e412
* 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
2006-02-27 22:32:54 +00:00
Daniel Veillard
5548938d62
* src/libvirt.c src/xen_internal.[ch]: virConnectOpenReadOnly()
...
should not emit error when failing to open the hypervisor proc
entry point.
Daniel
2006-02-27 21:42:32 +00:00
Daniel Veillard
87d338374a
* 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
2006-02-27 21:34:28 +00:00
Daniel Veillard
739dfb531d
* include/virterror.h src/virterror.c src/xend_internal.c: more work
...
plugging in the error system in the code.
Daniel
2006-02-27 19:56:23 +00:00
Daniel Veillard
596b601021
* 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
2006-02-27 16:27:18 +00:00
Daniel Veillard
8557bc67a4
* 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
2006-02-24 22:36:10 +00:00
Daniel Veillard
4750942abe
* docs/index.py docs/search.php: fixing the search engine.
...
Daniel
2006-02-24 21:17:54 +00:00
Daniel Veillard
fd21f1b3ec
* 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
2006-02-24 12:26:56 +00:00
Daniel Veillard
97f9566687
* 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
2006-02-23 11:26:17 +00:00
Daniel Veillard
6eaf35d077
* NEWS configure.in docs/libvir.html docs/news.html: preparing the
...
release of 0.0.5
* include/libvirt.h.in: fixed APIs definition
Daniel
2006-02-23 10:42:29 +00:00
Daniel Veillard
6ce04643d0
* python/tests/Makefile.am: added the create.py in the regression tests
...
Daniel
2006-02-23 10:31:23 +00:00
Daniel Veillard
6536c00f25
* 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
2006-02-23 10:13:55 +00:00
Daniel Veillard
21df1e503b
* configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*:
...
added devhelp docs support, based on libxml2 stylesheets
Daniel
2006-02-22 10:54:54 +00:00
Daniel Veillard
a3512b01f9
* TODO: updated
...
* libvirt.spec.in: package the examples in the doc
* src/Makefile.am: forgot to add xml.h
Daniel
2006-02-22 08:59:00 +00:00
Karel Zak
d02fa086ff
TODO update
2006-02-21 21:01:09 +00:00
Daniel Veillard
c509b5cd0b
* 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
2006-02-21 14:15:32 +00:00
Daniel Veillard
d3a15eb303
* 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
2006-02-21 13:23:16 +00:00
Daniel Veillard
9a2ec00a05
* 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
2006-02-20 23:08:47 +00:00
Daniel Veillard
9c5111b9c9
* 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
2006-02-20 20:50:48 +00:00
Daniel Veillard
144141872b
* 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
2006-02-20 17:22:16 +00:00
Daniel Veillard
82402982c8
* 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
2006-02-17 13:18:57 +00:00
Daniel Veillard
77e8b6c62c
* 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
2006-02-16 22:50:52 +00:00
Daniel Veillard
2985f0acdb
* configure.in libvirt.spec.in include/libvirt.h.in python/Makefile.am
...
src/Makefile.am: fix rpm packaging problems whith head, more
LIBVIR -> LIBVIRT changes.
Daniel
2006-02-15 13:21:17 +00:00
Daniel Veillard
f32eee58b0
* 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
2006-02-14 14:30:42 +00:00
Daniel Veillard
a5f9391541
* libvirt.pc.in: Karel pointed out the name hadn't been updated
...
Daniel
2006-02-10 15:46:36 +00:00
Daniel Veillard
04142f1c5e
* python/libvir.c: fixed one more problem prior to 0.0.4
...
Daniel
2006-02-10 10:31:50 +00:00
Daniel Veillard
2a9660e425
* NEWS configure.in docs/libvir.html docs/news.html include/libvirt.h
...
libvirt.spec.in: preparing 0.0.4 release
Daniel
2006-02-10 10:28:59 +00:00
Daniel Veillard
7191077439
* README TODO config.h.in libvirt.pc.in: more cleanups.
...
Daniel
2006-02-10 10:11:21 +00:00
Daniel Veillard
f2fec34604
* NEWS docs/*: regenerated and updated the docs post 0.0.3 release
...
Daniel
2006-02-10 08:43:31 +00:00
Daniel Veillard
0b2869fb84
* autogen.sh configure.in: fixed snapshot autogeneration, had to
...
tweak a few things
Daniel
2006-02-10 08:40:20 +00:00
Daniel Veillard
8c423e6c83
* //* : renamed the project libvirt , this affects all makefiles,
...
the specs, the icons, the docs, etc ...
* configure.in: prepare for 0.0.3
Daniel
2006-02-09 17:45:11 +00:00
Karel Zak
17202ea686
fix visrh "save" cmd
2006-02-03 14:49:41 +00:00
Daniel Veillard
7871d455b3
* configure.in docs/examples/*: starting to add examples. the XSLT
...
still need to be fixed for web site
Daniel
2006-01-31 18:13:27 +00:00
Daniel Veillard
b6022c2ad3
* python/*: update of the python bindings, fix names, add
...
missing features like list of domains and domain info extraction
Daniel
2006-01-31 10:24:12 +00:00
Daniel Veillard
3afad0b2f0
* NEWS docs/news.xsl: added stylesheet to generate NEWS file
...
* docs/*: updated docs preparing for the release
Daniel
2006-01-29 10:56:15 +00:00
Daniel Veillard
eece06a14f
* docs/site.xsl docs/*.html: credits to Diana Fong for graphics
...
and web site design
Daniel
2006-01-29 08:52:59 +00:00
Daniel Veillard
e9736c7d92
* python/libvir.c: fix a stupid bug in python bindings (DomainDestroy
...
is still mishandled though)
Daniel
2006-01-28 20:24:55 +00:00
Daniel Veillard
b259e6be88
* src/libvir.c src/xml.c: applied patch from Anthony Liguori
...
to remove the XenStore transactions as this is not needed
anymore.
Daniel
2006-01-27 08:59:42 +00:00
Daniel Veillard
b2764c3d94
* TODO: updated
...
* docs/search.php: use the new web site design
* python/generator.py: fix a generation bug on python keyword
Daniel
2006-01-26 12:11:32 +00:00
Karel Zak
b64c353863
add xshandle checks, fix virsh grammar
2006-01-25 09:46:22 +00:00
Daniel Veillard
41e990528a
* src/libvir.c: Karel pointed out handle was lost in
...
virConnectOpenReadOnly()
Daniel
2006-01-24 13:10:39 +00:00
Daniel Veillard
46202b3705
* docs/site.xsl docs/*.png docs/*.html: update the images from Diana,
...
added favicon to page.
* src/libvir.c: reorganized the include imports.
Daniel
2006-01-23 22:55:41 +00:00
Daniel Veillard
d0a71d23da
* doc/*: augment and try to complete the doc in its current state
...
Daniel
2006-01-23 13:24:07 +00:00
Daniel Veillard
3333cec207
* doc/*: started to augment and update the documentation
...
Daniel
2006-01-22 16:27:09 +00:00
Daniel Veillard
ff97523083
* doc//*: mostly finished the revamp in the plane, starts to look good
...
Daniel
2006-01-21 23:34:36 +00:00
Daniel Veillard
76777c51f7
* doc/* : total revamp of the web site based on Diana Fong design
...
but not completely integrated yet
Daniel
2006-01-20 15:49:04 +00:00
Daniel Veillard
474e4b8425
* 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
2006-01-20 10:00:08 +00:00
Daniel Veillard
6e9443aeb1
* 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
2006-01-19 10:23:15 +00:00
Daniel Veillard
563d3d06d0
* src/libvir.c: small change w.r.t. reboot.
...
Daniel
2006-01-18 18:58:35 +00:00
Daniel Veillard
34dee79f1d
* 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
2006-01-18 10:37:08 +00:00
Daniel Veillard
f7e03b9312
* 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
2006-01-17 16:56:17 +00:00
Daniel Veillard
c568ebea25
* 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
2006-01-13 16:41:01 +00:00
Daniel Veillard
fe64a1d852
* 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
2006-01-12 15:38:07 +00:00
Daniel Veillard
f18b6c0ec6
* 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
2006-01-11 13:58:32 +00:00
Daniel Veillard
2b019dd2f7
* docs/architecture.* docs/*: added a section on the architecture
...
and regenerated the docs.
Daniel
2005-12-21 16:59:34 +00:00
Daniel Veillard
0a75b69605
* NEWS docs/libvir.html docs/news.html: preparing 0.0.1 release
...
Daniel
2005-12-19 18:06:06 +00:00
Daniel Veillard
75169488a0
* 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
2005-12-19 16:34:11 +00:00
Karel Zak
c613d7e162
cosmetic
2005-12-16 18:41:46 +00:00
Daniel Veillard
a02a3266e9
* libvir.spec.in src/Makefile.am: cleaned up the spec file, removed
...
static libraries, adding virsh as an installed program
Daniel
2005-12-16 13:27:23 +00:00
Daniel Veillard
454544940a
* src/libvir_sym.version: oops forgot to export the new symbol
...
Daniel
2005-12-16 13:00:14 +00:00
Daniel Veillard
ea9c089fa6
* 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
2005-12-16 12:16:41 +00:00
Karel Zak
d2dc6bf826
add virDomainGetOSType() + small code refactoring
2005-12-16 00:51:27 +00:00
Karel Zak
4dcc4c2d8b
remove --id/name from virsh
2005-12-15 17:00:43 +00:00
Daniel Veillard
316ed4cb5e
* src/xml.c: add dump of os/boot informations
...
Daniel
2005-12-14 15:29:16 +00:00
Daniel Veillard
5462d542b9
* src/xml.c: added dump of physical vbd and read-only status
...
Daniel
2005-12-14 12:36:43 +00:00
Daniel Veillard
3447b53fea
* src/xml.c: started to add block devices and interfaces descriptions
...
in the XML dump.
Daniel
2005-12-14 11:21:05 +00:00
Daniel Veillard
16ff741ff0
* 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
2005-12-13 16:22:05 +00:00
Daniel Veillard
a8d7d679cc
* src/libvir.c src/xen_internal.c src/xen_internal.h: completing the
...
API implementation, only CreateLinux is now missing.
Daniel
2005-12-12 13:22:20 +00:00
Daniel Veillard
2da25a157c
* docs/search.php docs/index.py docs/*.xsl docs/html/*: fixed the
...
page generation, added the search engine.
Daniel
2005-12-09 14:41:48 +00:00
Daniel Veillard
94d4126ac0
* docs/*: extended the documentation
...
Daniel
2005-12-09 13:04:05 +00:00
Daniel Veillard
dbe2c21a79
* configure.in: adding --without-depends to make dist on non
...
Xenified machine.
Daniel
2005-12-09 10:16:33 +00:00
Daniel Veillard
9b628aeff9
* Makefile.am include/libvir.h.in libvir.pc.in: various fixes.
...
* docs/*: regenerated the docs
Daniel
2005-12-08 23:46:57 +00:00
Daniel Veillard
4d3b8dce15
* src/virsh.c: added support for suspend/resume/destroy, validating
...
the previous code.
Daniel
2005-12-08 23:01:48 +00:00
Daniel Veillard
6be439c983
* src/libvir.c src/xen_internal.c src/xen_internal.h: implement
...
Pause, Resume, Destroy, but untested yet.
Daniel
2005-12-08 17:16:24 +00:00
Daniel Veillard
086a0ffe4f
* include/libvir.h src/libvir.c src/libvir_sym.version: adding
...
virDomainFree()
* docs/*: regenerated the docs
Daniel
2005-12-08 16:42:56 +00:00
Daniel Veillard
ded06db1e6
* 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
2005-12-08 15:08:46 +00:00
Karel Zak
304e52d02d
happy gcc
2005-12-08 14:22:52 +00:00
Daniel Veillard
96a54b42a6
* 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
2005-12-08 13:26:52 +00:00
Karel Zak
0d8043574d
virsh is more sexy now
2005-12-08 10:23:34 +00:00
Daniel Veillard
5a3d05007e
* src/libvir.c src/xen_internal.c: fixed the new Xen hypervisor call
...
Daniel
2005-12-08 10:12:18 +00:00
Daniel Veillard
7c82cb733f
* configure.in src/Makefile.am src/libvir.c src/xen_internal.c
...
src/xen_internal.h: removed dependancy on xenctrl library, untested
yet.
Daniel
2005-12-07 18:10:51 +00:00
Daniel Veillard
b9ae742930
* docs/*: adding missing links to API page.
...
Daniel
2005-12-07 14:09:33 +00:00
Daniel Veillard
b38893c3ea
* 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
2005-12-07 13:45:20 +00:00
Karel Zak
d5f9611f4a
add entry to ChangeLog
2005-12-07 13:14:45 +00:00
Daniel Veillard
944f0d385e
* docs/ChangeLog.awk docs/ChangeLog.xsl: Changelog handling from
...
libxml2 adapted to libvir
* docs/* docs/html/libxml-libvir.html: regenerated
Daniel
2005-12-07 12:56:14 +00:00
Daniel Veillard
cf65cf953f
* docs/* docs/html/*: more work on the docs generation
...
* include/libvir.h: adding informations on the header
Daniel
2005-12-07 10:59:26 +00:00
Daniel Veillard
d3b96d4a00
* 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
2005-12-07 09:33:00 +00:00
Daniel Veillard
7ad5537367
* 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
2005-12-06 16:50:31 +00:00
Daniel Veillard
02a0500d22
* include/libvir.h src/libvir.c src/virsh.c: adding the extraction
...
of the number of virtual CPUs for both interfaces.
Daniel
2005-12-06 16:12:49 +00:00
Daniel Veillard
6564f33fbb
* 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
2005-12-06 13:47:40 +00:00
Daniel Veillard
04130eb824
* 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
2005-12-05 18:14:37 +00:00
Daniel Veillard
1192a2ade3
* Makefile.am README TODO autogen.sh configure.in libvir.pc.in
...
libvir.spec.in docs/Makefile.am docs/apibuild.py docs/structures.fig
include/Makefile.am include/libvir.h src/Makefile.am src/hash.c
src/hash.h src/internal.h src/libvir.c src/libvir_sym.version
src/virsh.c: renamed to libvir
Daniel
2005-12-05 11:16:07 +00:00
Daniel Veillard
79b43459ca
* 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
2005-12-02 14:16:21 +00:00
Daniel Veillard
37ecc62443
* configure.in src/Makefile.am: more warnings from compiler and
...
link static in work environement
Daniel
2005-12-02 12:11:06 +00:00
Daniel Veillard
ff4ede0055
* 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
2005-12-01 17:34:21 +00:00
Daniel Veillard
e6b590c8a9
* 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
2005-12-01 16:35:42 +00:00
Daniel Veillard
363bb8380f
* include/libxen.h src/libxen.c src/libxen_sym.version src/xensh.c:
...
changed entry points naming conventions based on feedback with
Karel Zak
Daniel
2005-12-01 10:51:34 +00:00
Daniel Veillard
978d57bbe4
* src/Makefile.am src/hash.[ch]: added hash module based on libxml2
...
one.
* include/libxen.h src/libxen.c src/libxen_sym.version: extend API
start to access libxenctrl directly (need xen update to get includes)
* src/xensh.c: access to both xenstore and hypervisor
Daniel
2005-11-30 13:20:53 +00:00
Daniel Veillard
aa60580097
* configure.in: checking xenstore library, error out on missing libs
...
* include/libxen.h src/libxen.c src/libxen_sym.version: adding new
entry points
Daniel
2005-11-23 07:47:13 +00:00
Daniel Veillard
afcb25b9a5
* src/makefile.am src/libxen.c src/xensh.c: add a small tool sensh,
...
implement xenopenconnect and xencloseconnect.
Daniel
2005-11-10 16:12:31 +00:00
Daniel Veillard
5cc4af3e7d
* docs/Goals: added a Goals document for the library
...
Daniel
2005-11-09 09:57:48 +00:00
Daniel Veillard
8af506b89f
* TODO: updated
...
* include/libxen.h src/libxen.c src/libxen_sym.version: extended
entry points to a first minimal set.
* src/internal.h: TODO macro
Daniel
2005-11-07 17:16:18 +00:00
Daniel Veillard
70eb59b8be
* TODO libxen.pc.in libxen.spec.in include/Makefile.am Makefile.am
...
config.h.in configure.in: fix make dist, add rpm packaging
* src/libxen_sym.version src/Makefile.am: set a policy of no
export by default of library symbols
Daniel
2005-11-02 15:37:34 +00:00
Daniel Veillard
b8e381131c
* AUTHORS NEWS README autogen.sh configure.in: allow autogen.sh and
...
configure to start working
* src/Makefile.am src/internal.h src/libxen.c: make the first compile
Daniel
2005-11-02 13:19:10 +00:00
Daniel Veillard
d77e1a9642
Initial revision
2005-11-02 12:50:21 +00:00