Richard W.M. Jones
9cd405497f
Wed Jul 4 10:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/conf.c, src/test.c, src/xen_internal.c: Readd checking
of errors from virBuffer functions.
* src/sexpr.c: Add comment about use of _GNU_SOURCE.
* src/virsh.c: Remove use of _GNU_SOURCE / isblank.
* src/xml.c, tests/Makefile.am: Minor cleanup.
2007-07-04 09:16:23 +00:00
Daniel Veillard
6bdad268f4
* src/virsh.c: applied patch from Masayuki Sunou to remove leaks
...
of domains references in some commands.
Daniel
2007-06-29 13:45:50 +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
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
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
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 Veillard
fce0ce6f85
tiny fix on last patch, Daniel
2007-06-13 13:13:59 +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
Daniel Veillard
7eed474dd3
* src/virsh.c: added a logging option to a file based on
...
Nobuhiro Itou patch
* src/xen_internal.c: small TODO comment from Atsushi SAKAI
Daniel
2007-06-06 12:24:31 +00:00
Daniel Veillard
652f3bb13b
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
...
src/driver.h src/libvirt.c src/libvirt_sym.version
src/proxy_internal.c src/qemu_internal.c src/test.c
src/virsh.c src/xen_internal.c src/xen_internal.h src/xen_unified.c
src/xend_internal.c src/xm_internal.c src/xs_internal.c:
Applied patches from Atsushi SAKAI to add the scheduler API,
with patch from Rich Jones for error handing, and a number
of cleanups and more error checking from me
Daniel
2007-06-05 12:06:08 +00:00
Daniel Veillard
7b88f59ce4
* src/virsh.c src/xen_internal.c src/xend_internal.c: memory leaks
...
fixed by a patch from Masayuki Sunou
Daniel
2007-05-29 13:55:19 +00:00
Richard W.M. Jones
bb5fcd02bc
Wed May 23 16:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/virsh.c: Add attach-device and detach-device commands to
virsh, and tidy up the way it reads whole files. Patch from
Masayuki Sunou, Mark McLoughlin, Richard Jones.
2007-05-23 15:09:19 +00:00
Daniel Veillard
3ac6e102da
* src/virsh.c: fix help for dumpxml and net-dumpxml commands
...
based on Chris Wright feedback
Daniel
2007-05-03 16:03:02 +00:00
Daniel Veillard
b782d66763
* src/virsh.c: fix virshStrdup to not crash if NULL is passed.
...
Daniel
2007-04-26 10:20:57 +00:00
Daniel Veillard
c73708ea46
* src/virsh.c: fixed a bad messaging mechanism preventing localization
...
and raised by Thomas Canniot
Daniel
2007-04-13 08:04:08 +00:00
Daniel Veillard
634d655c1e
* src/virsh.c: fixed some typos reported by translator
...
Nikolay Sivov should fix #235904
Daniel
2007-04-10 18:40:50 +00:00
Daniel Veillard
b5d6258530
* src/virsh.c: applied patch from Atsushi SAKAI to clarify
...
that memory values are in kilobytes
Daniel
2007-04-02 11:56:38 +00:00
Daniel Veillard
80fb564b0d
* TODO qemud/conf.c src/virsh.c src/xend_internal.c src/xs_internal.c:
...
replaced all sprintf instances by snprintf ones
Daniel
2007-03-23 16:15:07 +00:00
Daniel Veillard
fb624fbecf
* qemud/iptables.c qemud/qemud.c src/conf.c src/hash.c src/libvirt.c
...
src/virsh.c src/xm_internal.c: change malloc/memset(0) pairs to
using calloc()
Daniel
2007-03-22 18:30:57 +00:00
Daniel Veillard
3d6dbfeab0
* src/virsh.c: applied patch from Masayuki Sunou to avoid a bug
...
when using a wrong CPU number in vcpupin and report the error
Daniel
2007-03-22 10:27:54 +00:00
Daniel Veillard
4ffe066dd8
* src/virsh.c: add error messages for negative memory size as
...
pointed out by Masayuki Sunou
Daniel
2007-03-20 15:31:46 +00:00
Daniel Veillard
4d5292c4da
* src/virsh.c: applied patch from Jim Meyering to add printf-style
...
function checking in virsh.c and fix one warning raised
Daniel
2007-03-19 14:20:30 +00:00
Daniel Veillard
3edfdbf02d
* src/virsh.c: patch from Masayuki Sunou, checking that byte
...
values passed to virsh memory commands are positive.
Daniel
2007-03-19 09:46:13 +00:00
Daniel Veillard
635ae38979
* include/libvirt/libvirt.h[.in] include/libvirt/virterror.h
...
proxy/libvirt_proxy.c qemud/Makefile.am qemud/conf.c qemud/conf.h
qemud/dispatch.c qemud/internal.h qemud/protocol.h
src/driver.h src/internal.h src/libvirt.c src/libvirt_sym.version
src/proxy_internal.c src/proxy_internal.h src/qemu_internal.c
src/test.c src/virsh.c src/virterror.c src/xen_internal.c
src/xen_internal.h src/xend_internal.c src/xm_internal.c
src/xml.h src/xs_internal.c: applied patch from Richard Jones
adding virConnectGetCapabilities(), plus various small little
fixes
* docs/*: fixed the api extractor script and regenerated
Daniel
2007-03-15 17:24:56 +00:00
Daniel Veillard
6f7f84a772
* src/virsh.c src/xen_internal.c: applied patch from Atsushi SAKAI
...
to better handle the case where there is no limit in the domain
upper memory size
* docs/architecture.html docs/format.html docs/intro.html
docs/libvir.html: started to update the documentation to reflect
the current state
Daniel
2007-03-15 14:27:09 +00:00
Daniel Veillard
b35adb3836
* src/virsh.c: bad pointer/int mismatch fixes from Richard Jones
...
daniel
2007-03-09 13:44:24 +00:00
Daniel P. Berrange
b776222049
Added --readonly flag to virsh
2007-03-08 13:48:22 +00:00
Daniel Veillard
b412cfadb5
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
...
src/driver.h src/libvirt.c src/libvirt_sym.version
src/proxy_internal.c src/qemu_internal.c src/test.c src/virsh.c
src/xen_internal.c src/xen_internal.h src/xend_internal.c
src/xm_internal.c src/xs_internal.c: applied patch from
Masayuki Sunou to add and entry point to check the maximum
number of virtual CPU supported by a virtualization mechanism
* doc/*.html doc/libvirt-*.xml: regenerated the interfaces descriptions
and associated docs.
Daniel
2007-03-08 08:31:07 +00:00
Daniel P. Berrange
d6db609d74
Fixed up numerous compiler warnings
2007-03-06 21:55:44 +00:00
Daniel P. Berrange
6e760fb6d7
Fix vncdisplay command in virsh
2007-03-02 14:22:33 +00:00
Daniel P. Berrange
00602abe00
Fix SEGV in tab completion of virsh commands
2007-02-27 15:35:50 +00:00
Daniel P. Berrange
a0d210598f
Fixed virsh command line arg handling for -t option
2007-02-27 15:32:18 +00:00
Mark McLoughlin
992176b177
Fri Feb 23 10:26:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: in "start" and "net-start" use e.g.
vshCommandOptDomainBy() so that we actually get an
error message if the domain/network isn't found.
2007-02-23 10:27:53 +00:00
Mark McLoughlin
55868d76a7
Fri Feb 23 08:51:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: add "autostart" and "net-autostart" commands
and cleanup the "list" and "net-list" commands a bit.
2007-02-23 08:58:25 +00:00
Mark McLoughlin
458344c94e
Fri Feb 20 18:25:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* virsh.c: cmdNetworkList() re-indent this.
2007-02-20 18:25:46 +00:00
Mark McLoughlin
4ccb9579ff
Tue Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
Fix from Richard W.M. Jones <rjones@redhat.com>
* virsh.c: add a colon after the connect arg to
getopt_long()
2007-02-14 16:53:55 +00:00
Mark McLoughlin
c3373b92a0
Tue Feb 14 15:03:22 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
to VSH_BYFOO in order to re-use it for the network stuff.
2007-02-14 16:04:55 +00:00
Mark McLoughlin
c9724cf339
Tue Feb 14 15:43:28 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: add the net-* commands.
2007-02-14 15:44:58 +00:00
Daniel P. Berrange
23ad665cb0
Added QEMU support
2007-02-14 01:40:09 +00:00
Daniel P. Berrange
85535863c5
Whiteclean/indentation cleanup/fixup. No functional change
2007-02-07 13:50:18 +00:00
Daniel P. Berrange
9c9e9b79c8
Rename virRunConsole to vshRunConsole
2007-01-28 19:47:36 +00:00
Daniel P. Berrange
786024b7dd
Added vncdisplay & console commands to virsh
2007-01-26 11:54:29 +00:00
Daniel Veillard
079dc77af6
* src/virsh.c: Richard W.M. Jones pointed out a missing option
...
in getopt_long()
Daniel
2007-01-26 11:49:01 +00:00
Mark McLoughlin
6d153563be
Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
VIR_UUID_STRING_BUFLEN
* libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
libvirt/src/internal.h, libvirt/src/libvirt.c,
libvirt/src/proxy_internal.c, libvirt/src/test.c,
libvirt/src/virsh.c, libvirt/src/xend_internal.c,
libvirt/src/xm_internal.c, libvirt/src/xml.c,
libvirt/python/libvir.c: use them
2007-01-23 14:39:45 +00:00
Mark McLoughlin
dab5d10763
Mon Jan 23 12:28:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
Issues pointed out by Karel Zak <kzak@redhat.com>
* src/virsh.c: fix up some syntax strings, use BUFSIZ
and free names returned from virConnectListDefinedDomains()
2007-01-23 12:28:38 +00:00
Daniel P. Berrange
d042d339d1
Fix crash in virsh connect command
2007-01-22 20:43:02 +00:00