Commit Graph

25848 Commits

Author SHA1 Message Date
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
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
27f9a1e888 Updated docs and comments, Daniel 2005-12-15 14:51:18 +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
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
Karel Zak
b996e8438a update libvir_sym.version 2005-12-07 15:45:51 +00:00
Karel Zak
db4caab690 add virConnectNumOfDomains() 2005-12-07 11:03:24 +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
f113c5978e oops, forgot hash.[ch], Daniel 2005-11-30 13:36:58 +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
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