Richard W.M. Jones
27151b3d10
Mon Apr 30 18:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/proxy_internal.c (xenProxyGetCapabilities): Add support
for virConnectGetCapabilities across Xen proxy.
2007-04-30 16:58:26 +00:00
Richard W.M. Jones
ebd8071688
Mon Apr 30 18:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/xen_unified.c: In the non-root case keep track of the
Xen underlying drivers which opened correctly and only
try methods on those opened drivers.
2007-04-30 16:57:15 +00:00
Richard W.M. Jones
68c6d74fa1
Mon Apr 30 17:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/libvirt.c (virConnectNumOfDefinedDomains): Documentation
fix (thanks to Jan Michael).
2007-04-30 16:55:34 +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
c847530f97
* src/internal.h src/xend_internal.c: a better fix from Shigeki Sakamoto
...
and raising errors on memory shortage.
Daniel
2007-04-24 13:44:16 +00:00
Daniel Veillard
b371d037b2
* src/internal.h src/xend_internal.c src/xml.c: applied 2 bug fixes
...
from Shigeki Sakamoto about large buffers.
Daniel
2007-04-23 07:41:23 +00:00
Mark McLoughlin
e826f73647
Thu Apr 19 12:09:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* docs/libvirt.rng: fix duplicate x86_64 arch
2007-04-19 11:11:06 +00:00
Richard W.M. Jones
12a60bc433
Thu Apr 19 09:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/libvir.html: Change to space.
2007-04-19 08:44:07 +00:00
Daniel Veillard
07f347101c
* libvir.rng: applied patch to fix regexp constructs from Robin Green
...
Daniel
2007-04-19 07:57:06 +00:00
Richard W.M. Jones
e76632c912
Wed Apr 18 16:16:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* docs/libvir.html: Documentation for the remote patch.
2007-04-18 15:14:32 +00:00
Richard W.M. Jones
dbcc662ea3
Wed Apr 18 11:12:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/test.c, src/libvirt.c, src/virterror.c,
include/libvirt/virterror.h: Add a VIR_FROM_TEST error class
and ensure that test driver errors are from this class.
Tidy up the error messages generated by the test driver when
user doesn't add a path to the URL and avoid open ("/").
2007-04-18 10:14:07 +00:00
Daniel Veillard
435ce72149
* docs/remote.html docs/site.html docs/*.html: added a stub for
...
the remote page, added it to stylesheet and regenerated
Daniel
2007-04-18 09:58:35 +00:00
Daniel Veillard
9ab00c05bf
* docs/* NEWS libvirt.spec.in: prepare release of 0.2.2
...
* docs/apibuild.py: do not scan xen_unified for APIs.
Daniel
2007-04-17 09:33:51 +00:00
Daniel P. Berrange
733c5a2350
Check for existance of QEMU binary
2007-04-16 13:14:28 +00:00
Daniel P. Berrange
0de8efe4a0
Implement driver for virDomainGetOSType in QEMU guests
2007-04-16 13:10:05 +00:00
Daniel P. Berrange
b4259bbc37
Fixed exception reporting for domain/network operations
2007-04-16 12:37:59 +00:00
Daniel P. Berrange
cc05eaf803
Fixed integer overflow in QEMU guest CPU time
2007-04-15 19:58:44 +00:00
Daniel P. Berrange
9e4d606303
Back out accidental commit of code adding an <os> block for dom0
2007-04-13 14:08:38 +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 P. Berrange
42ee7111c3
Fixed up various functions for Xen 3.0.5
2007-04-13 00:43:57 +00:00
Richard W.M. Jones
dfe570a9ef
Thu Apr 12 15:18:00 BST 2007 Richard Jones <rjones@redhat.com>
...
* src/libvirt.c: set VIR_CONNECT_RO on read-only connections.
Patch by S.Sakamoto.
2007-04-12 14:18:39 +00:00
Daniel Veillard
1ec25df269
* src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou
...
to handle CDRom devices with no device name
* tests/sexpr2xmltest.c tests/xml2sexprtest.c
tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.sexpr
tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml
tests/xml2sexprdata/xml2sexpr-no-source-cdrom.sexpr
tests/xml2sexprdata/xml2sexpr-no-source-cdrom.xml: added regression
tests for this case based on Nobuhiro Itou test inputs.
Daniel
2007-04-11 16:06:30 +00:00
Daniel P. Berrange
19c6ddcce5
Fixed up IPtables rules to be more strict
2007-04-10 23:17:46 +00:00
Daniel P. Berrange
7fd0878c40
Added vir*GetAutostart APIs to python
2007-04-10 23:15:58 +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
Richard W.M. Jones
1f88a2d031
Tue Apr 10 13:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/xen_unified.c (xenUnifiedRegister): Comment the
xenUnifiedRegister function to avoid error message
when building docs/. Patch from Atsushi SAKAI.
2007-04-10 13:00:26 +00:00
Richard W.M. Jones
0c52de4d8e
Tue Apr 10 12:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/xen_unified.h, src/xen_unified.c: Fix indentation.
2007-04-10 11:17:34 +00:00
Daniel Veillard
73dd7f0ff5
* src/test.c: converted to new XPath APIs
...
* src/xml.c: fixed a return comment
Daniel
2007-04-06 15:34:09 +00:00
Daniel Veillard
4bdac20ad6
* src/xml.[ch]: first patch to clean up XPath accesses with new
...
routines, only xml.c is cleaned up, other modules to follow.
Daniel
2007-04-06 12:28:24 +00:00
Richard W.M. Jones
18cd1a1e57
Wed Apr 4 15:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* src/xen_unified.c et al: Unified Xen driver. Architecture
described here:
https://www.redhat.com/archives/libvir-list/2007-March/msg00396.html
2007-04-04 14:19:49 +00:00
Richard W.M. Jones
ad8bef84d1
Wed Apr 4 10:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
...
* configure.in, qemud/Makefile.am: Set QEMUD_PID_FILE macro
correctly (expand ${prefix} in Makefile).
* qemud/qemud.c: Add command line help.
* ChangeLog: Remove a CVS '>>>>' conflict line which had
been committed inadvertently.
2007-04-04 09:32:00 +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
Mark McLoughlin
8ba930c380
Wed Mar 30 17:25:33 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/iptables.c: As suggested by danpb, make libvirt_qemud
handle SIGHUP by re-loading the iptables rules.
2007-03-30 16:25:02 +00:00
Mark McLoughlin
812b34fdd8
Wed Mar 30 17:24:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/iptables.c: Re-factor things a little so that we
maintain the rules in memory even when we're not going
to write them to disk.
2007-03-30 16:24:13 +00:00
Mark McLoughlin
42d4b85d86
Wed Mar 30 17:21:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/iptables.c: Remove the target interface parameter
from iptablesPhysdevForward(). This rule is intended to
allow frames to be forwarded across the bridge from the
supplied bridge port. In this context, the --out parameter
would match the outgoing bridge port, which will never
be network->def->forwardDev.
2007-03-30 16:23:04 +00:00
Mark McLoughlin
27c1d7b9fa
Wed Mar 30 17:17:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/iptables.c: ensure iptablesContext is zereod out
when allocating so we don't try and free an invalid pointer.
2007-03-30 16:20:19 +00:00
Richard W.M. Jones
0ab7cda38c
* python/generator.py: Python bindings now throw exceptions
...
in almost all cases where an error is encountered in the
underlying libvirt code.
2007-03-28 11:24:14 +00:00
Daniel Veillard
6ec6b79669
* src/xen_internal.c: applied patch from Masayuki Sunou fixing the
...
erroneous value of the hypercall XEN_V2_OP_SETMAXMEM
* libvirt.spec.in: applies changes from Jeremy Katz for libvirt
spec and also another fix from Michael Schwendt fixing rhbz#233874
Daniel
2007-03-28 08:48:52 +00:00
Daniel P. Berrange
1109ba44e2
Fixed bridge networking for QEMU
2007-03-27 14:46:45 +00:00
Daniel P. Berrange
348209ca26
Fixed Xen capabilities parsing & added test suite
2007-03-27 14:45:17 +00:00
Richard W.M. Jones
17d0bf6454
* qemud/qemud.c: If using FORTIFY_SOURCE, remove warning
...
warn_unused_result by counting errors found in signal
handler and logging them in the main loop.
2007-03-27 10:28:45 +00:00
Daniel Veillard
2b233a049e
* acinclude.m4: applied patch from Jim Meyering to avoid clobbering
...
user specified CFLAGS
Daniel
2007-03-26 09:30:36 +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
Richard W.M. Jones
ba83eae40f
* src/xen_internal.c: Fix detection of host PAE capabilities,
...
nul-terminate the token in the output XML and a couple of
cleanups for determining structure sizes.
2007-03-23 09:18:24 +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
f39faaa708
* docs/*.html: repair the damages made by Amaya on the content
...
of documentation following feedback from Simon Hernandez
Daniel
2007-03-22 15:17:31 +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
794d6d7a0c
* libvirt.spec.in: one more extra fix for autostart dir from
...
Florian La Roche, should fix #233409
Daniel
2007-03-22 09:39:43 +00:00
Daniel P. Berrange
07e38ad6e8
Remove realloc call which caused overflow
2007-03-21 15:32:32 +00:00
Daniel Veillard
f2ffea858c
* qemud/buf.c src/xml.c: clarified virBufferGrow (and bufferGrow)
...
routines documentation and fixes a couple of places where this
was misused as pointed by Daniel Berrange.
Daniel
2007-03-21 15:24:56 +00:00
Daniel P. Berrange
1c236e9c25
Enable compiler stack protection flags
2007-03-21 14:52:12 +00:00
Daniel P. Berrange
07fb9d64b0
Fixed buffer overflow in qemu networking
2007-03-20 16:50:42 +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
633a3bef0d
* src/xen_internal.c: applied patch from Atsushi SAKAI fixing
...
direct hypervisor calls on some recent Xen versions
Daniel
2007-03-20 15:22:39 +00:00
Daniel Veillard
7c21366518
* libvirt.spec.in: missing /etc/libvirt/qemu/networks/autostart
...
Daniel
2007-03-20 14:49:43 +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
5af3ccc8f8
* qemud/protocol.h src/internal.h: applied patch from Jim Meyering
...
removing global variables (using named enum instead).
Daniel
2007-03-19 14:18:05 +00:00
Daniel Veillard
7bdee4adef
* src/libvirt.c: patch from Atsushi SAKAI, fixing virsh access
...
as root when libvirt_qemud is not running
* TODO: updated
Daniel
2007-03-19 10:15:52 +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
f162d50399
* NEWS libvirt.spec.in docs/libvir.html docs/news.html: preparing
...
release of libvirt-0.2.1
Daniel
2007-03-16 19:31:14 +00:00
Daniel Veillard
d1b1545168
* docs/*: updated the format section, augmented Networking with
...
description provided by Daniel Berrange
* po/*: regenerated
Daniel
2007-03-16 18:33:53 +00:00
Daniel Veillard
9e170a88cd
* qemud/conf.c qemud/driver.h qemud/internal.h src/internal.h
...
src/sexpr.h src/test.c src/xm_internal.c src/xml.c src/xml.h:
applied patch from Richard Jones adding check to printf-like
functions and fixing the problems raised
Daniel
2007-03-16 15:03:21 +00:00
Daniel Veillard
d7e1c4fc51
* src/xml.c tests/sexpr2xmltest.c tests/xmconfigtest.c: avoid
...
warnings when compiling without Xen
Daniel
2007-03-16 14:55:51 +00:00
Daniel Veillard
ccee35cbb0
* python/generator.py: patch from Tatsuro Enokura to fix
...
virNetworkDefine binding
Daniel
2007-03-16 10:44:44 +00:00
Daniel P. Berrange
d59c9d2fa8
Fixed use of regexps in capabilities APIs
2007-03-15 18:59:47 +00:00
Daniel P. Berrange
33134578b3
Fixed two bugs in QEMU impl of capabilities call
2007-03-15 18:23:00 +00:00
Daniel P. Berrange
6d11322bc7
Fixed uninitialized value warning
2007-03-15 18:15:14 +00:00
Daniel P. Berrange
3f2184a401
Change installation of default network XML in RPM
2007-03-15 17:51:11 +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
d59bfbd00e
* python/generator.py: fix the python binding generation for
...
virNetworkLookup...() functions, which were clashing with
equivalent virConnLookup...() equivalents, as reported by
Tatsuro Enokura
Daniel
2007-03-15 15:23:21 +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
181ce1fdc6
* configure.in proxy/Makefile.am proxy/libvirt_proxy.c
...
src/Makefile.am src/libvirt.c src/qemu_internal.c src/test.c
src/xen_internal.c src/xen_internal.h src/xend_internal.c
src/xm_internal.c src/xml.c src/xs_internal.c
tests/Makefile.am tests/sexpr2xmltest.c tests/xmconfigtest.c:
allow selective compilation of Xen,QEmu/KVM and test support
in or out at configure time. Also allows to compile on a system
without Xen development installed. All drivers are selected by
default.
Daniel
2007-03-15 07:43:16 +00:00
Daniel Veillard
98d3a3f1f8
* src/xend_internal.c: applied patch from Kazuki Mizushima, an
...
inversion between shutoff and shutdown flags
* po/* doc/*: automatic update
Daniel
2007-03-14 13:14:50 +00:00
Daniel P. Berrange
a534de5281
Improve support for virtual networking
2007-03-13 22:43:22 +00:00
Daniel P. Berrange
06b3f3ced3
Fixed generation of UUIDs to work on upgrades
2007-03-13 03:18:52 +00:00
Daniel P. Berrange
afa1d92a9f
Autogenerate UUID for default network
2007-03-12 16:32:43 +00:00
Daniel P. Berrange
a274fe6574
Generate random UUID for network config
2007-03-12 14:10:14 +00:00
Daniel P. Berrange
deb5db5e1b
Export virConf symbols with leading __
2007-03-09 20:47:12 +00:00
Daniel P. Berrange
6a66941843
Added python bindings for networking APIs
2007-03-09 15:42:50 +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
03d48a87ed
Fix double free in XML parsing
2007-03-09 03:08:34 +00:00
Daniel P. Berrange
aeccfe85be
Make sure to create system socket directory
2007-03-08 23:31:28 +00:00
Daniel P. Berrange
dc8c7754bb
Make compiler warnings fatal errors for automated builds
2007-03-08 21:32:18 +00:00
Daniel P. Berrange
c992b3f77d
Incorporate automated build number if RPM release
2007-03-08 21:31:20 +00:00
Daniel P. Berrange
102c75057a
Fix misc bugs in qemu connection opening
2007-03-08 15:16:01 +00:00
Daniel P. Berrange
f30b84f901
Refactored driver reg to avoid type-punning
2007-03-08 14:53:41 +00:00
Daniel Veillard
6a1e3d5f36
* src/internal.h src/xend_internal.c src/xm_internal.c src/xml.c:
...
add a check for minimal size of Xen Dom0, track places where we
had arbitrary minimal memory requirement and use a predefined
macro to clean this up.
Daniel
2007-03-08 14:12:06 +00:00
Daniel P. Berrange
b776222049
Added --readonly flag to virsh
2007-03-08 13:48:22 +00:00
Daniel Veillard
1e95c63059
* src/xml.c: applied patch from Nobuhiro Itou to allow the
...
VNC port 5900 to be used with xend, it's an edge case.
Daniel
2007-03-08 08:55:56 +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
Mark McLoughlin
60796a554b
Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/default-network.xml: add a default network
* qemud/Makefile.am: install it, and the autostart symlink
* libvirt.spec.in: update
2007-03-07 11:54:29 +00:00
Daniel P. Berrange
ab1649d367
virGetDomain/Network require non-NULL name & UUID
2007-03-06 22:06:14 +00:00
Daniel P. Berrange
d6db609d74
Fixed up numerous compiler warnings
2007-03-06 21:55:44 +00:00
Daniel P. Berrange
955f12037e
Added support for keymap in VNC display
2007-03-06 20:00:17 +00:00
Daniel P. Berrange
8cb208cd57
Fixed unlink of readonly mode socket
2007-03-06 16:51:48 +00:00
Daniel P. Berrange
e8c6aa703a
Remove bogus ATTRIBUTE_UNUSED annotation
2007-03-05 17:20:09 +00:00
Daniel P. Berrange
b5dfaef4dc
Wait for monitor at startup
2007-03-05 17:15:20 +00:00
Mark McLoughlin
868bcd72c7
Mon Mar 05 16:39:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: don't try and listen to a null socket
path when run as a session daemon. Noticed by Rich Jones
2007-03-05 16:40:34 +00:00
Mark McLoughlin
7911e22ef7
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com:
...
* qemud/driver.c: fix a couple of invalid free() calls
2007-03-05 12:34:27 +00:00
Mark McLoughlin
c69c850871
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:
...
* libvirt.spec.in: BuildRequires: /sbin/iptables and
run configure with the --with-init-script and
--with-qemud-pid-file parameters.
* configure.in: it's --with-qemud-pid-file, not
--with-pid-file
2007-03-05 11:10:06 +00:00