]>
xenbits.xensource.com Git - libvirt.git/log
Daniel Veillard [Thu, 2 Apr 2009 13:19:11 +0000 (13:19 +0000)]
* docs/schemas/domain.rng: some missing disk bus values and cleanups
daniel
Daniel Veillard [Thu, 2 Apr 2009 12:01:11 +0000 (12:01 +0000)]
* docs/*: start cleanup/revamp of architecture docs
daniel
Daniel Veillard [Thu, 2 Apr 2009 09:56:17 +0000 (09:56 +0000)]
* po/*: updated brazilian, spanish, polish and simplified chinese translations
and regenerated
Daniel
Daniel P. Berrange [Wed, 1 Apr 2009 16:03:22 +0000 (16:03 +0000)]
SCSI HBA storage pool implementation (Dave Allan)
Daniel P. Berrange [Wed, 1 Apr 2009 10:40:38 +0000 (10:40 +0000)]
Make SASL check also look for libsasl.so if libsasl2.so is missing
Daniel P. Berrange [Wed, 1 Apr 2009 10:39:12 +0000 (10:39 +0000)]
Fix crash after calling virConnectClose
Daniel P. Berrange [Wed, 1 Apr 2009 10:37:57 +0000 (10:37 +0000)]
Fix generation of networkCreateXML and storagePoolCreateXML
Daniel P. Berrange [Wed, 1 Apr 2009 10:36:52 +0000 (10:36 +0000)]
Fix localtime handling for newer XenD
Daniel P. Berrange [Wed, 1 Apr 2009 10:31:01 +0000 (10:31 +0000)]
Misc fixes uncovered by OOM testing
Daniel P. Berrange [Wed, 1 Apr 2009 10:26:22 +0000 (10:26 +0000)]
Sanitize symlink resolution
Daniel P. Berrange [Wed, 1 Apr 2009 10:21:34 +0000 (10:21 +0000)]
Fix misc memory handling bugs
Daniel P. Berrange [Wed, 1 Apr 2009 10:16:05 +0000 (10:16 +0000)]
Add support for vifname= in XM config files
Daniel P. Berrange [Wed, 1 Apr 2009 10:01:23 +0000 (10:01 +0000)]
Improve error reporting in Xen driver SEXPR generation
Daniel P. Berrange [Wed, 1 Apr 2009 09:55:32 +0000 (09:55 +0000)]
Fix error message in node device lookup
Daniel P. Berrange [Wed, 1 Apr 2009 09:54:20 +0000 (09:54 +0000)]
Fix URI check in QEMU migration
Daniel P. Berrange [Wed, 1 Apr 2009 09:52:59 +0000 (09:52 +0000)]
Add treeview to node device listing in virsh
Chris Lalancette [Tue, 31 Mar 2009 15:47:16 +0000 (15:47 +0000)]
Convert all drivers to use old-style struct initializers; this makes a handy
built-in TODO list for each driver. Also rip out the internal getURI method;
it is never used by any of the drivers, and was buggy to boot.
Daniel Veillard [Tue, 31 Mar 2009 12:45:07 +0000 (12:45 +0000)]
* libvirt.spec.in: better modularization of the spec file,
patch by Ryota Ozaki
daniel
Daniel Veillard [Tue, 31 Mar 2009 12:26:54 +0000 (12:26 +0000)]
* src/util.c: fix virRun() to prevent zombies on pipe errors,
patch by Ryota Ozaki
daniel
Daniel P. Berrange [Fri, 27 Mar 2009 14:57:51 +0000 (14:57 +0000)]
DOn't try to query memory balloon if guest isn't active
Daniel P. Berrange [Fri, 27 Mar 2009 11:44:29 +0000 (11:44 +0000)]
Support memory ballooning in QEMU
Daniel P. Berrange [Tue, 24 Mar 2009 11:16:29 +0000 (11:16 +0000)]
Default to native arch, and check domain type when auto-filling guest arch (Soren Hansen)
Daniel P. Berrange [Tue, 24 Mar 2009 11:00:21 +0000 (11:00 +0000)]
Include 'CHECK: ' prefix when printing name of each syntax-check rule that is run
Daniel P. Berrange [Tue, 24 Mar 2009 10:59:13 +0000 (10:59 +0000)]
Add support for a non-template filesystem root. (Florian Vichot)
Daniel Veillard [Mon, 23 Mar 2009 16:36:32 +0000 (16:36 +0000)]
fix missing authentication on virsh shell commands
* src/virsh.c: fix missing authentication when command are issued
from the shell, patch by Matthias Bolte
Daniel
Daniel Veillard [Fri, 20 Mar 2009 20:46:07 +0000 (20:46 +0000)]
* src/util.c: flag unused parameters, by Maximilian Wilhelm
daniel
Daniel Veillard [Fri, 20 Mar 2009 12:17:56 +0000 (12:17 +0000)]
use posix_fallocate() to allocate diskspace faster
* src/libvirt_private.syms src/storage_backend_fs.c src/util.c
src/util.h: use posix_fallocate() on supported systems to
allocate diskspace faster, patches by Amit Shah
Daniel
Daniel P. Berrange [Fri, 20 Mar 2009 11:44:17 +0000 (11:44 +0000)]
Fix test breakage on x86_64 from previous change
Daniel P. Berrange [Fri, 20 Mar 2009 11:20:26 +0000 (11:20 +0000)]
More flexible setup of QEMU capabilities/emulators
Daniel Veillard [Thu, 19 Mar 2009 14:26:51 +0000 (14:26 +0000)]
* docs/schemas/domain.rng: extend definition for security attributes
daniel
Daniel P. Berrange [Tue, 17 Mar 2009 11:35:40 +0000 (11:35 +0000)]
Fix labelling of shared/readonly devices (Dan Walsh)
Daniel Veillard [Tue, 17 Mar 2009 11:00:56 +0000 (11:00 +0000)]
* src/remote_internal.c: remove file descriptors leak
daniel
Cole Robinson [Mon, 16 Mar 2009 17:21:12 +0000 (17:21 +0000)]
Don't allow readonly connections to dump secure xml.
Cole Robinson [Mon, 16 Mar 2009 17:16:04 +0000 (17:16 +0000)]
Initialize security driver after config parsing
Cole Robinson [Mon, 16 Mar 2009 17:14:34 +0000 (17:14 +0000)]
Fix test driver 'save' deadlock
Daniel P. Berrange [Mon, 16 Mar 2009 13:54:26 +0000 (13:54 +0000)]
Support SASL auth for VNC server.
Daniel P. Berrange [Mon, 16 Mar 2009 11:44:46 +0000 (11:44 +0000)]
Avoid deadlock setting vcpus in QEMU driver
Daniel P. Berrange [Mon, 16 Mar 2009 10:56:01 +0000 (10:56 +0000)]
Fix subsystem lookup for older HAL releases
Daniel P. Berrange [Mon, 16 Mar 2009 10:47:12 +0000 (10:47 +0000)]
Added ac97 soundcard to RNG schema & tests (Pritesh Kothari)
Daniel Veillard [Mon, 16 Mar 2009 10:41:37 +0000 (10:41 +0000)]
Avoid some potential FILE * leaks
* qemud/qemud.c src/cgroup.c src/uml_driver.c src/util.c: close
some potential FILE * leaks
Daniel
Daniel P. Berrange [Mon, 16 Mar 2009 10:35:21 +0000 (10:35 +0000)]
Fix dispatch of FD events when one or more handles are marked deleted
Daniel P. Berrange [Mon, 16 Mar 2009 10:33:01 +0000 (10:33 +0000)]
Fix handling of cpumaps arg to virDomainGetVcpus RPC dispatcher
Daniel P. Berrange [Mon, 16 Mar 2009 10:31:38 +0000 (10:31 +0000)]
Don't free storage volume in cleanup path, since it may still be referenced
Daniel P. Berrange [Mon, 16 Mar 2009 10:30:04 +0000 (10:30 +0000)]
Don't try to close NULL virConnectPtr object
Daniel Veillard [Thu, 12 Mar 2009 20:15:32 +0000 (20:15 +0000)]
* src/storage_conf.c: fix storage pool mode parsing, and refactoring
patch by Ryota Ozaki
Daniel
Daniel Veillard [Wed, 11 Mar 2009 13:43:24 +0000 (13:43 +0000)]
* src/xs_internal.c: fix xen events handling problem (Dan Berrange)
Daniel
Daniel Veillard [Tue, 10 Mar 2009 11:13:32 +0000 (11:13 +0000)]
* src/xend_internal.c: fix an allocation problem in xenDaemonDomainLookupByName_ids
Daniel
Daniel P. Berrange [Tue, 10 Mar 2009 10:32:24 +0000 (10:32 +0000)]
Fix Xen block detach with newer Xend (Cole RobinSon / Tomohiro Takahashi)
Daniel Veillard [Fri, 6 Mar 2009 14:44:04 +0000 (14:44 +0000)]
* src/cgroup.c src/cgroup.h src/lxc_driver.c: allows to get
CPU usage of a lxc using cpuacct subsystem of cgroups, patch
by Ryota Ozaki
Daniel
Daniel Veillard [Wed, 4 Mar 2009 13:17:44 +0000 (13:17 +0000)]
* NEWS configure.in libvirt.spec.in doc/* include/libvirt/libvirt.h:
release of 0.6.1
* po/*: rebuilt
* AUTHORS: updated to list new contributors
Daniel
Daniel P. Berrange [Wed, 4 Mar 2009 13:04:06 +0000 (13:04 +0000)]
Fix misc failures in test suite & make test cases more robust to future changes
Daniel P. Berrange [Tue, 3 Mar 2009 19:33:34 +0000 (19:33 +0000)]
Add missing locking calls in remote driver
Daniel P. Berrange [Tue, 3 Mar 2009 17:00:18 +0000 (17:00 +0000)]
Use lseek+saferead/write for pci.c & dont link to qemu driver for nodedevxml2xmltest
Daniel P. Berrange [Tue, 3 Mar 2009 16:53:13 +0000 (16:53 +0000)]
Explicitly track static declared vs dynamically generated security labels
Daniel P. Berrange [Tue, 3 Mar 2009 15:18:24 +0000 (15:18 +0000)]
Misc sVirt bug fixes
Jim Meyering [Tue, 3 Mar 2009 15:12:30 +0000 (15:12 +0000)]
config: fix a typo
* src/qemu_conf.c (CHECK_TYPE): Fix typo:
s/security_river/security_driver/
Daniel Veillard [Tue, 3 Mar 2009 14:36:28 +0000 (14:36 +0000)]
* po/*: update italian, polish and brazilian translations, regenerate
daniel
Daniel P. Berrange [Tue, 3 Mar 2009 12:03:44 +0000 (12:03 +0000)]
QEMU security driver usage for sVirt support (James Morris, Dan Walsh, Daniel Berrange)
Daniel P. Berrange [Tue, 3 Mar 2009 11:40:08 +0000 (11:40 +0000)]
Replace use of qemudLog with logging.h APIs/macros
Jim Meyering [Tue, 3 Mar 2009 11:25:52 +0000 (11:25 +0000)]
avoid file descriptor leak when fd == 0
* src/pci.c (pciGetDevice): Initialize dev->fd to -1, not 0.
(pciFreeDevice): Close fd also when it is 0.
Jim Meyering [Tue, 3 Mar 2009 11:25:35 +0000 (11:25 +0000)]
don't leak a file descriptor on failed pciGetDevice call
* src/pci.c (pciIterDevices): Always close dir handle.
Jim Meyering [Tue, 3 Mar 2009 11:25:00 +0000 (11:25 +0000)]
update .gitignore and .hgignore files
Daniel P. Berrange [Tue, 3 Mar 2009 10:06:49 +0000 (10:06 +0000)]
SELinux security driver for sVirt support (James Morris, Dan Walsh & Daniel Berrange)
Daniel P. Berrange [Tue, 3 Mar 2009 09:59:02 +0000 (09:59 +0000)]
virsh additions for sVirt support (James Morris & Dan Walsh)
Daniel P. Berrange [Tue, 3 Mar 2009 09:44:41 +0000 (09:44 +0000)]
Core internal driver stub for sVirt support (Jams Morris & Dan Walsh)
Daniel P. Berrange [Tue, 3 Mar 2009 09:27:02 +0000 (09:27 +0000)]
Remote protocol / RPC API for sVirt support (James Morris & Dan Walsh)
Daniel P. Berrange [Tue, 3 Mar 2009 09:14:28 +0000 (09:14 +0000)]
Internal driver API for sVirt support (James Morris & Dan Walsh)
Daniel P. Berrange [Tue, 3 Mar 2009 09:09:00 +0000 (09:09 +0000)]
Public API for sVirt support (James Morris & Dan Walsh)
Daniel P. Berrange [Tue, 3 Mar 2009 08:59:45 +0000 (08:59 +0000)]
Don't try to detach & reset PCI devices while running test suite for XML-> ARGV conversion.
Daniel Veillard [Tue, 3 Mar 2009 08:25:50 +0000 (08:25 +0000)]
* qemud/qemud.c: fix qemu+tls handshake negotiation, patch by
Chris Lalancette
Daniel
Daniel P. Berrange [Mon, 2 Mar 2009 20:24:46 +0000 (20:24 +0000)]
Ignore some generated autotools files in example app
Daniel P. Berrange [Mon, 2 Mar 2009 20:22:35 +0000 (20:22 +0000)]
Always reset PCI devices
Daniel P. Berrange [Mon, 2 Mar 2009 20:19:13 +0000 (20:19 +0000)]
Export virUnrefConnect & virCapabilitiesGenerateMac to driver code
Jim Meyering [Mon, 2 Mar 2009 20:01:26 +0000 (20:01 +0000)]
tests: further isolate a test that runs libvirtd
* tests/daemon-conf: Specify a non-default socket directory.
Specify test-specific log directory and pid file, too.
Jim Meyering [Mon, 2 Mar 2009 20:01:05 +0000 (20:01 +0000)]
add two tests
* tests/libvirtd-pool: New file.
Exercise the new unix_sock_dir option
* tests/libvirtd-fail: New file.
* tests/Makefile.am (test_scripts): Add libvirtd-fail and libvirtd-pool.
Jim Meyering [Mon, 2 Mar 2009 19:03:49 +0000 (19:03 +0000)]
tests: fix an error that made us skip the daemon-conf test
* tests/Makefile.am (CONFIG_HEADER): Correct definition.
Jim Meyering [Mon, 2 Mar 2009 18:41:00 +0000 (18:41 +0000)]
tests: test for a recent fix
* tests/libvirtd-net-persist: New file. Test for today's
"Mark 'defined' networks as persistent" fix.
* tests/Makefile.am (test_scripts): Add it.
Jim Meyering [Mon, 2 Mar 2009 18:39:36 +0000 (18:39 +0000)]
virsh: tweak a format string to avoid emitting trailing space
* src/virsh.c (cmdNetworkList): Change format not to right-pad
with spaces, as that would have required a trailing blank in
an expected output file.
Cole Robinson [Mon, 2 Mar 2009 17:56:50 +0000 (17:56 +0000)]
Fix bridge generation loop counter (spotted by Jim Meyering)
Cole Robinson [Mon, 2 Mar 2009 17:41:13 +0000 (17:41 +0000)]
Recognize ejectable media in hostdev hal driver.
Cole Robinson [Mon, 2 Mar 2009 17:39:43 +0000 (17:39 +0000)]
Better error reporting from qemu AttachDevice
Cole Robinson [Mon, 2 Mar 2009 17:37:03 +0000 (17:37 +0000)]
Generate network bridge names if none passed at define/create time.
Cole Robinson [Mon, 2 Mar 2009 17:33:39 +0000 (17:33 +0000)]
Remove redundant monitor watch variable (s/monitor_watch/monitorWatch/)
Cole Robinson [Mon, 2 Mar 2009 17:29:44 +0000 (17:29 +0000)]
Mark 'defined' networks as persistent.
Daniel Veillard [Mon, 2 Mar 2009 16:40:30 +0000 (16:40 +0000)]
adds a new <hostdev managed='(yes|no)'> property to host devices in domains
* docs/schemas/domain.rng src/domain_conf.c src/domain_conf.h
src/qemu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml:
adds a new <hostdev managed='(yes|no)'> property
to host devices indicating whether or not we should
automatically dettach/reset, patch by Mark McLoughlin
daniel
Daniel Veillard [Mon, 2 Mar 2009 16:32:52 +0000 (16:32 +0000)]
* src/qemu_driver.c: add qemu dettach/reattach/reset implementation
patch by Mark McLoughlin.
Daniel
Daniel Veillard [Mon, 2 Mar 2009 16:30:59 +0000 (16:30 +0000)]
Implement node attach/reattach/reset in the remote driver
* qemud/remote.c qemud/remote_dispatch_args.h
qemud/remote_dispatch_prototypes.h qemud/remote_dispatch_table.h
qemud/remote_protocol.c qemud/remote_protocol.h
qemud/remote_protocol.x src/remote_internal.c: Implement
attach/reattach/reset in the remote driver, patch by Mark
McLoughlin.
Daniel
Daniel Veillard [Mon, 2 Mar 2009 16:28:17 +0000 (16:28 +0000)]
* src/virsh.c: add 3 new commands for node device detach, reattach and reset,
patch by Mark McLoughlin.
Daniel
Daniel Veillard [Mon, 2 Mar 2009 16:25:13 +0000 (16:25 +0000)]
Adds the APIs for virNodeDeviceDettach , ReAttach and Reset
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
src/driver.h src/libvirt.c src/libvirt_public.syms
src/lxc_driver.c src/openvz_driver.c src/qemu_driver.c
src/test.c src/uml_driver.c: add the public APIs for
virNodeDeviceDettach virNodeDeviceReAttach and virNodeDeviceReset
and extends the driver structure accordingly.
Daniel
Daniel Veillard [Mon, 2 Mar 2009 16:18:11 +0000 (16:18 +0000)]
implements dettach, reattach and reset for PCI devices
* configure.in po/POTFILES.in src/Makefile.am src/libvirt_private.syms
src/pci.c src/pci.h: Add implementations of dettach, reattach and
reset for PCI devices, patch by Mark McLoughlin
Daniel
Daniel Veillard [Mon, 2 Mar 2009 11:13:37 +0000 (11:13 +0000)]
* qemud/qemud.c src/node_device_hal.c: activate DBus multithreading
to avoid random crashes in the daemon, patch by Daniel Berrange
Daniel
Jim Meyering [Mon, 2 Mar 2009 10:27:20 +0000 (10:27 +0000)]
correct a typo in a diagnostic
* src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
s/owner/group/. Patch by Ryota Ozaki.
Jim Meyering [Mon, 2 Mar 2009 10:26:37 +0000 (10:26 +0000)]
plug two config-parsing leaks
* src/storage_conf.c (virStoragePoolDefParsePerms): Free mode string.
(virStorageVolDefParsePerms): Likewise.
* AUTHORS: Update.
Patch by Ryota Ozaki.
Jim Meyering [Mon, 2 Mar 2009 10:07:55 +0000 (10:07 +0000)]
don't dereference uninitialized pointer
* src/storage_conf.c (virStoragePoolDefParsePerms): Initialize
"ptr" to NULL.
Chris Lalancette [Fri, 27 Feb 2009 16:18:50 +0000 (16:18 +0000)]
If there is a failure during Qemu offline migrate, make sure to resume the
guest.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Daniel Veillard [Fri, 27 Feb 2009 14:30:51 +0000 (14:30 +0000)]
* docs/libvirt-api.xml docs/libvirt-refs.xml
docs/devhelp/libvirt-virterror.html docs/html/libvirt-virterror.html:
regenerated the APIs and documentation.
* po/*: updated the polish translation, regenerated.
daniel
Daniel P. Berrange [Thu, 26 Feb 2009 16:27:51 +0000 (16:27 +0000)]
Add support for a exec callback in virExecWithHook
Daniel Veillard [Thu, 26 Feb 2009 16:14:50 +0000 (16:14 +0000)]
New example program
* Makefile.am configure.in examples/hellolibvirt/Makefile.am
examples/hellolibvirt/hellolibvirt.c: new trivial example program
by David Allan
Daniel
Daniel Veillard [Thu, 26 Feb 2009 15:06:06 +0000 (15:06 +0000)]
* src/remote_internal.c: fix autostart of session daemon, patch
by Dan Berrange
Daniel
Daniel Veillard [Thu, 26 Feb 2009 14:36:30 +0000 (14:36 +0000)]
* src/storage_backend_fs.c: fix compile-error when configured without qemu-img
daniel