]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
15 years agoupdate download informations after switch to git
Daniel Veillard [Mon, 6 Jul 2009 12:27:00 +0000 (14:27 +0200)]
update download informations after switch to git
* docs/downloads.html docs/downloads.html.in: update download
  informations after switch to git
daniel

15 years agoRelease of libvirt-0.6.5
Daniel Veillard [Fri, 3 Jul 2009 14:32:17 +0000 (14:32 +0000)]
Release of libvirt-0.6.5
* configure.in libvirt.spec.in NEWS docs/* po/*: release of
  libvirt-0.6.5
* .gitignore: adding cscope files
Daniel

15 years agoAdd support for arm emulation if qemu-system-arm is present
Daniel Veillard [Fri, 3 Jul 2009 13:15:55 +0000 (13:15 +0000)]
Add support for arm emulation if qemu-system-arm is present
* src/qemu_conf.c: patch from C.J. Adams-Collier adding support
  for arm emulation if qemu-system-arm is present
daniel

15 years agoSkip labelling if no src path present
Mark McLoughlin [Fri, 3 Jul 2009 10:29:09 +0000 (10:29 +0000)]
Skip labelling if no src path present

Fixes startup of guest's with sourceless cdrom devices.

Patch from Cole Robinson originally posted here:

  https://bugzilla.redhat.com/499569

but never sent upstream.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
15 years agoDon't unnecessarily try to change a file context
Mark McLoughlin [Fri, 3 Jul 2009 10:27:46 +0000 (10:27 +0000)]
Don't unnecessarily try to change a file context

As pointed out by Tim Waugh here:

  https://bugzilla.redhat.com/507555

We shouldn't bother trying to set the context of a file if it already
matches what we want.

(Fixed to use STREQ() and not use tabs, as pointed out by danpb)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
15 years agoRe-label shared and readonly images
Mark McLoughlin [Fri, 3 Jul 2009 10:26:37 +0000 (10:26 +0000)]
Re-label shared and readonly images

This patch was posted ages ago here:

  https://bugzilla.redhat.com/493692

But was never posted upstream AFAICT.

Patch from Dan Berrange

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
15 years agoFix some missing parts in network code and schemas
Daniel Veillard [Thu, 2 Jul 2009 14:02:18 +0000 (14:02 +0000)]
Fix some missing parts in network code and schemas
* docs/schemas/network.rng: fix the network schemas to match
  new accepted elements, patch by Satoru SATOH
* src/network_conf.c: fix network driver to save the domain name
  in XML if present, patch by Satoru SATOH
* AUTHORS: adding Satoru SATOH
Daniel

15 years agofix an endless loop in node device XML dump
Daniel Veillard [Wed, 1 Jul 2009 21:30:41 +0000 (21:30 +0000)]
fix an endless loop in node device XML dump
* src/node_device.c: fix an endless loop in node device XML dump,
  patch by Cole Robinson
Daniel

15 years agosmall OpenNebula driver doc update
Daniel Veillard [Wed, 1 Jul 2009 21:24:47 +0000 (21:24 +0000)]
small OpenNebula driver doc update
* docs/drvone.html docs/drvone.html.in: small OpenNebula driver
  doc update by Abel Miguez Rodriguez
daniel

15 years agoOpenNebula driver documentation
Daniel Veillard [Wed, 1 Jul 2009 14:27:24 +0000 (14:27 +0000)]
OpenNebula driver documentation
* docs/drvone.html.in docs/drvone.html docs/drivers.html.in
  docs/hvsupport.html.in docs/sitemap.html.in docs/*: added
  documentation for OpenNebula driver by Abel Miguez Rodriguez
  and regenerated the docs
Daniel

15 years agoRegenerated the documentation and localization files
Daniel Veillard [Wed, 1 Jul 2009 13:08:17 +0000 (13:08 +0000)]
Regenerated the documentation and localization files
* src/libvirt.c src/virterror.c: fix some missing comments in public
  modules.
* docs/libvirt-api.xml docs/libvirt-refs.xml
  docs/devhelp/libvirt-libvirt.html docs/html/libvirt-libvirt.html:
  regenerated documentation
* po/*: updated the polish localization and regenerated
Daniel

15 years agoVarious logging cleanups in code and doc
Daniel Veillard [Wed, 1 Jul 2009 11:21:15 +0000 (11:21 +0000)]
Various logging cleanups in code and doc
* docs/logging.html[.in] qemud/libvirtd.conf qemud/qemud.c
  src/logging.[ch]: cleanup the logging code and docs to remove
  all references to log level 0, cleanup hardcoded values and add
  a default VIR_LOG_DEFAULT value, patch by Amy Griffis
daniel

15 years agocleanup and small update for OpenNebula
Daniel Veillard [Wed, 1 Jul 2009 10:42:10 +0000 (10:42 +0000)]
cleanup and small update for OpenNebula
* src/opennebula/one_conf.c src/opennebula/one_driver.c: cleanup
  and small update for OpenNebula driver by Abel Miguez Rodriguez
Daniel

15 years agoRemove unused code. Ensure null termination after strncpy in opennebula
Daniel P. Berrange [Wed, 1 Jul 2009 10:40:12 +0000 (10:40 +0000)]
Remove unused code. Ensure null termination after strncpy in opennebula

15 years ago* src/storage_driver.c: don't destroy a pool when calling create
Daniel Veillard [Wed, 1 Jul 2009 08:33:22 +0000 (08:33 +0000)]
* src/storage_driver.c: don't destroy a pool when calling create
  by mistake, patch by Dave Allan.
daniel

15 years agoReduce LXC capabilities
Daniel P. Berrange [Mon, 29 Jun 2009 17:09:42 +0000 (17:09 +0000)]
Reduce LXC capabilities

15 years agoUse libcap-ng to clear capabilities for many child processes
Daniel P. Berrange [Mon, 29 Jun 2009 17:00:52 +0000 (17:00 +0000)]
Use libcap-ng to clear capabilities for many child processes

15 years agoPrepare for using libcap-ng
Daniel P. Berrange [Mon, 29 Jun 2009 11:33:13 +0000 (11:33 +0000)]
Prepare for using libcap-ng

15 years agoAdd HACKING doc to the website
Daniel P. Berrange [Mon, 29 Jun 2009 11:09:17 +0000 (11:09 +0000)]
Add HACKING doc to the website

15 years agoFix crash in QEMU driver with bad capabilities data
Daniel P. Berrange [Mon, 29 Jun 2009 10:41:56 +0000 (10:41 +0000)]
Fix crash in QEMU driver with bad capabilities data

15 years ago* src/parthelper.c: fix a superfluous % on printf format problem
Daniel Veillard [Fri, 26 Jun 2009 20:14:18 +0000 (20:14 +0000)]
* src/parthelper.c: fix a superfluous % on printf format problem
  raised by Matthias Bolte
Daniel

15 years ago* src/nodeinfo.c: sometimes libnuma can't handle some topologies,
Daniel Veillard [Fri, 26 Jun 2009 20:08:07 +0000 (20:08 +0000)]
* src/nodeinfo.c: sometimes libnuma can't handle some topologies,
  but those failures should not completely break libvirt, patch
  by Dan Berrange, fixes #506590
daniel

15 years ago* src/xend_internal.c: avoid a segfault when dumping XML with recent
Daniel Veillard [Fri, 26 Jun 2009 18:14:16 +0000 (18:14 +0000)]
* src/xend_internal.c: avoid a segfault when dumping XML with recent
  xen versions, patch by Sascha, fixes #503254
daniel

15 years agoallow to create storage volumes on disk backend
Daniel Veillard [Fri, 26 Jun 2009 16:18:59 +0000 (16:18 +0000)]
allow to create storage volumes on disk backend
* src/libvirt_private.syms src/parthelper.c src/storage_backend_disk.c
  src/storage_conf.c src/storage_conf.h: allow to create storage
  volumes on disk backend, patches by Henrik Persson
* AUTHORS: add Henrik Persson
Daniel

15 years agobig cleanup of the debug configuration option
Daniel Veillard [Fri, 26 Jun 2009 15:08:04 +0000 (15:08 +0000)]
big cleanup of the debug configuration option
* src/Makefile.am src/libvirt.c src/libvirt_private.syms src/logging.c
  src/logging.h src/util.c src/libvirt_debug.syms: big cleanup of
  the debug configuration option and code by Amy Griffis
daniel

15 years ago* src/node_device.c src/node_device_hal.h src/node_device_hal_linux.c:
Daniel Veillard [Fri, 26 Jun 2009 14:09:01 +0000 (14:09 +0000)]
* src/node_device.c src/node_device_hal.h src/node_device_hal_linux.c:
  fix bogus WWN in NPIV support, patch by David Allan
daniel

15 years agofix reading of storage pool definitions at startup
Daniel Veillard [Thu, 25 Jun 2009 15:13:25 +0000 (15:13 +0000)]
fix reading of storage pool definitions at startup
* src/storage_conf.c: fix reading of storage pool definitions at startup
  patch by Cole Robinson
daniel

15 years agofix UML driver logging macros
Daniel Veillard [Thu, 25 Jun 2009 15:02:10 +0000 (15:02 +0000)]
fix UML driver logging macros
* src/uml_driver.c: fix UML driver logging macros, patch by Amy Griffis
* AUTHORS: adding Amy Griffis
Daniel

15 years ago* src/node_device_conf.c: fix a leak, patch by Dave Allan
Daniel Veillard [Thu, 25 Jun 2009 14:51:21 +0000 (14:51 +0000)]
* src/node_device_conf.c: fix a leak, patch by Dave Allan
daniel

15 years agoFix a couple of state problems
Daniel Veillard [Thu, 25 Jun 2009 13:55:58 +0000 (13:55 +0000)]
Fix a couple of state problems
* src/qemu_driver.c: fix a domain state problem after
  migration, patch  by Federico Simoncelli, fixes #507537
* src/domain_conf.c:  fix a transcient domain state problem after
  destroy, patch  by Federico Simoncelli, fixes #507304
* AUTHORS: add Federico Simoncelli and Javier Fontan
daniel

15 years agoFix broken dominfo command when no security driver is implemented
Daniel P. Berrange [Thu, 25 Jun 2009 09:37:22 +0000 (09:37 +0000)]
Fix broken dominfo command when no security driver is implemented

15 years ago* po/*: update a lot of translations, and regenerate the po* files
Daniel Veillard [Wed, 24 Jun 2009 17:42:04 +0000 (17:42 +0000)]
* po/*: update a lot of translations, and regenerate the po* files
daniel

15 years agoFinish the integration of OpenNebula driver
Daniel Veillard [Wed, 24 Jun 2009 17:32:56 +0000 (17:32 +0000)]
Finish the integration of OpenNebula driver
* configure.in libvirt.spec.in src/Makefile.am
  src/opennebula/one_client.[ch] src/opennebula/one_conf.h
  src/opennebula/one_driver.[ch] : Finish the integration of OpenNebula,
  avoid dependancy on OpenNebula libraries, require xmlrpc-c-devel
  and build it by default, based on patch by Javier Fontan and DanB
  suggestions
Daniel

15 years ago* src/opennebula/one_conf.c src/opennebula/one_driver.c: fix One
Daniel Veillard [Wed, 24 Jun 2009 16:17:10 +0000 (16:17 +0000)]
* src/opennebula/one_conf.c src/opennebula/one_driver.c: fix One
  driver compilation issues, patch by Javier Fontan and remove
  some tabs in format strings
daniel

15 years agoFix storage handling for custom test driver.
Cole Robinson [Mon, 22 Jun 2009 17:19:30 +0000 (17:19 +0000)]
Fix storage handling for custom test driver.

If using a custom test driver, storage pool file parsing was broken, and
storage volume parsing was never implemented. Fix these issues, and add
some examples in docs/

15 years agoRefactor storage XML parsing to be consistent with domain/network conf.
Cole Robinson [Mon, 22 Jun 2009 16:41:34 +0000 (16:41 +0000)]
Refactor storage XML parsing to be consistent with domain/network conf.

The storage driver arranges its parsing routines in a way that make them
difficult to use in the test driver for non-default file parsing. This
refactoring moves things to be consistent with the way domain_conf and
network_conf do things.

15 years agoActivate virtual networks initialized in custom test driver.
Cole Robinson [Mon, 22 Jun 2009 16:39:23 +0000 (16:39 +0000)]
Activate virtual networks initialized in custom test driver.

If specifying a custom test driver, virtual networks were not 'activated'
on driver init. This differs from the behavior of domains and storage pools,
so fix it. Also improve a couple error messages in that area.

15 years agoFix segfault if storage pool has no type attribute (possibly others)
Cole Robinson [Mon, 22 Jun 2009 16:37:52 +0000 (16:37 +0000)]
Fix segfault if storage pool has no type attribute (possibly others)

virEnumFromString doesn't check for a NULL string, and will segfault if
passed one. Lots of calling code protects against this, but at least
/pool/@type parsing does not.

15 years agoFix memory reporting for inactive domains in the qemu driver.
Cole Robinson [Mon, 22 Jun 2009 16:35:03 +0000 (16:35 +0000)]
Fix memory reporting for inactive domains in the qemu driver.

Currently, 'info' will always report that mem = max mem. Make sure we
actually return the correct mem value.

15 years agoFix raw storage volume creation for allocation < capacity.
Cole Robinson [Mon, 22 Jun 2009 16:33:24 +0000 (16:33 +0000)]
Fix raw storage volume creation for allocation < capacity.

CreateXMLFrom changes accidentally caused all raw volume creation to be
fully allocated (as though allocation == capacity). Fix this.

Also force CreateXMLFrom to maintain the previous behavior: sparseness
should still be maintained since we search for holes when copying, and the
clone behavior hasn't been tested with anything but the broken behavior.

15 years agotest driver: Fix domain ID after redefining a running VM
Cole Robinson [Mon, 22 Jun 2009 16:29:40 +0000 (16:29 +0000)]
test driver: Fix domain ID after redefining a running VM

The ID of the existing VM was being unconditionally set to -1, which was
upsetting virt-manager.

15 years ago* src/conf.[ch]: restrict VMX syntax parsing types
Daniel Veillard [Mon, 22 Jun 2009 11:54:49 +0000 (11:54 +0000)]
* src/conf.[ch]: restrict VMX syntax parsing types
daniel

15 years ago* src/storage_driver.c: cleanup when creating a storage pool fails,
Daniel Veillard [Mon, 22 Jun 2009 10:15:57 +0000 (10:15 +0000)]
* src/storage_driver.c: cleanup when creating a storage pool fails,
  patch by Henrik Persson
Daniel

15 years agoextend the configuration parser for VMX syntax
Daniel Veillard [Fri, 19 Jun 2009 12:34:30 +0000 (12:34 +0000)]
extend the configuration parser for VMX syntax
* qemud/qemud.c src/conf.c src/conf.h src/qemu_conf.c src/xen_unified.c
  src/xm_internal.c tests/conftest.c tests/xmconfigtest.c: extend
  the configuration parser for VMX syntax, patch by Matthias Bolte
Daniel

15 years agoFix remote socket path for SSH tunnel connections
Daniel P. Berrange [Thu, 18 Jun 2009 13:57:40 +0000 (13:57 +0000)]
Fix remote socket path for SSH tunnel connections

15 years agofix a module dependency problem
Daniel Veillard [Wed, 17 Jun 2009 08:38:17 +0000 (08:38 +0000)]
fix a module dependency problem
* src/node_device.[ch] src/storage_backend.[ch]: fixes a
  module dependency problem, patch by Dave Allan
Daniel

15 years agoAllow USB hostdev product to be 0x0000
Cole Robinson [Tue, 16 Jun 2009 18:46:06 +0000 (18:46 +0000)]
Allow USB hostdev product to be 0x0000

Product = 0 is a valid value based on this bug report:

https://www.redhat.com/archives/libvir-list/2009-May/msg00368.html

Also, throw a less ambiguous error if vendor = 0.

15 years agoFix FS volume creation with backing stores.
Cole Robinson [Tue, 16 Jun 2009 15:47:53 +0000 (15:47 +0000)]
Fix FS volume creation with backing stores.

This regressed when CreateXMLFrom was added: we should only perform the
backing store comparison if an input volume was passed.

15 years agoSet default emulator in domain_conf.*, rather than the driver.
Cole Robinson [Tue, 16 Jun 2009 15:42:46 +0000 (15:42 +0000)]
Set default emulator in domain_conf.*, rather than the driver.

Rather than numerous instances of:

emulator = vm->def->emulator;
if (!emulator)
    emulator = virDomainDefDefaultEmulator(conn, vm->def, driver->caps);
if (!emulator)
    return -1;

Set this value at XML parse time in the domain config, so we can depend on
it for all future emulator accesses. There were unchecked accesses in the
qemu driver that were tripping up on this if no emulator was specified in
the XML, see:

http://www.redhat.com/archives/libvir-list/2008-October/msg00602.html

15 years agoAdd virCapabilities*EmulatorRequired.
Cole Robinson [Tue, 16 Jun 2009 15:27:33 +0000 (15:27 +0000)]
Add virCapabilities*EmulatorRequired.

Certain drivers always need an 'emulator' specified in the XML (qemu and lxc
at least). Store this info in capabilities.

We will eventually use this to move default emulator handling out of
drivers and into domain_conf.*

15 years agoCheck that '-drive format=' is supported before adding to qemu cmdline.
Cole Robinson [Tue, 16 Jun 2009 15:17:10 +0000 (15:17 +0000)]
Check that '-drive format=' is supported before adding to qemu cmdline.

Qemu < 0.10.0 did not support it, and virt-* tools now try to add this by
default, so it's extra important we ensure the option exists.

15 years agoAdd qemuhelptest to .*ignore files
Cole Robinson [Tue, 16 Jun 2009 14:06:48 +0000 (14:06 +0000)]
Add qemuhelptest to .*ignore files

15 years agoFix qemu command flags fetching
Cole Robinson [Tue, 16 Jun 2009 14:01:43 +0000 (14:01 +0000)]
Fix qemu command flags fetching

New function qemudParseHelpStr was being called with arguments in the
wrong order, so command flags == kvm_version :/

15 years agoAdd new 'availheap' sysctl variant for ABI changes in Xen
Daniel P. Berrange [Tue, 16 Jun 2009 09:31:19 +0000 (09:31 +0000)]
Add new 'availheap' sysctl variant for ABI changes in Xen

15 years agoFix build on non-Linux targets
Daniel P. Berrange [Mon, 15 Jun 2009 17:15:54 +0000 (17:15 +0000)]
Fix build on non-Linux targets

15 years agoFix build from tar.gz
Daniel P. Berrange [Mon, 15 Jun 2009 14:59:22 +0000 (14:59 +0000)]
Fix build from tar.gz

15 years agoFix bogus initialization in virFindFileInPath
Daniel P. Berrange [Mon, 15 Jun 2009 11:08:28 +0000 (11:08 +0000)]
Fix bogus initialization in virFindFileInPath

15 years agoRemove use of getuid()==0 for privilege checks
Daniel P. Berrange [Fri, 12 Jun 2009 13:20:13 +0000 (13:20 +0000)]
Remove use of getuid()==0 for privilege checks

15 years agoInclude OS driver name (if any) in device XML for nodedev driver
Daniel P. Berrange [Fri, 12 Jun 2009 13:12:55 +0000 (13:12 +0000)]
Include OS driver name (if any) in device XML for nodedev driver

15 years agoImprove error reporting for virConnectOpen URIs
Daniel P. Berrange [Fri, 12 Jun 2009 12:06:15 +0000 (12:06 +0000)]
Improve error reporting for virConnectOpen URIs

15 years agoFix re-detection of transient VMs after libvirtd restart
Daniel P. Berrange [Fri, 12 Jun 2009 11:38:50 +0000 (11:38 +0000)]
Fix re-detection of transient VMs after libvirtd restart

15 years agofixing a typo in error message
Daniel Veillard [Thu, 11 Jun 2009 15:34:37 +0000 (15:34 +0000)]
fixing a typo in error message
* qemud/remote.c: fixing a typo pointed out by Runa Bhattacharjee
Daniel

15 years agoextract serial number from HAL storage backend
Daniel Veillard [Thu, 11 Jun 2009 14:25:19 +0000 (14:25 +0000)]
extract serial number from HAL storage backend
* src/node_device_hal.c src/node_device_conf.[ch]: add support
  for serial number in HAL storage backend, patch by Dave Allan
* docs/schemas/nodedev.rng
tests/nodedevschemadata/storage_serial_3600c0ff000d7a2a5d463ff4902000000.xml:
  update the schemas and add a test case, also by Dave Allan
Daniel

15 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>
15 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>
15 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>
15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agorelease of libvirt-0.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

15 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

15 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

15 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

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

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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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