Daniel P. Berrange
8ebda57b2e
Move capabilities XML generation into driver.c
2007-06-26 19:49:50 +00:00
Daniel P. Berrange
0cb54b45f1
Re-factoring event loop
2007-06-26 19:11:00 +00:00
Richard W.M. Jones
4a0cef94a5
Tue Jun 26 14:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/remote_internal.c, python/Makefile.am: Python bindings
fixed, and now building virConnect.getHostname and
virConnect.getURI. Fixed a problem which stopped
libvirt.py from being (re-)built. Rearranged
python/Makefile.am to make it cleaner and clearer.
2007-06-26 13:47:04 +00:00
Richard W.M. Jones
2be812bbc9
Tue Jun 26 12:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* include/libvirt/libvirt.h.in, src/libvirt.c: (and numerous
other files) Added support for virConnectGetHostname
and virConnectGetURI calls.
2007-06-26 11:42:46 +00:00
Richard W.M. Jones
aa053ba2c5
Mon Jun 25 16:55:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* include/libvirt/libvirt.h.in, src/libvirt.c, src/libvirt_sym.version,
python/generator.py: Added virDomainGetConnect and
virNetworkGetConnect to allow us to get the "hidden"
connection associated with each domain or network.
2007-06-25 15:56:18 +00:00
Richard W.M. Jones
83471f1ec5
Mon Jun 25 14:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
src/test.c: Remove unused virDomainKernel structure.
2007-06-25 13:26:02 +00:00
Richard W.M. Jones
b19a6c7d28
Mon Jun 25 14:03:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/remote_internal.c: Partial revert - defining enum transport
as a typedef broke the build.
2007-06-25 13:05:03 +00:00
Richard W.M. Jones
b48d5f7a47
Mon Jun 25 09:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/remote_internal.c: Made cosmetic changes to the code and
comments to allow 'make -C docs rebuild' to succeed parsing
this file.
2007-06-25 08:41:17 +00:00
Richard W.M. Jones
2670b9c80a
Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/site.xsl: Added link to OCaml bindings.
2007-06-25 08:40:38 +00:00
Richard W.M. Jones
56cd4140d4
Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* qemud/remote.c, src/remote_internal.c: Fix virDomainGetVcpus
in the remote case.
* src/libvirt.c: Allow virConnectListDomains,
virConnectListDefinedDomains, virConnectListNetworks and
virConnectListDefinedNetworks to work in the case where
they are called with maxids/maxnames == 0.
* src/remote_internal.c: Fix virDomainGetMaxVcpus in remote
case so that it copies sufficient data.
* src/xen_unified.c: Remove autostart functions.
2007-06-25 08:23:10 +00:00
Richard W.M. Jones
137847e55d
Fri Jun 22 14:15:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
Add support for setting scheduler parameters over remote
connections.
2007-06-22 13:16:10 +00:00
Richard W.M. Jones
29ee614511
Fri Jun 22 12:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/internal.h: Added STREQ and STRCASEEQ macros for clearer
equality testing of strings.
* src/xen_internal.c: Fix handling of the scheduler parameters
field string so that the field doesn't contain garbage
after the string.
2007-06-22 11:42:22 +00:00
Daniel Veillard
65d0b1910b
* qemud/driver.c: apply patch from Jim Meyering to handle realloc
...
failure without leaking.
Daniel
2007-06-22 10:14:48 +00:00
Richard W.M. Jones
e8b0f8a251
Thu Jun 21 16:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/virsh.pod: Fixed a few typos and POD directives.
2007-06-21 15:57:49 +00:00
Richard W.M. Jones
10960f2a1a
Thu Jun 21 16:48:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/remote_internal.c: Fix virConnectGetMaxVcpus in the
remote case when type parameter is NULL.
* src/xend_internal.c: Proper error reporting in
xenDaemonDomainDumpXML function.
2007-06-21 15:49:09 +00:00
Daniel P. Berrange
a6a6c9860c
Fixed marshalling of id on wire
2007-06-21 15:38:20 +00:00
Daniel Veillard
8fe24e137f
* virsh.1 docs/virsh.pod docs/Makefile.am: updated the pod file
...
to reflect the current set of commands, added a rule in the Makefile
to regenerate the man page, and regenerated.
Daniel
2007-06-21 15:00:17 +00:00
Daniel Veillard
4fdec95d6b
* docs/virsh.pod: commit of original POD file for virsh man page
...
from Andrew Puch April 2006
Daniel
2007-06-21 07:39:51 +00:00
Richard W.M. Jones
e2df281e6c
Wed Jun 20 18:23:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/libvirt.c, src/qemu_internal.c, src/test.c,
src/xen_unified.c, src/xend_internal.c,
src/libvirt.c, include/libvirt/virterror.h:
VIR_ERR_NO_SUPPORT means the function is not supported by
the hypervisor. VIR_ERR_NO_CONNECT means the connection
failed. VIR_ERR_CALL_FAILED is deprecated. Drivers which
decline a URI now no longer produce an error. Make
xen_unified.c ignore naked URI strings like "foo".
2007-06-20 17:25:39 +00:00
Richard W.M. Jones
17e1ee3cc7
Wed Jun 20 18:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/virsh.c: 'virsh help command' now works even if we could
not get a connection to the hypervisor. Rearranged the list
of commands to be in alphabetical order.
2007-06-20 17:22:09 +00:00
Richard W.M. Jones
2958900d22
Wed Jun 20 10:54:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/libvirt.c src/test.c src/xen_unified.c: Fix URI processing
so that local file URIs work again. Move remote driver to
last in the list, and fix all drivers so they decline remote
URIs (Daniel Berrange).
2007-06-20 10:01:14 +00:00
Richard W.M. Jones
99089f80cd
Tue Jun 19 20:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/xend_internal.c: Recognise xen:/// as the standard
URI for connecting to a local Xen hypervisor.
2007-06-19 19:08:09 +00:00
Richard W.M. Jones
a34c85732d
Tue Jun 19 17:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/libvir.html docs/remote.html docs/uri.html: Documented
all supported URI formats.
2007-06-19 16:07:58 +00:00
Daniel Veillard
995235b13c
* docs/site.xsl docs/libvirt.html docs/uri.html docs/*.html:
...
adding a placeholder for the new URIs page, update the
stylesheet to generate a new page, rebuilt.
Daniel
2007-06-19 13:43:28 +00:00
Richard W.M. Jones
44e522c821
Tue Jun 19 13:12:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/remote.html: Check in the updated documentation file
for the web site.
2007-06-19 12:12:15 +00:00
Richard W.M. Jones
3b7046a743
Tue Jun 19 10:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/virsh.c: vcpupin command now documented properly and
gives clearer error messages if the cpulist is wrong
(Masayuki Sunou).
2007-06-19 09:32:04 +00:00
Daniel Veillard
a03844f8ca
* src/xend_internal.c: drop the release information as this
...
is usually garbage ending up polluting minor and major numbers.
* src/virsh.c: applied patch from Masayuki Sunou providing a pair
of alternate attach/detach commands
Daniel
2007-06-19 09:12:55 +00:00
Richard W.M. Jones
81bb16b302
Mon Jun 18 16:59:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/libvir.html (Remote): Updated certificate documentation
to use GnuTLS certtool instead of CA.pl / openssl.
2007-06-18 16:00:16 +00:00
Daniel Veillard
af933f6ff0
* src/virsh.c: applied SetMem cleanup patch from Mark Johnson
...
Daniel
2007-06-18 08:33:08 +00:00
Richard W.M. Jones
6668e64766
Fri Jun 15 16:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* configure.in: Solaris header file fixes (Mark Johnson).
2007-06-15 15:24:20 +00:00
Richard W.M. Jones
a770b4c357
Fri Jun 15 14:42:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/test.c, src/virsh.c, src/xend_internal.c, src/xm_internal.c:
Replace calls to deprecated {,r}index with str{,r}chr.
2007-06-15 13:44:19 +00:00
Richard W.M. Jones
b69fcc15b4
Fri Jun 15 08:53:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/internal.h, src/virsh.c: Replace _N with N_ so that
Solaris builds work (Mark Johnson).
* src/virsh.c: Add a couple of missing error messages (Mark
Johnson).
* python/types.c: Fix NULL pointer deref on DEBUG build
(Mark Johnson).
* src/virsh.c: Spelling fix (Mark Johnson).
2007-06-15 08:18:55 +00:00
Daniel P. Berrange
1bb74341b4
Fix handling of extra_release for Fedora
2007-06-15 01:31:51 +00:00
Daniel P. Berrange
512bf1a6b2
Fix coverage file generation
2007-06-15 01:21:18 +00:00
Daniel Veillard
7c85b83736
* src/virsh.c: patch from Saori Fukuta for messages
...
* *.po: updated with the patch from Saori Fukuta and merge from
the i18n CVS base.
Daniel
2007-06-13 09:32:44 +00:00
Richard W.M. Jones
bc2f1b3cf4
Mon Jun 11 14:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/examples/index.py: Autogenerate Makefile.am and
.cvsignore in this directory with corrected LDADDS and
including some generated subdirectories which CVS should
ignore.
2007-06-11 13:55:03 +00:00
Richard W.M. Jones
0bbe8da810
Some fixes for RPM builds:
...
Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* libvirt.spec.in: BuildRequires gnutls-devel and
set the remote PIDfile when configuring.
* qemud/Makefile.am: Distribute the Perl scripts.
* qemud/qemud.c: Only use QEMUD_DEBUG when ENABLE_DEBUG
is defined.
2007-06-11 13:24:45 +00:00
Richard W.M. Jones
7172e734e1
Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/examples/.cvsignore: Ignore .deps and .libs subdirectories.
2007-06-11 12:24:21 +00:00
Richard W.M. Jones
f7f0a31a82
Mon Jun 11 13:22:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/libvir.html, docs/remote.html: Updated docs to reflect
access control lists now based on Distinguished Names.
2007-06-11 12:23:36 +00:00
Richard W.M. Jones
80b7e43da8
Mon Jun 11 13:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* configure.in: Add '--with-remote' flag. Add compatibility
code for versions of libxml2 supporting xmlURI.query_raw.
Check for GnuTLS library.
2007-06-11 12:19:46 +00:00
Richard W.M. Jones
9172d0ec27
Mon Jun 11 12:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* qemud/Makefile.am, qemud/dispatch.c, qemud/dispatch.h,
qemud/internal.h, qemud/protocol.c,
qemud/protocol.h, qemud/protocol.x, qemud/qemud.c:
libvirt_qemud server-side modifications to use
XDR-based protocol instead of homebrew (Dan Berrange).
QEMUD server modified to dispatch calls from remote
clients (Richard Jones). Added TLS support (Richard Jones).
Added TCP & IPv6 support (Richard Jones).
Additional configuration file, command-line handling, and
usage (Richard Jones).
* qemud/conf.c: Remove unnecessary header file.
2007-06-11 12:04:54 +00:00
Richard W.M. Jones
b4f7816bf4
Mon Jun 11 12:48:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/qemu_internal.c: QEMU client-side modifications to
use XDR-based protocol instead of homebrew. (Dan Berrange)
2007-06-11 11:48:29 +00:00
Richard W.M. Jones
b9f8610a1e
Mon Jun 11 12:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* qemud/remote.c, qemud/remote_generate_stubs.pl,
qemud/remote_dispatch_localvars.h,
qemud/remote_dispatch_proc_switch.h,
qemud/remote_dispatch_prototypes.h: Server side of
the remote patch, deals with call dispatch.
2007-06-11 11:47:01 +00:00
Richard W.M. Jones
b7c42619e6
Mon Jun 11 12:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/remote_internal.c, src/remote_internal.h,
src/driver.h, src/libvirt.c, src/Makefile.am: Client side
of the remote patch - adds a remote driver.
2007-06-11 11:43:41 +00:00
Richard W.M. Jones
fc23185e84
Mon Jun 11 12:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* qemud/remote_protocol.x qemud/rpcgen_fix.pl
qemud/remote_protocol.c qemud/remote_protocol.h: Client/server
protocol used by remote.
2007-06-11 11:36:17 +00:00
Daniel Veillard
29e65f9a98
* configure.in libvirt.spec.in include/libvirt/libvirt.h
...
docs/*: prepared release of 0.2.3
Daniel
2007-06-08 11:11:56 +00:00
Daniel Veillard
c7aae27426
* po/*: new merge of localization strings
...
Daniel
2007-06-08 09:36:43 +00:00
Daniel P. Berrange
f404609120
Fixed handling of bridge devices
2007-06-07 18:21:58 +00:00
Daniel P. Berrange
80b7a7ab4f
Ensure build fails if tests fail
2007-06-07 14:48:30 +00:00
Daniel P. Berrange
2bdf20ba8b
Fix boot device tests
2007-06-07 14:09:01 +00:00