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
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
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
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.
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
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
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
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
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
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.
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.
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
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
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.
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
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
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).
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.
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.
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
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