]>
xenbits.xensource.com Git - libvirt.git/log
Daniel Veillard [Fri, 17 Apr 2009 19:12:37 +0000 (19:12 +0000)]
drop the pool lock when allocating fs volumes
* src/libvirt_private.syms src/storage_backend.h
src/storage_backend_fs.c src/storage_conf.h src/storage_driver.c:
drop the pool lock when allocating fs volumes, patch by Cole Robinson
daniel
Daniel Veillard [Fri, 17 Apr 2009 16:09:07 +0000 (16:09 +0000)]
integration of the VirtualBox support
* configure.in include/libvirt/virterror.h src/Makefile.am
src/domain_conf.[ch] src/driver.h src/virterror.c src/vbox/README
src/vbox/vbox_CAPI_v2_2.h src/vbox/vbox_V2_2.c
src/vbox/vbox_XPCOMCGlue.[ch] src/vbox/vbox_driver.[ch]
src/vbox/vbox_tmpl.c: integration of the VirtualBox support
patches by Pritesh Kothari
Daniel
Daniel Veillard [Fri, 17 Apr 2009 15:34:53 +0000 (15:34 +0000)]
Small doc fixes
* src/libvirt.c: fix the doc of virNodeGetFreeMemory to say bytes
* docs/drvlxc.html.in docs/drvlxc.html: fix command used in examples
daniel
Guido Günther [Fri, 17 Apr 2009 08:21:40 +0000 (08:21 +0000)]
fix "make syntax-check"
Guido Günther [Thu, 16 Apr 2009 15:56:27 +0000 (15:56 +0000)]
Don't log monitor output to domain log file.
It's logged via the logging system already. Prefix monitor debug output with vm
name.
Guido Günther [Thu, 16 Apr 2009 14:53:19 +0000 (14:53 +0000)]
don't hardcode buffer for getgrnam_r to 1024 bytes and increase it on ERANGE.
Mark McLoughlin [Thu, 16 Apr 2009 14:21:35 +0000 (14:21 +0000)]
qemu -drive takes format= not fmt=
Seems like a simple typo - it has been "format=" since the flag
was introduced, but we added it as "fmt=".
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 16 Apr 2009 13:08:03 +0000 (13:08 +0000)]
Fix lxc syntax-check failure
Fixes:
CHECK: avoid_if_before_free
src/lxc_container.c: if (oldroot) VIR_FREE(oldroot)
src/lxc_container.c: if (newroot) VIR_FREE(newroot)
Makefile.maint: found useless "if" before "free" above
and:
src/lxc_container.c:317:
Makefile.maint: found trailing blank(s)
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Daniel Veillard [Wed, 15 Apr 2009 20:42:50 +0000 (20:42 +0000)]
Api documentation
* docs/Makefile.am docs/api.html docs/api.html.in docs/archdomain.html
docs/archnetwork.html docs/archnode.html docs/archstorage.html
docs/goals.html docs/intro.html
docs/libvirt-daemon-arch.fig docs/libvirt-daemon-arch.png
docs/libvirt-driver-arch.fig docs/libvirt-driver-arch.png
docs/libvirt-object-model.fig docs/libvirt-object-model.png
docs/page.xsl docs/sitemap.html docs/sitemap.html.in:
adding a new api page, extending the stylesheet to allow references
and including images from Dan Berrange
daniel
Daniel Veillard [Wed, 15 Apr 2009 20:09:09 +0000 (20:09 +0000)]
* src/virsh.c: fix for virsh ttyconsole return value bug #495954
daniel
Daniel Veillard [Wed, 15 Apr 2009 20:04:22 +0000 (20:04 +0000)]
Adding Serge E. Hallyn to the authors list, Daniel
Daniel Veillard [Wed, 15 Apr 2009 20:00:29 +0000 (20:00 +0000)]
* drvlxc.html.in drvlxc.html: some examples from Serge Hallyn
daniel
Daniel Veillard [Wed, 15 Apr 2009 09:53:34 +0000 (09:53 +0000)]
* src/xm_internal.c: fix a crash on vcpupin to inactive Xen domains,
as raised by Takahashi Tomohiro
daniel
Daniel Veillard [Wed, 15 Apr 2009 09:34:56 +0000 (09:34 +0000)]
* src/lxc_driver.c: adds the getHostname method to the lxc driver
patch by Dan Smith
daniel
Dan Smith [Tue, 14 Apr 2009 17:51:12 +0000 (17:51 +0000)]
Commit patches by Serge Hallyn from 6-Apr and 7-Apr
Daniel Veillard [Tue, 14 Apr 2009 12:47:34 +0000 (12:47 +0000)]
* libvirt.spec.in: fix build on RHEL and Centos 5.x
daniel
Daniel Veillard [Tue, 7 Apr 2009 12:50:17 +0000 (12:50 +0000)]
* src/storage_backend_scsi.[ch]: add SCSI storage rescan support,
patch by David Allan
daniel
Daniel Veillard [Fri, 3 Apr 2009 15:25:38 +0000 (15:25 +0000)]
release of 0.6.2
* configure.in libvirt.spec.in NEWS docs/*: release of 0.6.2
* po/*: Gujarati and Polish updates, rebuild
* AUTHORS: add one missing
Daniel
Cole Robinson [Fri, 3 Apr 2009 14:17:57 +0000 (14:17 +0000)]
Don't lose file format info on volume refresh.
Cole Robinson [Fri, 3 Apr 2009 14:15:30 +0000 (14:15 +0000)]
Refresh volume alloc/capacity when dumping XML.
Cole Robinson [Fri, 3 Apr 2009 14:14:05 +0000 (14:14 +0000)]
Fix test driver domain restore return value.
Cole Robinson [Fri, 3 Apr 2009 14:13:02 +0000 (14:13 +0000)]
Fix sparse volume allocation reporting.
Daniel P. Berrange [Fri, 3 Apr 2009 14:10:17 +0000 (14:10 +0000)]
Fix crash in svirt verification, and incorrect cleanup in VM failure paths
Daniel P. Berrange [Fri, 3 Apr 2009 14:03:38 +0000 (14:03 +0000)]
Allow autoconnect to virsh console in create/start. Refuse to connect to remote consoles
Daniel P. Berrange [Fri, 3 Apr 2009 12:45:05 +0000 (12:45 +0000)]
Misc NUMA related fixes
Daniel P. Berrange [Fri, 3 Apr 2009 12:38:52 +0000 (12:38 +0000)]
Support PCI passthrough for Xen
Daniel P. Berrange [Fri, 3 Apr 2009 10:55:51 +0000 (10:55 +0000)]
Improve security label error reporting & verification (Dan Walsh)
Daniel P. Berrange [Thu, 2 Apr 2009 18:42:33 +0000 (18:42 +0000)]
Fix mingw32 portability
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