]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
16 years agoHACKING: mention bool and other scalar types, const-correctness
Jim Meyering [Mon, 5 Jan 2009 08:12:11 +0000 (08:12 +0000)]
HACKING: mention bool and other scalar types, const-correctness

16 years agodocument vnc's keymap attribute
Guido Günther [Fri, 26 Dec 2008 13:37:53 +0000 (13:37 +0000)]
document vnc's keymap attribute

16 years ago* docs/logging.html docs/logging.html.in: new page documenting
Daniel Veillard [Tue, 23 Dec 2008 13:47:10 +0000 (13:47 +0000)]
* docs/logging.html docs/logging.html.in: new page documenting
  the logging system
* docs/auth.html docs/deployment.html docs/remote.html
  docs/sitemap.html docs/sitemap.html.in docs/uri.html
  docs/windows.html: integration in the existing set
Daniel

16 years agoadd .x-sc_prohibit_asprintf
Guido Günther [Tue, 23 Dec 2008 13:40:42 +0000 (13:40 +0000)]
add .x-sc_prohibit_asprintf

16 years agouse virAsprintf instead of asprintf
Guido Günther [Tue, 23 Dec 2008 13:03:29 +0000 (13:03 +0000)]
use virAsprintf instead of asprintf

16 years agoFix storage driver null dereference.
Cole Robinson [Mon, 22 Dec 2008 16:30:57 +0000 (16:30 +0000)]
Fix storage driver null dereference.

16 years agoMerge xml building for virsh pool-*-as
Cole Robinson [Mon, 22 Dec 2008 16:23:36 +0000 (16:23 +0000)]
Merge xml building for virsh pool-*-as

16 years agofix make check with the new logging support
Daniel Veillard [Mon, 22 Dec 2008 16:16:10 +0000 (16:16 +0000)]
fix make check with the new logging support
* qemud/qemud.c qemud/test_libvirtd_qemu.aug tests/Makefile.am
  tests/daemon-conf: fix make check with the new logging support
  the messages now carry a timestamp which need to be removed,
  the daemon needs to exit if the log configuration informations
  are wrong and we also look at the LIBVIRT_DEBUG environment
  variable
Daniel

16 years ago* qemud/mdns.c: fix a compilation problem in the switch
Daniel Veillard [Mon, 22 Dec 2008 13:08:13 +0000 (13:08 +0000)]
* qemud/mdns.c: fix a compilation problem in the switch
daniel

16 years agoDocument the new daemon options
Daniel Veillard [Mon, 22 Dec 2008 12:57:35 +0000 (12:57 +0000)]
Document the new daemon options
* qemud/libvirtd.aug qemud/libvirtd.conf: document the new
  options in the config file and augment the Augeas description
daniel

16 years agoFinish switching the daemon code to new logging
Daniel Veillard [Mon, 22 Dec 2008 12:55:47 +0000 (12:55 +0000)]
Finish switching the daemon code to new logging
* qemud/event.c qemud/mdns.c qemud/remote.c: switch other pieces
  of the daemon to the new logging infrastructure
daniel

16 years agoSwitch daemon to new logging APIs
Daniel Veillard [Mon, 22 Dec 2008 12:53:26 +0000 (12:53 +0000)]
Switch daemon to new logging APIs
* qemud/qemud.c qemud/qemud.h: replace the daemon old logging
  infrastructure with the new one and parse configuration options
daniel

16 years ago* src/uml_conf.c: another logging conversion
Daniel Veillard [Mon, 22 Dec 2008 10:53:07 +0000 (10:53 +0000)]
* src/uml_conf.c: another logging conversion
daniel

16 years agoconvert old logging to the new API
Daniel Veillard [Mon, 22 Dec 2008 10:48:59 +0000 (10:48 +0000)]
convert old logging to the new API
* src/node_device_devkit.c src/uml_driver.c src/virterror.c:
  convert old logging to the new API
daniel

16 years ago* src/libvirt.c: convert entry points to new logging
Daniel Veillard [Mon, 22 Dec 2008 10:46:01 +0000 (10:46 +0000)]
* src/libvirt.c: convert entry points to new logging
daniel

16 years ago* src/logging.h src/logging.c: commited the more recent version
Daniel Veillard [Mon, 22 Dec 2008 10:44:10 +0000 (10:44 +0000)]
* src/logging.h src/logging.c: commited the more recent version
  with function name and line number
daniel

16 years agonew internal logging APIs
Daniel Veillard [Mon, 22 Dec 2008 10:36:54 +0000 (10:36 +0000)]
new internal logging APIs
* src/logging.h src/logging.c: add the infrastructure and internal
  APIs for logging, some of those APIs should be made public later
* src/libvirt_sym.version.in: flag the internal APIs as such
daniel

16 years ago* src/xen_internal.h: remove tabs to fix make syntax-check
Daniel Veillard [Mon, 22 Dec 2008 10:32:20 +0000 (10:32 +0000)]
* src/xen_internal.h: remove tabs to fix make syntax-check
  and fix the indentation
daniel

16 years agomake NUMA-initialization code more portable and more robust
Jim Meyering [Sun, 21 Dec 2008 18:55:09 +0000 (18:55 +0000)]
make NUMA-initialization code more portable and more robust

qemudCapsInitNUMA and umlCapsInitNUMA were identical, so this change
factors them into a new function, virCapsInitNUMA, and puts it in
nodeinfo.c.

In addition to factoring out the duplicates, this change also
adjusts that function definition (along with its macros) so
that it works with Fedora 9's numactl version 1, and makes it
so the code will work even if someone builds the kernel with
CONFIG_NR_CPUS > 4096.

Finally, also perform this NUMA initialization for the lxc
and openvz drivers.

* src/nodeinfo.c: Include <stdint.h>, <numa.h> and "memory.h".
(virCapsInitNUMA): Rename from qemudCapsInitNUMA and umlCapsInitNUMA.
(NUMA_MAX_N_CPUS): Define depending on NUMA API version.
(n_bits, MASK_CPU_ISSET): Define, adjust, use uint64 rather than long.
* src/nodeinfo.h: Include "capabilities.h".
(virCapsInitNUMA): Declare it.
* examples/domain-events/events-c/Makefile.am:
* src/Makefile.am: Add $(NUMACTL_CFLAGS) and $(NUMACTL_LIBS) to various
compile/link-related variables.
* src/qemu_conf.c: Include "nodeinfo.h".
(qemudCapsInitNUMA): Remove duplicate code.  Adjust caller.
* src/uml_conf.c (umlCapsInitNUMA): Likewise.
Include "nodeinfo.h".
* src/lxc_conf.c: Include "nodeinfo.h".
(lxcCapsInit): Perform NUMA initialization here, too.
* src/openvz_conf.c (openvzCapsInit): And here.
Include "nodeinfo.h".
* src/libvirt_sym.version.in: Add virCapsInitNUMA so that libvirtd
can link to this function.

16 years ago* src/node_device_hal.c: Include <config.h> before everything else.
Jim Meyering [Sun, 21 Dec 2008 18:49:11 +0000 (18:49 +0000)]
* src/node_device_hal.c: Include <config.h> before everything else.

16 years agoRe-generated doc
Daniel P. Berrange [Sun, 21 Dec 2008 17:26:21 +0000 (17:26 +0000)]
Re-generated doc

16 years agoavoid "make check" failures due to localized error messages
Guido Günther [Sat, 20 Dec 2008 23:23:50 +0000 (23:23 +0000)]
avoid "make check" failures due to localized error messages

16 years agosave and remove kvm/qemu domain status
Guido Günther [Sat, 20 Dec 2008 13:17:49 +0000 (13:17 +0000)]
save and remove kvm/qemu domain status

16 years agoadd XML parsing for qemu/kvm status files
Guido Günther [Sat, 20 Dec 2008 13:09:45 +0000 (13:09 +0000)]
add XML parsing for qemu/kvm status files

16 years agodocs/formatdomain.html.in: Fix documentation typo
Richard W.M. Jones [Fri, 19 Dec 2008 10:44:01 +0000 (10:44 +0000)]
docs/formatdomain.html.in: Fix documentation typo
         (aozturk in #virt).

16 years agofix device hotplug
Guido Günther [Thu, 18 Dec 2008 16:49:49 +0000 (16:49 +0000)]
fix device hotplug

16 years agolet qemu/kvm instances write a pid file
Guido Günther [Thu, 18 Dec 2008 15:22:49 +0000 (15:22 +0000)]
let qemu/kvm instances write a pid file

16 years agoReplace __FUNCTION__ with __func__ for better portability (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 12:25:11 +0000 (12:25 +0000)]
Replace __FUNCTION__ with __func__ for better portability (John Levon)

16 years agoFix gcc-ism in python build (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 12:20:00 +0000 (12:20 +0000)]
Fix gcc-ism in python build (John Levon)

16 years agoFix mistaken free of domain event object after queueing (David Lively)
Daniel P. Berrange [Thu, 18 Dec 2008 12:11:53 +0000 (12:11 +0000)]
Fix mistaken free of domain event object after queueing (David Lively)

16 years agoFix test driver return value & disable nodeinfotest on non-linux (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 12:08:05 +0000 (12:08 +0000)]
Fix test driver return value & disable nodeinfotest on non-linux (John Levon)

16 years agoFix unused variable compile warning when polkit is disabled (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 12:00:45 +0000 (12:00 +0000)]
Fix unused variable compile warning when polkit is disabled (John Levon)

16 years agoUse pid_t for all PID tracking variables (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 11:58:28 +0000 (11:58 +0000)]
Use pid_t for all PID tracking variables (John Levon)

16 years agoDon't munge default network XML if uuidgen is not present (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 11:54:34 +0000 (11:54 +0000)]
Don't munge default network XML if uuidgen is not present (John Levon)

16 years agoMisc daemon fixes (John Levon)
Daniel P. Berrange [Thu, 18 Dec 2008 11:52:06 +0000 (11:52 +0000)]
Misc daemon fixes (John Levon)

16 years agodocs/virsh.pod: typo fix
Jim Meyering [Thu, 18 Dec 2008 06:48:13 +0000 (06:48 +0000)]
docs/virsh.pod: typo fix

16 years agoMakefile.maint: use $(srcdir), not $(top_srcdir)
Jim Meyering [Thu, 18 Dec 2008 06:45:05 +0000 (06:45 +0000)]
Makefile.maint: use $(srcdir), not $(top_srcdir)

16 years agoFix unreachable statement (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:50:02 +0000 (21:50 +0000)]
Fix unreachable statement (John Levon)

16 years agoFix domain events callback type (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:48:20 +0000 (21:48 +0000)]
Fix domain events callback type (John Levon)

16 years agoRemove non-existant symbols from linker script (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:42:49 +0000 (21:42 +0000)]
Remove non-existant symbols from linker script (John Levon)

16 years agoConvert linker script comments & linker args to be Solaris compat (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:39:41 +0000 (21:39 +0000)]
Convert linker script comments & linker args to be Solaris compat (John Levon)

16 years agoFix __sun macro check (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:31:51 +0000 (21:31 +0000)]
Fix __sun macro check (John Levon)

16 years agoFix return type for Xen open subdriver method impl (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:26:16 +0000 (21:26 +0000)]
Fix return type for Xen open subdriver method impl (John Levon)

16 years agoFix openvz crash when setting vcpus & initialize mutex (Anton Protopopov)
Daniel P. Berrange [Wed, 17 Dec 2008 21:13:19 +0000 (21:13 +0000)]
Fix openvz crash when setting vcpus & initialize mutex (Anton Protopopov)

16 years agoRemove trailing semi-colons causing empty statement warnings (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 21:09:44 +0000 (21:09 +0000)]
Remove trailing semi-colons causing empty statement warnings (John Levon)

16 years agoRemove use of anonymous unions for non-GCC (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 18:12:07 +0000 (18:12 +0000)]
Remove use of anonymous unions for non-GCC (John Levon)

16 years agoportability: don't include <endian.h> or <byteswap.h>
Jim Meyering [Wed, 17 Dec 2008 18:08:42 +0000 (18:08 +0000)]
portability: don't include <endian.h> or <byteswap.h>

* src/storage_backend_fs.c: Don't include <endian.h> or <byteswap.h>.
(LV_BIG_ENDIAN, LV_LITTLE_ENDIAN): Define.
Use those instead of __BIG_ENDIAN and __LITTLE_ENDIAN.

16 years agoRemove use of _PATH_DEVNULL in favour of /dev/null for portability (John Levon)
Daniel P. Berrange [Wed, 17 Dec 2008 18:04:55 +0000 (18:04 +0000)]
Remove use of _PATH_DEVNULL in favour of /dev/null for portability (John Levon)

16 years agoenforce the "include <config.h> first" rule
Jim Meyering [Wed, 17 Dec 2008 17:23:21 +0000 (17:23 +0000)]
enforce the "include <config.h> first" rule

* qemud/Makefile.am: Ensure that the generated remote_protocol.c
includes <config.h> first.
* Makefile.maint (sc_require_config_h_first): New rule, so that
"make syntax-check" enforces this.
* .x-sc_require_config_h_first: New file.
* Makefile.am (.x-sc_require_config_h_first): Add it.
* qemud/remote_protocol.x: Don't include <config.h> here.
* qemud/remote_protocol.c: Regenerate.

16 years agolet gcc's -Wformat do its job; avoid "make syntax-check" failure
Jim Meyering [Wed, 17 Dec 2008 17:22:43 +0000 (17:22 +0000)]
let gcc's -Wformat do its job; avoid "make syntax-check" failure

* src/util.c (virAsprintf): Remove trailing space.
* src/util.h (virAsprintf): Use ATTRIBUTE_FORMAT.
* HACKING (Printf-style functions): New section.

16 years agoAdd missing checks for read-only connection flag (CVE-2008-5086)
Daniel P. Berrange [Wed, 17 Dec 2008 16:45:22 +0000 (16:45 +0000)]
Add missing checks for read-only connection flag (CVE-2008-5086)

16 years ago* configure.in: detect syslog.h
Daniel Veillard [Wed, 17 Dec 2008 16:08:47 +0000 (16:08 +0000)]
* configure.in: detect syslog.h
daniel

16 years agouse $(top_srcdir) for m4/ and $(VC_LIST)
Guido Günther [Wed, 17 Dec 2008 08:30:20 +0000 (08:30 +0000)]
use $(top_srcdir) for m4/ and $(VC_LIST)

16 years agofix numa-related (and kernel-dependent) test failures
Jim Meyering [Wed, 17 Dec 2008 07:05:45 +0000 (07:05 +0000)]
fix numa-related (and kernel-dependent) test failures

This change is required on some kernels due to the way a change in
the kernel's CONFIG_NR_CPUS propagates through the numa library.
* src/qemu_conf.c (qemudCapsInitNUMA): Pass numa_all_cpus_ptr->size/8
as the buffer-length-in-bytes in the call to numa_node_to_cpus, since
that's what is required on second and subseqent calls.
* src/uml_conf.c (umlCapsInitNUMA): Likewise.

16 years agoSanitize qemu monitor reads.
Cole Robinson [Tue, 16 Dec 2008 22:34:13 +0000 (22:34 +0000)]
Sanitize qemu monitor reads.

16 years agoadd virAsprintf
Guido Günther [Mon, 15 Dec 2008 20:09:29 +0000 (20:09 +0000)]
add virAsprintf

16 years ago* src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC
Daniel Veillard [Mon, 15 Dec 2008 15:34:30 +0000 (15:34 +0000)]
* src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC
daniel

16 years agoFix deadlock when reloading configs
Daniel P. Berrange [Mon, 15 Dec 2008 11:00:11 +0000 (11:00 +0000)]
Fix deadlock when reloading configs

16 years agoremove redundant optname arguments
Jim Meyering [Mon, 15 Dec 2008 10:26:54 +0000 (10:26 +0000)]
remove redundant optname arguments

This is the second part of the change mentioned here:

  http://thread.gmane.org/gmane.comp.emulators.libvirt/10331

It removes the essentially redundant "optname" parameter
from each of the vshCommandOptNetworkBy and vshCommandOptDomainBy
functions as well as the correspond macros (without "By" suffix).
Now, instead of always passing the optname, "domain", to
vshCommandOptDomainBy, that function requires that its command
argument refer to an opts array containing a "domain" option.

This normalization makes one more help-related change:
it renames the net-start "name" argument to the more
sensible and consistent "network".
* src/virsh.c (VSH_BYNAME, vshCommandOptDomain)
(cmd_has_option): New function, used in vshCommandOptDomainBy
and vshCommandOptNetworkBy.
(vshCommandOptDomainBy, vshCommandOptNetworkBy): Remove the optname
parameter, it's always "domain" ("network").  Update all callers.
Call cmd_has_option.
(vshCommandOptNetwork, cmdAutostart, cmdConsole, cmdDomstate)
(cmdDomblkstat, cmdDomIfstat, cmdSuspend, cmdUndefine, cmdStart)
(cmdSave, cmdSchedinfo, cmdDump, cmdResume, cmdShutdown)
(cmdReboot, cmdDestroy, cmdDominfo, cmdVcpuinfo, cmdVcpupin)
(cmdSetvcpus, cmdSetmem, cmdSetmaxmem, cmdDumpXML, cmdDomname)
(cmdDomid, cmdDomuuid, cmdMigrate, cmdNetworkAutostart)
(cmdNetworkDestroy, cmdNetworkDumpXML, cmdNetworkName)
(opts_network_start, cmdNetworkStart, cmdNetworkUndefine)
(cmdNetworkUuid, cmdVNCDisplay, cmdTTYConsole, cmdAttachDevice)
(cmdDetachDevice, cmdAttachInterface, cmdDetachInterface)
(cmdAttachDisk, cmdDetachDisk, cmdEdit)
* src/Makefile.am (virsh-pool-edit.c): This code is generated
from cmdEdit, and cmdEdit uses the vshCommandOptDomain macro which
now, with the changes above, has only 3 (was 4) arguments, yet the
macro use is mapped to vshCommandOptPool, which still requires 4
arguments.  So this change adjusts the sed code to reinsert the
just-removed argument -- we're not changing pool-related code right
now, because it's not as straight-forward.

16 years agosyntax-check: enforce the no-cvs-keywords prohibition
Jim Meyering [Mon, 15 Dec 2008 10:24:54 +0000 (10:24 +0000)]
syntax-check: enforce the no-cvs-keywords prohibition

* Makefile.maint (sc_prohibit_cvs_keyword): New rule.
Suggested by Daniel Veillard.
The new test exposed two uses of $Date$.
* docs/Goals: Don't use $Date$.
* python/TODO: Likewise.

16 years agoavoid a spurious test failure on non-numa systems
Jim Meyering [Fri, 12 Dec 2008 16:11:50 +0000 (16:11 +0000)]
avoid a spurious test failure on non-numa systems

* tests/daemon-conf: Ignore a spurious libnuma warning.
Reported by Daniel Veillard.

16 years agoOops did the wrong fix in previous commit, correct fix, Daniel
Daniel Veillard [Fri, 12 Dec 2008 14:01:03 +0000 (14:01 +0000)]
Oops did the wrong fix in previous commit, correct fix, Daniel

16 years ago* Makefile.maint: fix tabs in C source error message based on
Daniel Veillard [Fri, 12 Dec 2008 13:58:25 +0000 (13:58 +0000)]
* Makefile.maint: fix tabs in C source error message based on
  Dave Allan feedback
daniel

16 years agoremove cvs $Id$ strings
Jim Meyering [Fri, 12 Dec 2008 12:45:34 +0000 (12:45 +0000)]
remove cvs $Id$ strings

* po/id.po: Likewise.
* qemud/remote_generate_stubs.pl: Likewise.
* src/virsh.c: Likewise.
* tests/testutils.c: Likewise.
* tests/testutils.h: Likewise.
* RENAMES: Likewise.

16 years ago*** empty log message ***
Jim Meyering [Fri, 12 Dec 2008 12:19:21 +0000 (12:19 +0000)]
*** empty log message ***

16 years agoremove unused xmlrpc-related files
Jim Meyering [Fri, 12 Dec 2008 11:31:15 +0000 (11:31 +0000)]
remove unused xmlrpc-related files

* src/xmlrpc.h: Remove file.
* src/xmlrpc.c: Likewise.
* tests/test_xmlrpc.sh: Likewise.
* tests/xmlrpctest.c: Likewise.
* tests/xmlrpcserver.py: Likewise.
* tests/Makefile.am (EXTRA_DIST): Remove xmlserver.py.
(noinst_PROGRAMS): Remove xmlrpctest, along with associated variables.
* po/POTFILES.in: Remove src/xmlrpc.c.
* tests/.cvsignore: Remove xmlrpctest.

16 years agofix bits/bytes memory request mismatches
Daniel Veillard [Fri, 12 Dec 2008 10:39:19 +0000 (10:39 +0000)]
fix bits/bytes memory request mismatches
* src/qemu_conf.c src/uml_conf.c: fix a couple of places where
  we were requesting 8 times the required amount of memory,
  patch by Dave Allan
daniel

16 years agolook for devhelp.xsl in $(srcdir)
Guido Günther [Fri, 12 Dec 2008 09:47:14 +0000 (09:47 +0000)]
look for devhelp.xsl in $(srcdir)

16 years agofix serial/parallel virtual devices over tcp, unix and telnet
Guido Günther [Fri, 12 Dec 2008 09:39:31 +0000 (09:39 +0000)]
fix serial/parallel virtual devices over tcp, unix and telnet

16 years agoadd --version support to libvirtd
Daniel Veillard [Fri, 12 Dec 2008 07:56:50 +0000 (07:56 +0000)]
add --version support to libvirtd
* qemud/qemud.c: add --version support to libvirtd, patch by
  Dave Allan
* AUTHORS: add Dave Allan
Daniel

16 years ago* libvirt.spec.in: fix a conditional bug in spec file #460510,
Daniel Veillard [Fri, 12 Dec 2008 07:36:20 +0000 (07:36 +0000)]
* libvirt.spec.in: fix a conditional bug in spec file #460510,
  patch by Dave Allan
daniel

16 years ago* src/util.c: retry poll() in EINTR failures, patch by Dave Allan
Daniel Veillard [Fri, 12 Dec 2008 07:29:39 +0000 (07:29 +0000)]
* src/util.c: retry poll() in EINTR failures, patch by Dave Allan
daniel

16 years agobuild: avoid libvirtd link failure with CFLAGS=-g
Jim Meyering [Thu, 11 Dec 2008 18:11:41 +0000 (18:11 +0000)]
build: avoid libvirtd link failure with CFLAGS=-g

* qemud/Makefile.am (libvirtd_LDADD): Add gnulib's libgnu.la last.
Otherwise, building with -g (no inlining) would fail due to a use
of c_isspace in libvirt_driver_qemu.a, which used to followed
libgnu.a in the link command.

16 years agosyntax-check: prohibit all new uses of gethostby* functions
Jim Meyering [Thu, 11 Dec 2008 15:14:03 +0000 (15:14 +0000)]
syntax-check: prohibit all new uses of gethostby* functions

* Makefile.maint (sc_prohibit_gethostby): New rule.
* .x-sc_prohibit_gethostby: Exempt the few existing uses.

16 years agoFix locking issue in test driver VolLookupByPath
Cole Robinson [Thu, 11 Dec 2008 15:04:09 +0000 (15:04 +0000)]
Fix locking issue in test driver VolLookupByPath

16 years agoFix rpm build by installing logrotate config.
Cole Robinson [Thu, 11 Dec 2008 15:02:39 +0000 (15:02 +0000)]
Fix rpm build by installing logrotate config.

16 years agoFix a locking issue in PoolGetAutostart.
Cole Robinson [Thu, 11 Dec 2008 15:00:12 +0000 (15:00 +0000)]
Fix a locking issue in PoolGetAutostart.

16 years agoFix segfault if virtual network does not have a bridge name
Cole Robinson [Thu, 11 Dec 2008 14:57:45 +0000 (14:57 +0000)]
Fix segfault if virtual network does not have a bridge name

16 years agoAdding support for SDL fullscreen option
Daniel Veillard [Thu, 11 Dec 2008 11:44:30 +0000 (11:44 +0000)]
Adding support for SDL fullscreen option
* src/domain_conf.c src/domain_conf.h src/qemu_conf.c
  tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
  tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.args
  tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml:
  slightly modified patch for SDL fullscreen from Itamar Heim
* docs/formatdomain.html docs/formatdomain.html.in docs/libvirt.rng:
  update the schemas and docs about the sdl graphic element attributes
* AUTHORS: add Itamar Heim
Daniel

16 years agoavoid a new "make distcheck" failure
Jim Meyering [Wed, 10 Dec 2008 19:21:00 +0000 (19:21 +0000)]
avoid a new "make distcheck" failure

Distribute the new file, libvirtd.logrotate.in, and make
distclean remove the build product, libvirtd.logrotate.
* qemud/Makefile.am (EXTRA_DIST): Add libvirtd.logrotate.in.
(DISTCLEANFILES): Initialize, and append libvirtd.logrotate.in.

16 years agoavoid format string warnings
Jim Meyering [Wed, 10 Dec 2008 16:35:00 +0000 (16:35 +0000)]
avoid format string warnings

* src/openvz_conf.c (openvzGetNodeCPUs): Add "%s" arg before _(...).
* src/uml_driver.c (umlDomainBlockPeek): Likewise.

16 years agofix just-broken "virsh start" and "virsh pool-start" commands
Jim Meyering [Tue, 9 Dec 2008 21:38:04 +0000 (21:38 +0000)]
fix just-broken "virsh start" and "virsh pool-start" commands

* src/virsh.c (cmdPoolStart, cmdStart): Change hard-coded
vshCommandOptDomainBy string argument to match just-changed
option name.  Cole Robinson reported that "virsh start" was
broken and provided that part of the fix.
Bug introduced by yesterday's "virsh.c: tweak options to produce
more accurate help".
* tests/start: New file.  Test for the above fix.
* tests/Makefile.am (test_scripts): Add start.

16 years agologrotate qemu monitor logs
Guido Günther [Tue, 9 Dec 2008 20:22:39 +0000 (20:22 +0000)]
logrotate qemu monitor logs

16 years agovirsh.c: tweak options to produce more accurate help
Jim Meyering [Mon, 8 Dec 2008 13:22:44 +0000 (13:22 +0000)]
virsh.c: tweak options to produce more accurate help

* src/virsh.c: Adjust some vshCmdOptDef command option flags
to improve auto-generated help command syntax.

16 years agovirsh.c: remove all "syntax" vshCmdInfo entries.
Jim Meyering [Mon, 8 Dec 2008 13:22:13 +0000 (13:22 +0000)]
virsh.c: remove all "syntax" vshCmdInfo entries.

* src/virsh.c: ... now that info is generated.

16 years agovirsh.c: add missing (yet empty) "desc" strings
Jim Meyering [Mon, 8 Dec 2008 13:21:30 +0000 (13:21 +0000)]
virsh.c: add missing (yet empty) "desc" strings

* src/virsh.c: Now, every command must have a "desc" string,
even if it has zero length.  Mark these, so they'll be filled in.

16 years agovirsh.c: generate each "virsh help COMMAND"s synopsis
Jim Meyering [Mon, 8 Dec 2008 13:14:48 +0000 (13:14 +0000)]
virsh.c: generate each "virsh help COMMAND"s synopsis

* src/virsh.c: Also, diagnose extra arguments after --help (-h).

16 years agoFix mixup between LDFLAGS & LDADD vars
Daniel P. Berrange [Mon, 8 Dec 2008 12:04:27 +0000 (12:04 +0000)]
Fix mixup between LDFLAGS & LDADD vars

16 years agoWorkaround broken limits.h on Debian etch
Daniel P. Berrange [Mon, 8 Dec 2008 11:28:37 +0000 (11:28 +0000)]
Workaround broken limits.h on Debian etch

16 years agoFix autostart of domains with virtual networks used
Daniel P. Berrange [Mon, 8 Dec 2008 11:18:47 +0000 (11:18 +0000)]
Fix autostart of domains with virtual networks used

16 years agoFix NULL crash & integer overflow
Daniel P. Berrange [Sun, 7 Dec 2008 20:45:28 +0000 (20:45 +0000)]
Fix NULL crash & integer overflow

16 years agoFix test driver storage deadlock
Daniel P. Berrange [Sun, 7 Dec 2008 20:21:46 +0000 (20:21 +0000)]
Fix test driver storage deadlock

16 years agoFix return value in testStoragePoolBuild for test driver
Daniel P. Berrange [Sun, 7 Dec 2008 14:08:37 +0000 (14:08 +0000)]
Fix return value in testStoragePoolBuild for test driver

16 years agoFix a compilation problem with old dbus,
Daniel Veillard [Fri, 5 Dec 2008 15:05:48 +0000 (15:05 +0000)]
Fix a compilation problem with old dbus,
Daniel

16 years agoFix Xen proxy build
Daniel P. Berrange [Fri, 5 Dec 2008 10:10:41 +0000 (10:10 +0000)]
Fix Xen proxy build

16 years agoRemove unused driver arg from monitor APIs
Daniel P. Berrange [Thu, 4 Dec 2008 22:19:30 +0000 (22:19 +0000)]
Remove unused driver arg from monitor APIs

16 years agoMake thread pool size configurable & allow client connection limit
Daniel P. Berrange [Thu, 4 Dec 2008 22:18:44 +0000 (22:18 +0000)]
Make thread pool size configurable & allow client connection limit

16 years agoUse a thread pool for RPC dispatch
Daniel P. Berrange [Thu, 4 Dec 2008 22:16:40 +0000 (22:16 +0000)]
Use a thread pool for RPC dispatch

16 years agoMake event loop thread safe & re-entrant safe
Daniel P. Berrange [Thu, 4 Dec 2008 22:14:15 +0000 (22:14 +0000)]
Make event loop thread safe & re-entrant safe

16 years agoSimplify error reporting rules
Daniel P. Berrange [Thu, 4 Dec 2008 22:12:53 +0000 (22:12 +0000)]
Simplify error reporting rules