Cole Robinson
34b1a03402
Fix disk ordering and add target duplication checking when parsing domain xml.
2008-09-03 14:30:24 +00:00
Daniel Veillard
53738f83a5
avoid a segfault on CD eject in KVM/QEmu
...
* src/qemu_driver.c: patch from Cole Robinson to avoid a segfault
on KVM CD eject
Daniel
2008-09-03 12:52:27 +00:00
Daniel Veillard
54a4f8d44d
add output on attach and detach success
...
* src/virsh.c: patch from Cole Robinson to add output on attach
and detach success
daniel
2008-09-03 12:38:28 +00:00
Daniel Veillard
d9d3478a89
* AUTHORS: add Cole Robinson as commiter
...
daniel
2008-09-03 12:24:50 +00:00
Daniel Veillard
b419ebc7e9
* src/storage_conf.c: add one missing check in virStoragePoolDefParseDoc
...
Daniel
2008-09-03 07:12:37 +00:00
Daniel Veillard
10ccfc92f3
* src/domain_conf.c: fix a parsing error for input devices
...
patch by Cole Robinson
daniel
2008-09-02 15:33:39 +00:00
Daniel Veillard
b8f2610280
check availbility of emulators before reporting them in capabilities
...
* src/qemu_conf.c: patch from Cole Robinson to report in the
capabilities only the ones where the emulators is actually found
* po/libvirt.pot: regenerated
* src/libvirt.c: small typo fix
Daniel
2008-09-02 15:00:09 +00:00
Daniel Veillard
41ce15a586
Adds storage source element for pools
...
* src/storage_backend.h src/storage_backend_logical.c
src/storage_conf.c src/storage_conf.h src/virsh.c:
Applied patches from David Lively to add storage source
elements needed for storage pool
* docs/formatstorage.html docs/formatstorage.html.in: associated
documentation
Daniel
2008-09-02 14:15:42 +00:00
Jim Meyering
81cb09f9fe
qemu_conf.c: use new function, virFileReadLimFD
...
* src/qemu_conf.c (qemudExtractVersionInfo): Use virFileReadLimFD
and VIR_FREE in place of an open-coded loop and a static buffer.
2008-09-02 10:30:40 +00:00
Jim Meyering
d2ac46f2b0
util.c: add a file-descriptor-based wrapper for fread_file_lim
...
* src/util.c (virFileReadLimFP): New function.
(__virFileReadLimFD): New function.
* src/util.h (__virFileReadLimFD): Declare.
(virFileReadLimFD): Define.
(virFileReadAll): Rewrite to use virFileReadLimFP.
2008-09-02 10:29:51 +00:00
Daniel P. Berrange
3348a97bd3
Switch over fork/exec code to use virExec
2008-08-29 07:11:15 +00:00
Daniel P. Berrange
afac1439aa
Allow for private root filessytem in containers using pivot_root
2008-08-28 22:40:50 +00:00
Daniel P. Berrange
8f762e34f3
Fix lookup of xen VM after define (Cole Robinson)
2008-08-28 11:59:07 +00:00
Jim Meyering
ff7ecc1d5b
improve parallel build support
...
* autobuild.sh: Append -j$N to MAKEFLAGS, if no -j option is there.
* libvirt.spec.in: Use %{?_smp_mflags} with "make".
Based on a patch from James Morris:
http://thread.gmane.org/gmane.comp.emulators.libvirt/8201
2008-08-28 09:08:44 +00:00
Daniel P. Berrange
39c9354c5c
Add storage pool source discovery support (patch from David Lively)
2008-08-27 20:05:58 +00:00
Daniel P. Berrange
406f3ee9e8
Fix QEMU domain creation by allowing virExec to preserve certain FDs
2008-08-27 11:44:58 +00:00
Daniel P. Berrange
da1963381b
Fix QEMU domain creation by allowing virExec to preserve certain FDs
2008-08-27 11:42:52 +00:00
Daniel P. Berrange
2875ed81bd
Fix EOF handling when reading openvz domain list
2008-08-27 11:21:01 +00:00
Daniel P. Berrange
d81b038cc2
Remove use of virState apis from openvz driver
2008-08-27 11:19:45 +00:00
Dan Smith
5fb17bcc1e
[LXC] Cleanup devices on container shutdown
2008-08-22 15:35:37 +00:00
Daniel P. Berrange
8f789f1b2f
Use libvirt error message for python exceptions
2008-08-22 10:50:18 +00:00
Jim Meyering
6c02ba0540
configure.in: link with -lpthread when necessary
...
* configure.in: Explicitly add -lpthread to $LIBS.
With an empty "ACTION_IF_FOUND", AC_CHECK_LIB would have done
that for us automatically, but when there is an explicit third
argument, those commands are run instead of the default.
Reported by Jun Koi <junkoi2004@gmail.com>.
2008-08-22 08:32:58 +00:00
Jim Meyering
7e0da18527
autobuild.sh: Fix minor shell-quoting bugs.
...
* autobuild.sh: Remove unnecessary quotes.
Don't choke on a file name argument containing a space.
Don't misbehave for $AUTOBUILD_INSTALL_ROOT containing
a shell meta-character.
2008-08-21 19:31:55 +00:00
Mark McLoughlin
e2d7a26ec0
Forgotten ChangeLog entry
2008-08-21 11:51:27 +00:00
Daniel P. Berrange
9472d3e2f3
Improve error reporting from remote driver
2008-08-21 10:14:54 +00:00
Daniel P. Berrange
11a2e2972a
Propagate virConnectOpen errors to global error object
2008-08-21 10:12:32 +00:00
Daniel P. Berrange
c2bbf99e48
Remove unused lx_controller.h file
2008-08-21 10:07:21 +00:00
Daniel P. Berrange
585c7a4185
Add libvirt_lxc to file list
2008-08-21 09:28:54 +00:00
Daniel P. Berrange
5f134f0197
Ignore libvirt_lxc binary
2008-08-21 09:14:39 +00:00
Daniel P. Berrange
177c74b1fa
Create lxc_controller standalone binary
2008-08-20 20:55:32 +00:00
Daniel P. Berrange
bb16f4a25d
Do conditional driver config in Makefile.am, not source files
2008-08-20 20:48:35 +00:00
Daniel P. Berrange
6334cd16df
Remove configFile/autostartLink vars from virDomainObj struct
2008-08-20 19:42:36 +00:00
Daniel Veillard
b1e5880740
add cpu management functionality to OpenVZ driver
...
* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
to limit the number of CPUs used by OpenVZ domains.
Daniel
2008-08-20 13:44:03 +00:00
Daniel Veillard
ce9439358c
Fix creating and cleaning up logical volumes if a target path is specified
...
* src/storage_backend_logical.c: Patch from Cole Robinson, fix
creating and cleaning up logical volumes if a target path is
specified.
Daniel
2008-08-20 13:33:01 +00:00
Daniel Veillard
ace1b6bf98
Fix size reporting for disks without partitions.
...
* src/parthelper.c: Patch from Cole Robinson, fix size reporting for
disks without partitions.
Daniel
2008-08-20 13:20:01 +00:00
Daniel Veillard
4240b3fd63
Handle HTML generation in the absence of XHTML1 DTDs
...
* configure.in libvirt.spec.in docs/Makefile.am: fix the problem
of HTML generation in the absence of XHTML1 DTDs in the system
catalog.
Daniel
2008-08-20 13:16:29 +00:00
Daniel Veillard
b73d495754
* src/network_conf.c src/network_conf.h src/qemu_driver.c: allow to
...
add static host definition for dnsmasq
Daniel
2008-08-20 12:50:29 +00:00
Daniel P. Berrange
1b4bb7d4ab
Allow non-blocking/daemon mode to be specified via virExec flags
2008-08-20 09:24:14 +00:00
Daniel P. Berrange
6bc99a7775
Allow a pre-opened FD to be be pass to virExec for stdout/err
2008-08-20 09:08:17 +00:00
Daniel P. Berrange
60ed1d2a7a
Avoid signal race in virExec
2008-08-20 08:53:49 +00:00
Daniel P. Berrange
f2172946e5
Improve virExec error reporting
2008-08-20 08:30:04 +00:00
Daniel P. Berrange
5cd1d3c53c
Remove duplicated call to virInitialize
2008-08-18 09:24:46 +00:00
Mark McLoughlin
7c3ccd6f14
Fri Aug 15 11:00:38 IST 2008 Mark McLoughlin <markmc@redhat.com>
...
* src/qemu_conf.c: fix serial/telnet to use "server" option
rather than "listen"
* tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.args:
fix the test case too
2008-08-15 10:02:33 +00:00
Atsushi SAKAI
6fd4c30285
fix typos src/virsh.c from John Levon,
...
and 3 more files(src/domain_conf.c src/openvz_driver.c src/qemu_driver.c)
2008-08-15 01:41:49 +00:00
Daniel P. Berrange
2723efaae1
Update LXC driver in POTFILES.in
2008-08-14 09:07:18 +00:00
Daniel P. Berrange
2e7a373646
Switch LXC driver over to generic domain XML processing APIs
2008-08-13 12:50:55 +00:00
Daniel P. Berrange
763dacda97
Make LXC I/O controller process a parent of the container process
2008-08-13 10:52:15 +00:00
Daniel P. Berrange
518c2144e5
Re-arrange code between LXC driver files
2008-08-13 10:25:34 +00:00
Daniel P. Berrange
e82c913680
Refactor LXC driver to pass tty/socket state directly
2008-08-13 10:14:47 +00:00
Daniel Veillard
415b92101f
* docs/storage.html[.in] src/storage_backend_disk.c: revert previous
...
msdos patch and apply new one from Cole Robinson
daniel
2008-08-13 09:45:10 +00:00