]> git.ipfire.org Git - thirdparty/libvirt.git/log
thirdparty/libvirt.git
16 years agoAdd qemu help string parsing tests
Mark McLoughlin [Thu, 11 Jun 2009 14:17:42 +0000 (14:17 +0000)] 
Add qemu help string parsing tests

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
16 years agoDetect newer qemu-kvm versions
Mark McLoughlin [Thu, 11 Jun 2009 14:15:49 +0000 (14:15 +0000)] 
Detect newer qemu-kvm versions

The KVM version string can be one of the following:

  - qemu-kvm-x.y.z in stable releases
  - kvm-XX for kvm versions up to kvm-85
  - qemu-kvm-devel-XX for kvm version kvm-86 and later

There are only a few of places where we need to detect
differences between KVM versions based on 0.9.1:

  1) VNET_HDR introduced in kvm-74

  2) -incoming tcp introduced in kvm-79

  3) -incoming exec introduced in kvm-80

  4) -incoming stdio in all earlier kvm versions

With qemu-kvm-0.10.x, we can now assume that (1) is available
if it's a KVM release, (2) and (3) is always available and
(4) is never available.

So, from now on we should only need to check the qemu version
number and the "is_kvm" flag for detecting feature availability.
We only need the KVM version number for older releases.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
16 years agoRe-factor qemu version parsing
Mark McLoughlin [Thu, 11 Jun 2009 14:12:30 +0000 (14:12 +0000)] 
Re-factor qemu version parsing

This patch is purely re-factoring without any functional changes
to make way for the next patch.

The main thing achieved by the refactoring is that we now have
easier access to the parenthesised string that KVM folks seem
to delight in changing.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
16 years agofind and use kvm-img, qemu-img or qcow-create dynamically
Daniel Veillard [Thu, 11 Jun 2009 13:18:56 +0000 (13:18 +0000)] 
find and use kvm-img, qemu-img or qcow-create dynamically
* configure.in src/libvirt_private.syms src/storage_backend_fs.c
  src/util.c src/util.h: find and use kvm-img, qemu-img or qcow-create
  dynamically at runtime, patch by Doug Goldstein
* AUTHORS: add Doug Goldstein
Daniel

16 years agotypo fix, regenerated docs
Daniel Veillard [Tue, 9 Jun 2009 13:22:19 +0000 (13:22 +0000)] 
typo fix, regenerated docs
* docs/formatdomain.html docs/formatdomain.html.in: typo fix
  by Garry Dolley
Daniel

16 years agoAdded docs on extending public API (Dave Allen)
Daniel P. Berrange [Tue, 9 Jun 2009 11:42:41 +0000 (11:42 +0000)] 
Added docs on extending public API (Dave Allen)

16 years agoFix a memory error on Xen device removal
Daniel Veillard [Thu, 4 Jun 2009 13:56:49 +0000 (13:56 +0000)] 
Fix a memory error on Xen device removal
* src/xm_internals.c: the memory shrinking on device removal
  didn't copy the right amount of memory, patch by Daniel Berrange
  fixes #497051
daniel

16 years agoAdd NUMA memory APIs to vbox driver
Daniel P. Berrange [Wed, 3 Jun 2009 14:32:18 +0000 (14:32 +0000)] 
Add NUMA memory APIs to vbox driver

16 years ago* src/network_driver.c: forbid set Autostart on transcient networks
Daniel Veillard [Wed, 3 Jun 2009 13:52:06 +0000 (13:52 +0000)] 
* src/network_driver.c: forbid set Autostart on transcient networks
daniel

16 years agoSwitch to positional struct initializers in vbox driver table
Daniel P. Berrange [Wed, 3 Jun 2009 13:30:19 +0000 (13:30 +0000)] 
Switch to positional struct initializers in vbox driver table

16 years agoImplement capabilities and nodeinfo APIs
Daniel P. Berrange [Wed, 3 Jun 2009 13:29:23 +0000 (13:29 +0000)] 
Implement capabilities and nodeinfo APIs

16 years agoGeneric shared impls of all NUMA apis
Daniel P. Berrange [Wed, 3 Jun 2009 13:28:02 +0000 (13:28 +0000)] 
Generic shared impls of all NUMA apis

16 years ago* src/openvz_conf.c src/virsh.c: various typo or english fixups
Daniel Veillard [Wed, 3 Jun 2009 12:13:52 +0000 (12:13 +0000)] 
* src/openvz_conf.c src/virsh.c: various typo or english fixups
  raised by Runa Bhattacharjee
daniel

16 years agoFix HAL driver restart thread safety
Daniel P. Berrange [Wed, 3 Jun 2009 11:24:21 +0000 (11:24 +0000)] 
Fix HAL driver restart thread safety

16 years agoSupport networking in UML driver
Daniel P. Berrange [Wed, 3 Jun 2009 11:13:33 +0000 (11:13 +0000)] 
Support networking in UML driver

16 years agoMisc User Mode Linux startup/shutdown bugs
Daniel P. Berrange [Wed, 3 Jun 2009 10:55:33 +0000 (10:55 +0000)] 
Misc User Mode Linux startup/shutdown bugs

16 years agoFix logging initialization in daemon
Daniel P. Berrange [Wed, 3 Jun 2009 10:36:17 +0000 (10:36 +0000)] 
Fix logging initialization in daemon

16 years agoNPIV implementation for node device create and destroy
Daniel Veillard [Tue, 2 Jun 2009 15:12:53 +0000 (15:12 +0000)] 
NPIV implementation for node device create and destroy
* src/Makefile.am src/node_device.[ch] src/node_device_conf.[ch]
  src/node_device_hal.[ch] src/node_device_hal_linux.c
  src/qemu_driver.c src/remote_internal.c src/storage_backend.c
  src/virsh.c src/xen_unified.c tests/nodedevxml2xmltest.c
  po/POTFILES.in: implementation for node device create and destroy
  in NPIV support, patch by David Allan
Daniel

16 years agorelease of libvirt-0.6.4 LIBVIRT_0_6_4 v0.6.4
Daniel Veillard [Fri, 29 May 2009 16:51:15 +0000 (16:51 +0000)] 
release of libvirt-0.6.4
* configure.in libvirt.spec.in NEWS docs/* po/*: release of
  libvirt-0.6.4
* src/libvirt.c src/virterror.c: some comments cleanups
Daniel

16 years agoAvoid double-free in daemon client cleanup code
Daniel P. Berrange [Fri, 29 May 2009 14:34:35 +0000 (14:34 +0000)] 
Avoid double-free in daemon client cleanup code

16 years agoFix Win32 portability problems with 'inteface' symbol clash
Daniel P. Berrange [Fri, 29 May 2009 14:29:22 +0000 (14:29 +0000)] 
Fix Win32 portability problems with 'inteface' symbol clash

16 years agoportability fix
Daniel Veillard [Fri, 29 May 2009 14:27:04 +0000 (14:27 +0000)] 
portability fix
* src/lxc_container.c: fix a portability issue if PR_CAPBSET_DROP is
  not defined.
Daniel

16 years agonetwork driver: Fix regression defining colliding networks at daemon startup.
Cole Robinson [Fri, 29 May 2009 14:18:57 +0000 (14:18 +0000)] 
network driver: Fix regression defining colliding networks at daemon startup.

If two virtual networks have the same hardcoded bridge device (which
prevents them from being active simultaneously) we still want to define
them at daemon startup, so the user has a fighting chance of correcting
the XML error.

Add an extra flag to SetBridge to avoid reporting an error if there is
a bridge collision, and use this when loading network configs at startup.

This regressed via commit 4c3f3b4d.

16 years agonetworkDestroy: Report error if network is inactive
Cole Robinson [Fri, 29 May 2009 14:14:32 +0000 (14:14 +0000)] 
networkDestroy: Report error if network is inactive

This follows the same convention as domain drivers.

16 years agoqemu_driver: Fix another domain startup error reporting race.
Cole Robinson [Fri, 29 May 2009 14:12:50 +0000 (14:12 +0000)] 
qemu_driver: Fix another domain startup error reporting race.

Parse the command line output a bit earlier so we have a better chance
of reporting the full error output on failure.

I hit this when QEMU would try to boot an invalid kernel (virtinst bug).

16 years agoqemuDomainLookupByUUID: print correct UUID string on failed lookup.
Cole Robinson [Fri, 29 May 2009 14:01:55 +0000 (14:01 +0000)] 
qemuDomainLookupByUUID: print correct UUID string on failed lookup.

Currently we print the raw UUID which isn't very useful in ascii format.

16 years agovirsh: Use consistent spacing for net-list
Cole Robinson [Fri, 29 May 2009 14:00:41 +0000 (14:00 +0000)] 
virsh: Use consistent spacing for net-list

There is different spacing when listing active vs. inactive networks. Ex:

Name                 State      Autostart
-----------------------------------------
default              active     yes
xxxxxx               inactive no

16 years agoPPC Qemu Machine Type update
Daniel Veillard [Fri, 29 May 2009 13:32:06 +0000 (13:32 +0000)] 
PPC Qemu Machine Type update
* src/qemu_conf.c docs/schemas/domain.rng
  tests/capabilityschemadata/caps-qemu-kvm.xml: PPC Qemu Machine Type
  changed from g3bw to g3beige some time ago, patch by Thomas Baker
Daniel

16 years agoFix missing break in network parsing code
Daniel P. Berrange [Fri, 29 May 2009 13:26:45 +0000 (13:26 +0000)] 
Fix missing break in network parsing code

16 years agofix storage volume inconsistencies in schema and doc
Daniel Veillard [Fri, 29 May 2009 12:27:45 +0000 (12:27 +0000)] 
fix storage volume inconsistencies in schema and doc
* docs/schemas/storagevol.rng docs/formatstorage.html[.in]
  tests/storagevolschemadata/vol-qcow2.xml: fix storage volume
  inconsistencies in schema and document, patch by Ryota Ozaki
daniel

16 years ago* po/*: update of many localizations, regenerate the po
Daniel Veillard [Fri, 29 May 2009 12:08:49 +0000 (12:08 +0000)] 
* po/*: update of many localizations, regenerate the po
Daniel

16 years agoFix misc bugs in ARGV -> XML convertor
Daniel P. Berrange [Thu, 28 May 2009 13:21:19 +0000 (13:21 +0000)] 
Fix misc bugs in ARGV -> XML convertor

16 years agoAvoid broken networking with new QEMU/KVM >= 86
Daniel P. Berrange [Thu, 28 May 2009 13:15:57 +0000 (13:15 +0000)] 
Avoid broken networking with new QEMU/KVM >= 86

16 years agoFix misc syntax problems with open nebula driver
Daniel P. Berrange [Thu, 28 May 2009 13:11:22 +0000 (13:11 +0000)] 
Fix misc syntax problems with open nebula driver

16 years agoInclude function/line nr at all logging levels
Daniel P. Berrange [Thu, 28 May 2009 12:54:07 +0000 (12:54 +0000)] 
Include function/line nr at all logging levels

16 years agoFix python domain events example & binding
Daniel P. Berrange [Thu, 28 May 2009 11:02:11 +0000 (11:02 +0000)] 
Fix python domain events example & binding

16 years agoFix error location logging
Daniel P. Berrange [Wed, 27 May 2009 12:10:47 +0000 (12:10 +0000)] 
Fix error location logging

16 years agoCleanup ocaml intermediate binaries
Daniel P. Berrange [Wed, 27 May 2009 12:07:43 +0000 (12:07 +0000)] 
Cleanup ocaml intermediate binaries

16 years agoInclude the OpenNebula driver
Daniel Veillard [Mon, 25 May 2009 11:56:00 +0000 (11:56 +0000)] 
Include the OpenNebula driver
* src/opennebula/one_conf.[ch] src/opennebula/one_driver.[ch]:
  the OpenNebula driver
* configure.in include/libvirt/virterror.h qemud/Makefile.am
  qemud/qemud.c src/Makefile.am src/domain_conf.[ch] src/driver.h
  src/libvirt.c src/virterror.c: integration of the OpenNebula
  driver in the libvirt infrastructure
* AUTHORS: add Abel Miguez Rodriguez
daniel

16 years agoFix the example code for event handling in C
Daniel Veillard [Mon, 25 May 2009 09:44:10 +0000 (09:44 +0000)] 
Fix the example code for event handling in C
* examples/domain-events/events-c/event-test.c: fixed the example
  code for event handling, patch by Pritesh Kothari
daniel

16 years agoTest case for QEMU driver ARGV -> XML conversion
Daniel P. Berrange [Thu, 21 May 2009 14:22:51 +0000 (14:22 +0000)] 
Test case for QEMU driver ARGV -> XML conversion

16 years agoAdd docs on domain XML conversion usage for QEMU/Xen drivers
Daniel P. Berrange [Thu, 21 May 2009 14:20:21 +0000 (14:20 +0000)] 
Add docs on domain XML conversion usage for QEMU/Xen drivers

16 years agoQEMU domain XML conversion from QEMU argv
Daniel P. Berrange [Thu, 21 May 2009 14:16:55 +0000 (14:16 +0000)] 
QEMU domain XML conversion from QEMU argv

16 years agoFix typo s/ES97/AC97/
Daniel P. Berrange [Thu, 21 May 2009 14:16:06 +0000 (14:16 +0000)] 
Fix typo s/ES97/AC97/

16 years agoBasic domain XML conversions for Xen/QEMU drivers
Daniel P. Berrange [Thu, 21 May 2009 14:14:01 +0000 (14:14 +0000)] 
Basic domain XML conversions for Xen/QEMU drivers

16 years agoRemote protocol support for domain XML conversion APIs
Daniel P. Berrange [Thu, 21 May 2009 13:50:56 +0000 (13:50 +0000)] 
Remote protocol support for domain XML conversion APIs

16 years agopublic API for domain XML conversions
Daniel P. Berrange [Thu, 21 May 2009 13:46:35 +0000 (13:46 +0000)] 
public API for domain XML conversions

16 years agoAdd virInterface APIs to python code generator
Daniel P. Berrange [Thu, 21 May 2009 10:57:05 +0000 (10:57 +0000)] 
Add virInterface  APIs to python code generator

16 years ago* docs/formatstorage.html[.in]: fix a error in format type example
Daniel Veillard [Thu, 21 May 2009 08:03:13 +0000 (08:03 +0000)] 
* docs/formatstorage.html[.in]: fix a error in format type example
  pointed out by Ryota Ozaki
Daniel

16 years agoAdd the Interface config APIs
Daniel Veillard [Wed, 20 May 2009 14:26:49 +0000 (14:26 +0000)] 
Add the Interface config APIs
* configure.in include/libvirt/libvirt.h[.in]
  include/libvirt/virterror.h qemud/remote.c
  qemud/remote_dispatch_args.h qemud/remote_dispatch_prototypes.h
  qemud/remote_dispatch_ret.h qemud/remote_dispatch_table.h
  qemud/remote_protocol.[chx] src/Makefile.am src/datatypes.c
  src/datatypes.h src/driver.h src/libvirt.c src/remote_internal.c
  src/virterror.c src/libvirt_private.syms src/libvirt_public.syms:
  Add the Interface config APIs and remote stubs for those, patch
  by Laine Stump
* AUTHORS: add Laine
daniel

16 years agocleanup of some direct stderr logging
Daniel Veillard [Wed, 20 May 2009 13:37:30 +0000 (13:37 +0000)] 
cleanup of some direct stderr logging
* qemud/qemud.c src/console.c src/network_driver.c
  src/node_device_conf.c src/node_device_hal.c src/storage_conf.c
  src/util.c: cleanup of some direct stderr logging
daniel

16 years ago* src/pci.c: small portability patch
Daniel Veillard [Wed, 20 May 2009 13:34:15 +0000 (13:34 +0000)] 
* src/pci.c: small portability patch
daniel

16 years ago* src/lxc_driver.c: fix a couple of error code, patch by Amy Griffis
Daniel Veillard [Wed, 20 May 2009 07:12:00 +0000 (07:12 +0000)] 
* src/lxc_driver.c: fix a couple of error code, patch by Amy Griffis
daniel

16 years agoVolumeCreateXMLFrom FS storage backend implementation.
Cole Robinson [Tue, 19 May 2009 13:43:48 +0000 (13:43 +0000)] 
VolumeCreateXMLFrom FS storage backend implementation.

Add an extra 'inputvol' parameter to the file volume building routines. This
allows us to easily reuse the duplicate functionality.

16 years agoStorage driver implementation for CreateXMLFrom
Cole Robinson [Tue, 19 May 2009 13:37:51 +0000 (13:37 +0000)] 
Storage driver implementation for CreateXMLFrom

There is some funkiness here, since we are either dealing with 2 different
pools (which means validation x 2) or the same pool, where we have to be
careful not to deadlock.

16 years agoFix node device media insert/eject detection.
Cole Robinson [Tue, 19 May 2009 13:35:57 +0000 (13:35 +0000)] 
Fix node device media insert/eject detection.

We were correctly registering a callback , but weren't telling hal to
actually notify us of any property changes.

16 years agoFix a possible deadlock in HAL nodedev driver.
Cole Robinson [Tue, 19 May 2009 13:26:14 +0000 (13:26 +0000)] 
Fix a possible deadlock in HAL nodedev driver.

The cap_lost and prop_modified callbacks could deadlock if an existing
device needed to be refreshed, since dev_create expects the driver to
be unlocked.

16 years agoFix rpm build: add 'mylibtool' to EXTRADIST.
Cole Robinson [Tue, 19 May 2009 13:23:07 +0000 (13:23 +0000)] 
Fix rpm build: add 'mylibtool' to EXTRADIST.

16 years agoGenerate some config files at build time, not install time.
Cole Robinson [Tue, 19 May 2009 13:22:00 +0000 (13:22 +0000)] 
Generate some config files at build time, not install time.

Generating at install time breaks 'make && sudo make install' if root
can't access the users home directory (NFS w/o no_root_squash for example).

16 years agoAdd documentation for <sound> device XML format.
Cole Robinson [Tue, 19 May 2009 13:18:00 +0000 (13:18 +0000)] 
Add documentation for <sound> device XML format.

16 years agoUse virAsprintf, rather than VIR_ALLOC + strcpy + strcat
Cole Robinson [Tue, 19 May 2009 13:15:50 +0000 (13:15 +0000)] 
Use virAsprintf, rather than VIR_ALLOC + strcpy + strcat

16 years agoDon't validate disk type in virsh attach-disk
Cole Robinson [Tue, 19 May 2009 13:04:46 +0000 (13:04 +0000)] 
Don't validate disk type in virsh attach-disk

Let the underlying driver tell us what it supports. At the moment
we are at least erroneously denying floppy eject/insert.

16 years agoBetter error reporting if 'import libvirtmod' fails
Cole Robinson [Tue, 19 May 2009 13:03:03 +0000 (13:03 +0000)] 
Better error reporting if 'import libvirtmod' fails

Don't squash a possibly legitimate libvirtmod error (e.g. some from
clashing libvirt.so versions) with 'Cannot import cygvirtmod'

16 years agoFix misc locking bugs identified by lock checker
Daniel P. Berrange [Tue, 19 May 2009 11:06:25 +0000 (11:06 +0000)] 
Fix misc locking bugs identified by lock checker

16 years agoAdded an optional OCaml+CIL test program for mutex lock validation
Daniel P. Berrange [Tue, 19 May 2009 10:17:17 +0000 (10:17 +0000)] 
Added an optional OCaml+CIL test program for mutex lock validation

16 years agoDeclare support for QEMU migration in capabilities
Daniel P. Berrange [Mon, 18 May 2009 15:10:51 +0000 (15:10 +0000)] 
Declare support for QEMU migration in capabilities

16 years agoFinish hostonly networks support in vbox
Daniel Veillard [Fri, 15 May 2009 14:00:50 +0000 (14:00 +0000)] 
Finish hostonly networks support in vbox
* src/vbox/vbox_driver.c src/vbox/vbox_tmpl.c: last patch for
  hostonly networks support in vbox driver, patch by Pritesh Kothari
daniel

16 years ago* src/vbox/vbox_tmpl.c: implement vbox vrdp/sdl/gui support,
Daniel Veillard [Fri, 15 May 2009 13:45:40 +0000 (13:45 +0000)] 
* src/vbox/vbox_tmpl.c: implement vbox vrdp/sdl/gui support,
  patches by Pritesh Kothari
daniel

16 years agogeneric support for RDP and desktop graphic extensions
Daniel Veillard [Fri, 15 May 2009 09:43:51 +0000 (09:43 +0000)] 
generic support for RDP and desktop graphic extensions
* docs/schemas/domain.rng src/domain_conf.[ch] src/qemu_driver.c:
  extend the generic code for the RDP and desktop extensions of
  the graphic tag needed for vbox, patch by Pritesh Kothari
Daniel

16 years ago* src/xend_internal.c: remove [] around cpumaps for recent xend
Daniel Veillard [Thu, 14 May 2009 10:31:11 +0000 (10:31 +0000)] 
* src/xend_internal.c: remove [] around cpumaps for recent xend
  patch by Tatsuro Enokura
daniel

16 years agoFix a few 'used uninitialized' warnings.
Cole Robinson [Wed, 13 May 2009 17:43:47 +0000 (17:43 +0000)] 
Fix a few 'used uninitialized' warnings.

16 years ago* src/buf.c: avoid an XML attribute escaping bug #499791
Daniel Veillard [Wed, 13 May 2009 16:19:59 +0000 (16:19 +0000)] 
* src/buf.c: avoid an XML attribute escaping bug #499791
daniel

16 years agoReplace sys/capability.h with linux/capability.h
Daniel P. Berrange [Wed, 13 May 2009 11:37:16 +0000 (11:37 +0000)] 
Replace sys/capability.h with linux/capability.h

16 years agoUpdate POTFILES, and s/write/safewrite/ to appease 'make syntax-check'
Cole Robinson [Tue, 12 May 2009 20:44:29 +0000 (20:44 +0000)] 
Update POTFILES, and s/write/safewrite/ to appease 'make syntax-check'

16 years agoBreak out FS volume build routines to their own functions.
Cole Robinson [Tue, 12 May 2009 20:27:17 +0000 (20:27 +0000)] 
Break out FS volume build routines to their own functions.

Improves readability, particularly wrt the pending CreateFromXML changes.
This will also help implementing File->Block volume creation in the future,
since some of this code will need to be moved to a backend agnostic file.

16 years agoVirsh commands vol-clone and vol-create-from
Cole Robinson [Tue, 12 May 2009 20:17:21 +0000 (20:17 +0000)] 
Virsh commands vol-clone and vol-create-from

vol-clone is a convenience function, requiring only a volume to clone and a
new name.

vol-create-from is a direct mapping to the public API, which allows cloning
across pools, converting between formats, etc, but requires an xml file to be
passed

16 years agoTest driver implementation of virStorageVolCreateXMLFrom
Cole Robinson [Tue, 12 May 2009 20:15:56 +0000 (20:15 +0000)] 
Test driver implementation of virStorageVolCreateXMLFrom

16 years agoRemote driver plumbing for virStorageVolCreateXMLFrom
Cole Robinson [Tue, 12 May 2009 20:13:52 +0000 (20:13 +0000)] 
Remote driver plumbing for virStorageVolCreateXMLFrom

16 years agoAdd public API stubs for virStorageVolCreateXMLFrom
Cole Robinson [Tue, 12 May 2009 20:10:50 +0000 (20:10 +0000)] 
Add public API stubs for virStorageVolCreateXMLFrom

Also checkin regenerated docs due to API change.

16 years agoFix error squashing when refreshing file volumes
Cole Robinson [Tue, 12 May 2009 19:59:46 +0000 (19:59 +0000)] 
Fix error squashing when refreshing file volumes

16 years agoAdd test case for exercising the event loop
Daniel P. Berrange [Tue, 12 May 2009 16:45:14 +0000 (16:45 +0000)] 
Add test case for exercising the event loop

16 years agoFix watch/timer event deletion
Daniel P. Berrange [Tue, 12 May 2009 16:43:04 +0000 (16:43 +0000)] 
Fix watch/timer event deletion

16 years agoFix interrupting of main event thread & protect against accidental uniniitalized...
Daniel P. Berrange [Tue, 12 May 2009 16:41:49 +0000 (16:41 +0000)] 
Fix interrupting of main event thread & protect against accidental uniniitalized variables

16 years agoRemove use of qemudSetNonBlock/SetCloseExec in favour of shared impl
Daniel P. Berrange [Tue, 12 May 2009 15:43:07 +0000 (15:43 +0000)] 
Remove use of qemudSetNonBlock/SetCloseExec in favour of shared impl

16 years agoAdd libtool wrapper to allow quiet build with "make -s"
Daniel P. Berrange [Tue, 12 May 2009 15:40:03 +0000 (15:40 +0000)] 
Add libtool wrapper to allow quiet build with "make -s"

16 years agoImprove driver open URI handling
Daniel P. Berrange [Tue, 12 May 2009 15:35:18 +0000 (15:35 +0000)] 
Improve driver open URI handling

16 years ago* src/network_driver.c: enable bridges which are not up
Daniel Veillard [Tue, 12 May 2009 15:31:22 +0000 (15:31 +0000)] 
* src/network_driver.c: enable bridges which are not up
  without an IP address, patch by Ludwig Nussel
Daniel

16 years agoMake hash destructors call internal unref methods to free objects
Daniel P. Berrange [Mon, 11 May 2009 15:27:37 +0000 (15:27 +0000)] 
Make hash destructors call internal unref methods to free objects

16 years agoFix unused variable warning in LXC driver
Daniel P. Berrange [Mon, 11 May 2009 15:26:23 +0000 (15:26 +0000)] 
Fix unused variable warning in LXC driver

16 years agoFix QEMU ARGV detection with kvm >= 85
Daniel P. Berrange [Mon, 11 May 2009 15:14:24 +0000 (15:14 +0000)] 
Fix QEMU ARGV detection with kvm >= 85

16 years agoReport detailed error if initial connection open attempt fails
Daniel P. Berrange [Mon, 11 May 2009 14:55:52 +0000 (14:55 +0000)] 
Report detailed error if initial connection open attempt fails

16 years agodrop CAP_SYS_BOOT capability from LXC containers
Daniel Veillard [Mon, 11 May 2009 14:05:27 +0000 (14:05 +0000)] 
drop CAP_SYS_BOOT capability from LXC containers
* src/lxc_container.c: drop LXC CAP_SYS_BOOT capability to avoid
  reboot from inside containers, patch by Ryota Ozaki
Daniel

16 years agoCheck that QEMU is still alive while reading startup output.
Cole Robinson [Mon, 11 May 2009 13:52:31 +0000 (13:52 +0000)] 
Check that QEMU is still alive while reading startup output.

By checking the pid every retry period, we can quickly determine if
the process crashed at startup, rather than make the user wait for
the entire timeout (3 seconds).

16 years agoAdd pidfile argument to __virExec
Cole Robinson [Mon, 11 May 2009 13:50:38 +0000 (13:50 +0000)] 
Add pidfile argument to __virExec

virExec will write out the pid of the daemonized process only. Use this
in the QEMU driver, rather than QEMU's pidfile, so we can catch errors we
might miss if the emulator bails early.

16 years agoReport qemu log data if we fail to daemonize the process.
Cole Robinson [Mon, 11 May 2009 13:37:19 +0000 (13:37 +0000)] 
Report qemu log data if we fail to daemonize the process.

This ensures the user will actually see 'hook' function error output.

16 years agoAdd helper function virExecDaemonize
Cole Robinson [Mon, 11 May 2009 13:34:37 +0000 (13:34 +0000)] 
Add helper function virExecDaemonize

Wraps __virExec with the VIR_EXEC_DAEMON flag. Waits on the intermediate
process to ensure we don't end up with any zombies, and differentiates between
original process errors and intermediate process errors.

16 years ago"Host only" and "Internal" network support for vbox
Daniel Veillard [Mon, 11 May 2009 09:56:04 +0000 (09:56 +0000)] 
"Host only" and "Internal" network support for vbox
* src/vbox/vbox_tmpl.c: "Host only" and "Internal" network support
  for vbox, patch by Pritesh Kothari
daniel

16 years agoSupport for 'internal' network
Daniel Veillard [Mon, 11 May 2009 09:50:27 +0000 (09:50 +0000)] 
Support for 'internal' network
* src/domain_conf.[ch] docs/schemas/domain.rng: add support
  for internal network in the generic part of the code, and
  update the Relax-NG grammar accordingly, patch by Pritesh Kothari
daniel

16 years agoCreate cgroups mode 755, not 655 (Ryota Ozaki)
Daniel P. Berrange [Fri, 8 May 2009 10:24:11 +0000 (10:24 +0000)] 
Create cgroups mode 755, not 655 (Ryota Ozaki)

16 years agoFix /dev/ population to use char devices (Ryota Ozaki)
Daniel P. Berrange [Fri, 8 May 2009 10:22:46 +0000 (10:22 +0000)] 
Fix /dev/ population to use char devices (Ryota Ozaki)