]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
16 years agoMake RPC call dispatch threaded
Daniel P. Berrange [Tue, 20 Jan 2009 16:36:34 +0000 (16:36 +0000)]
Make RPC call dispatch threaded

16 years agoremove stdout_fd, stderr_fd from virDomainObj
Daniel Veillard [Tue, 20 Jan 2009 16:10:20 +0000 (16:10 +0000)]
remove stdout_fd, stderr_fd from virDomainObj
* src/domain_conf.h src/lxc_driver.c src/uml_driver.c: virDomainObj
  doesn't need stdout and stderr fields anymore, patch from
  Guido Günther
daniel

16 years ago* src/domain_conf.h src/qemu_driver.c: use monitor fd for QEmu/KVM
Daniel Veillard [Tue, 20 Jan 2009 15:52:11 +0000 (15:52 +0000)]
* src/domain_conf.h src/qemu_driver.c: use monitor fd for QEmu/KVM
  domain shutdown and read saved vm status on libvirtd startup,
  last 2 patches from Guido Günther finishing up the surviving the
  libvirt daemon restart
daniel

16 years agoFix apibuild.py and update/regenerate localizations
Daniel Veillard [Tue, 20 Jan 2009 15:42:07 +0000 (15:42 +0000)]
Fix apibuild.py and update/regenerate localizations
* docs/apibuild.py: fix the parser with another Win32 keyword
* po/*: updated a couple of translations and regenerated
daniel

16 years agofix "make syntax-check" failures
Jim Meyering [Tue, 20 Jan 2009 13:51:52 +0000 (13:51 +0000)]
fix "make syntax-check" failures

* ChangeLog: Start with TAB, not 8 spaces.
* src/virterror.c: Remove trailing spaces.

16 years agoFix config summary output alignment
Daniel P. Berrange [Tue, 20 Jan 2009 12:25:40 +0000 (12:25 +0000)]
Fix config summary output alignment

16 years agoAdd public APIs for ref counting on public objects
Daniel P. Berrange [Tue, 20 Jan 2009 12:14:03 +0000 (12:14 +0000)]
Add public APIs for ref counting on public objects

16 years agoFix actual vs expected data comparison order to get correct diff +++/--- output
Daniel P. Berrange [Tue, 20 Jan 2009 12:03:40 +0000 (12:03 +0000)]
Fix actual vs expected data comparison order to get correct diff +++/--- output

16 years agoThread local error reporting
Daniel P. Berrange [Tue, 20 Jan 2009 12:01:45 +0000 (12:01 +0000)]
Thread local error reporting

16 years agoAvoid bogus event loop wakeups in remote driver when doing RPC call
Daniel P. Berrange [Tue, 20 Jan 2009 11:45:09 +0000 (11:45 +0000)]
Avoid bogus event loop wakeups in remote driver when doing RPC call

16 years agoAdd locking to the remote driver
Daniel P. Berrange [Tue, 20 Jan 2009 11:41:24 +0000 (11:41 +0000)]
Add locking to the remote driver

16 years agodaemonize qemu processes
Guido Günther [Mon, 19 Jan 2009 21:55:54 +0000 (21:55 +0000)]
daemonize qemu processes

16 years agosave domstate as string in status file
Guido Günther [Mon, 19 Jan 2009 21:06:26 +0000 (21:06 +0000)]
save domstate as string in status file

16 years agoChange Ben Guthro email
Daniel Veillard [Mon, 19 Jan 2009 20:24:12 +0000 (20:24 +0000)]
Change Ben Guthro email
Daniel

16 years ago* src/xen_internal.c src/xend_internal.c: Relax NUMA checking
Daniel Veillard [Mon, 19 Jan 2009 20:16:10 +0000 (20:16 +0000)]
* src/xen_internal.c src/xend_internal.c: Relax NUMA checking
  for RHEL-5 and change the detection stategy for default Xen
  accesses, patch by Markus Armbruster
daniel

16 years agoFix PVFB version check for RHEL-5
Daniel Veillard [Mon, 19 Jan 2009 19:49:30 +0000 (19:49 +0000)]
Fix PVFB version check for RHEL-5
* src/xend_internal.c src/xm_internal.c: fix paravirt framebuffer
  handling since it was backoprted for RHEL-5, patch by Markus
  Armbruster
daniel

16 years ago* src/xend_internal.c src/xm_internal.c: fix fully virt network
Daniel Veillard [Mon, 19 Jan 2009 18:12:00 +0000 (18:12 +0000)]
* src/xend_internal.c src/xm_internal.c: fix fully virt network
  device configuration for Xen on RHEL-5, patch by Markus Armbruster
daniel

16 years ago* configure.in: add a --with-rhel5-api configure option
Daniel Veillard [Mon, 19 Jan 2009 17:41:39 +0000 (17:41 +0000)]
* configure.in: add a --with-rhel5-api configure option
  for the Xen specific version of RHEL-5, patch by Markus Armbruster
daniel

16 years agoTwo bug fixes coming from RHEL and Markus being added to AUTHORS
Daniel Veillard [Mon, 19 Jan 2009 15:24:41 +0000 (15:24 +0000)]
Two bug fixes coming from RHEL and Markus being added to AUTHORS
* src/xm_internal.c: two bug fixes coming from RHEL package
  posted by Markus Armbruster
* AUTHORS: adding Markus
daniel

16 years agotests: virsh-all and virsh-synopsis were not being run
Jim Meyering [Fri, 16 Jan 2009 18:07:24 +0000 (18:07 +0000)]
tests: virsh-all and virsh-synopsis were not being run

* tests/Makefile.am (test_scripts): Add two missing backslashes.

16 years agotests: exercise a bug that could make virsh and libvirtd segfault
Jim Meyering [Fri, 16 Jan 2009 18:06:33 +0000 (18:06 +0000)]
tests: exercise a bug that could make virsh and libvirtd segfault

* tests/define-dev-segfault: New file.
* tests/Makefile.am (test_scripts): Add define-dev-segfault.

16 years agoFix segfault with console device back compat.
Cole Robinson [Fri, 16 Jan 2009 16:50:11 +0000 (16:50 +0000)]
Fix segfault with console device back compat.

16 years agoFix bug when fork isn't available (Win32) in remote driver
Daniel P. Berrange [Thu, 15 Jan 2009 20:13:12 +0000 (20:13 +0000)]
Fix bug when fork isn't available (Win32) in remote driver

16 years agoReduce exit paths in remote driver APIs
Daniel P. Berrange [Thu, 15 Jan 2009 20:07:10 +0000 (20:07 +0000)]
Reduce exit paths in remote driver APIs

16 years agoRemove use of macros in remote driver private data access
Daniel P. Berrange [Thu, 15 Jan 2009 20:04:44 +0000 (20:04 +0000)]
Remove use of macros in remote driver private data access

16 years agoFix incorrect use of private data field in remote driver
Daniel P. Berrange [Thu, 15 Jan 2009 20:03:10 +0000 (20:03 +0000)]
Fix incorrect use of private data field in remote driver

16 years agoGeneric internal threads API
Daniel P. Berrange [Thu, 15 Jan 2009 19:56:05 +0000 (19:56 +0000)]
Generic internal threads API

16 years agoImplement virKill for Win32 platform
Daniel P. Berrange [Thu, 15 Jan 2009 19:40:21 +0000 (19:40 +0000)]
Implement virKill for Win32 platform

16 years agoAvoid passing NULL to printf %s specifier
John Levon [Thu, 15 Jan 2009 17:54:20 +0000 (17:54 +0000)]
Avoid passing NULL to printf %s specifier

16 years agoImprove xend_get error message
John Levon [Thu, 15 Jan 2009 15:17:53 +0000 (15:17 +0000)]
Improve xend_get error message

16 years agoimplement capabilities parsing for Solaris
John Levon [Thu, 15 Jan 2009 01:35:17 +0000 (01:35 +0000)]
implement capabilities parsing for Solaris

16 years agoFix xs_unwatch() to correctly pass the token
John Levon [Thu, 15 Jan 2009 01:23:32 +0000 (01:23 +0000)]
Fix xs_unwatch() to correctly pass the token

16 years agoFix activeDomainList handling
John Levon [Thu, 15 Jan 2009 01:21:36 +0000 (01:21 +0000)]
Fix activeDomainList handling

16 years agoFix ref-counting for Xen driver event registration
John Levon [Thu, 15 Jan 2009 01:18:37 +0000 (01:18 +0000)]
Fix ref-counting for Xen driver event registration

16 years agoFix devhelp build dependencies
John Levon [Wed, 14 Jan 2009 17:36:05 +0000 (17:36 +0000)]
Fix devhelp build dependencies

16 years agoLet devhelp build in a separate objdir.
John Levon [Wed, 14 Jan 2009 17:30:39 +0000 (17:30 +0000)]
Let devhelp build in a separate objdir.

16 years agoremove references to non-existent files in docs/
John Levon [Wed, 14 Jan 2009 17:24:18 +0000 (17:24 +0000)]
remove references to non-existent files in docs/

16 years agoMark Xen PV CD-ROM devices as such
John Levon [Wed, 14 Jan 2009 16:21:12 +0000 (16:21 +0000)]
Mark Xen PV CD-ROM devices as such

16 years agoImprove compiler flag checking
John Levon [Wed, 14 Jan 2009 15:23:26 +0000 (15:23 +0000)]
Improve compiler flag checking

16 years agoqemud.c: fix error in yesterday's change: s/X_OK/R_OK/
Jim Meyering [Tue, 13 Jan 2009 12:22:24 +0000 (12:22 +0000)]
qemud.c: fix error in yesterday's change: s/X_OK/R_OK/

* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
Daniel Berrange.

16 years ago* HACKING: Clarify "bool" vs. XDR/wire-format.
Jim Meyering [Tue, 13 Jan 2009 10:45:41 +0000 (10:45 +0000)]
* HACKING: Clarify "bool" vs. XDR/wire-format.

16 years agofix the QEmu links
Daniel Veillard [Mon, 12 Jan 2009 21:09:09 +0000 (21:09 +0000)]
fix the QEmu links
* docs/index.html docs/index.html.in docs/relatedlinks.html
  docs/relatedlinks.html.in: fix the QEmu links
daniel

16 years agoFix invocation of rpcgen.
Richard W.M. Jones [Mon, 12 Jan 2009 19:19:22 +0000 (19:19 +0000)]
Fix invocation of rpcgen.
* qemud/Makefile.am: Fix invocation of rpcgen, and make sure
we run the right one.

16 years agotests: quiet virsh-all
Jim Meyering [Mon, 12 Jan 2009 18:23:10 +0000 (18:23 +0000)]
tests: quiet virsh-all

* tests/virsh-all: For now, ignore diagnostics and exit status,
when running all virsh commands.

16 years agodiagnose "libvirtd --config=no-such-file"
Jim Meyering [Mon, 12 Jan 2009 18:22:32 +0000 (18:22 +0000)]
diagnose "libvirtd --config=no-such-file"

* qemud/qemud.c (remoteReadConfigFile): Don't return 0 (success)
when the config file is unreadable or nonexistent
Return -1, not 0, upon virConfReadFile failure.
(main): If remote_config_file is not specified via --config(-f),
use the default config file only if it exists.  Otherwise,
use /dev/null.
* src/conf.c (virConfReadFile): Don't diagnose virFileReadAll
failure, since it already does that.

16 years agofix non-srcdir build failure
Jim Meyering [Mon, 12 Jan 2009 18:21:49 +0000 (18:21 +0000)]
fix non-srcdir build failure

* qemud/Makefile.am (check-local): Prefix use of test_libvirtd.aug
with $(srcdir)/.  Add quotes around $(AUGPARSE), in case it expands
to something unusual.

16 years agoAdd tests and docs for the new PCI passthrough format
Daniel Veillard [Mon, 12 Jan 2009 15:09:19 +0000 (15:09 +0000)]
Add tests and docs for the new PCI passthrough format
* docs/formatdomain.html.in docs/libvirt.rng docs/formatdomain.html:
  document the new PCI passthrough format
* tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
  tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.args
  tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml:
  and add a regression test for it.
Daniel

16 years agodon't emulate snprintf
Guido Günther [Sun, 11 Jan 2009 11:21:29 +0000 (11:21 +0000)]
don't emulate snprintf

16 years agosplit out opening of the qemu logfile
Guido Günther [Sun, 11 Jan 2009 11:18:31 +0000 (11:18 +0000)]
split out opening of the qemu logfile

16 years agosrc/logging.h: fix non-debug compile
John Levon [Fri, 9 Jan 2009 19:22:02 +0000 (19:22 +0000)]
src/logging.h: fix non-debug compile

16 years agoFixups after gnulib refresh
John Levon [Thu, 8 Jan 2009 20:42:01 +0000 (20:42 +0000)]
Fixups after gnulib refresh

16 years agoadd missing flags argument
Guido Günther [Thu, 8 Jan 2009 19:52:15 +0000 (19:52 +0000)]
add missing flags argument

16 years agopass flags argument to all virDomain*DefParse* functions
Guido Günther [Thu, 8 Jan 2009 13:54:20 +0000 (13:54 +0000)]
pass flags argument to all virDomain*DefParse* functions

16 years agopoll: don't return uninitialized
Jim Meyering [Thu, 8 Jan 2009 08:55:20 +0000 (08:55 +0000)]
poll: don't return uninitialized

* gnulib/lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".
[sync from gnulib also adjusts cpp indentation to reflect nesting.]

16 years agoadd more files pulled in via yesterday's gnulib upgrade
Jim Meyering [Wed, 7 Jan 2009 17:11:02 +0000 (17:11 +0000)]
add more files pulled in via yesterday's gnulib upgrade

* gnulib/m4/multiarch.m4: New file.
* gnulib/m4/hostent.m4: New file.
* gnulib/m4/servent.m4: New file.
* .x-sc_prohibit_gethostby: Exempt all gnulib/m4/* files, so
hostent.m4's uses of gethostbyname and gethostbyaddr do not
trigger a "make syntax-check" failure.

16 years agobootstrap: pull in gnulib's ioctl module
Jim Meyering [Wed, 7 Jan 2009 17:10:00 +0000 (17:10 +0000)]
bootstrap: pull in gnulib's ioctl module

* bootstrap: Invoke gnulib-tool with its --no-vc-files
option, since we version-control the files it imports.
This tells it not to mark imported files as cvs-ignored.
(modules): Add ioctl.
* gnulib/lib/ioctl.c: New file.
* gnulib/lib/sys_ioctl.in.h: New file.
* gnulib/tests/sys_ioctl.in.h: Removed.
* gnulib/tests/ioctl.c: Removed.
* gnulib/lib/Makefile.am: Update.
* gnulib/m4/gnulib-cache.m4: Likewise.
* gnulib/m4/gnulib-comp.m4: Likewise.
* gnulib/tests/Makefile.am: Likewise.
* gnulib/lib/.cvsignore: Ignore sys_ioctl.h.
* gnulib/lib/.gitignore: Regenerate.

16 years agoignore generated libvirtd.logrotate.
Jim Meyering [Wed, 7 Jan 2009 17:09:06 +0000 (17:09 +0000)]
ignore generated libvirtd.logrotate.

* qemud/.cvsignore: Add libvirtd.logrotate.
* qemud/.gitignore: Regenerate.

16 years ago* src/domain_conf.c src/qemu_conf.c: implement PCI passthrough
Daniel Veillard [Wed, 7 Jan 2009 12:56:13 +0000 (12:56 +0000)]
* src/domain_conf.c src/qemu_conf.c: implement PCI passthrough
  for recent KVM versions in a similar way to USB, patch by
  Jason Krieg. Some cleanups and reformating too.
daniel

16 years ago* src/openvz_driver.c: fix the mac addresses generation for OpenVZ veth
Daniel Veillard [Wed, 7 Jan 2009 10:55:54 +0000 (10:55 +0000)]
* src/openvz_driver.c: fix the mac addresses generation for OpenVZ veth
  devices, patch by Evgeniy Sokolov
* docs/apps.html: regenerated fixing a typo
Daniel

16 years ago* src/libvirt_private.syms src/qemu_driver.c src/test.c
Daniel Veillard [Wed, 7 Jan 2009 10:43:16 +0000 (10:43 +0000)]
* src/libvirt_private.syms src/qemu_driver.c src/test.c
  src/uml_driver.c src/util.c src/util.h src/xen_unified.c:
  unify hostname lookup using virGetHostname convenience function,
  patch by David Lutterkort
daniel

16 years agoupdate from gnulib; use its time_r module for localtime_r on mingw
Jim Meyering [Tue, 6 Jan 2009 20:12:50 +0000 (20:12 +0000)]
update from gnulib; use its time_r module for localtime_r on mingw

* bootstrap (modules): Add time_r.
* gnulib/m4/time_h.m4: New file.
* gnulib/m4/time_r.m4: New file.
* gnulib/lib/time_r.c: New file.
* gnulib/tests/test-time.c: New file.
* gnulib/lib/time.in.h: New file.
* gnulib/lib/Makefile.am: Update.
* gnulib/lib/fseeko.c: Likewise.
* gnulib/lib/lstat.c: Likewise.
* gnulib/lib/netdb.in.h: Likewise.
* gnulib/lib/stdint.in.h: Likewise.
* gnulib/lib/stdlib.in.h: Likewise.
* gnulib/lib/sys_select.in.h: Likewise.
* gnulib/lib/sys_stat.in.h: Likewise.
* gnulib/lib/sys_time.in.h: Likewise.
* gnulib/lib/unistd.in.h: Likewise.
* gnulib/lib/wchar.in.h: Likewise.
* gnulib/m4/codeset.m4: Likewise.
* gnulib/m4/errno_h.m4: Likewise.
* gnulib/m4/extensions.m4: Likewise.
* gnulib/m4/getaddrinfo.m4: Likewise.
* gnulib/m4/gettext.m4: Likewise.
* gnulib/m4/glibc2.m4: Likewise.
* gnulib/m4/glibc21.m4: Likewise.
* gnulib/m4/gnulib-cache.m4: Likewise.
* gnulib/m4/gnulib-comp.m4: Likewise.
* gnulib/m4/iconv.m4: Likewise.
* gnulib/m4/include_next.m4: Likewise.
* gnulib/m4/intdiv0.m4: Likewise.
* gnulib/m4/intlmacosx.m4: Likewise.
* gnulib/m4/intmax.m4: Likewise.
* gnulib/m4/inttypes-pri.m4: Likewise.
* gnulib/m4/inttypes_h.m4: Likewise.
* gnulib/m4/lcmessage.m4: Likewise.
* gnulib/m4/lib-link.m4: Likewise.
* gnulib/m4/lstat.m4: Likewise.
* gnulib/m4/netdb_h.m4: Likewise.
* gnulib/m4/nls.m4: Likewise.
* gnulib/m4/po.m4: Likewise.
* gnulib/m4/printf-posix.m4: Likewise.
* gnulib/m4/printf.m4: Likewise.
* gnulib/m4/progtest.m4: Likewise.
* gnulib/m4/size_max.m4: Likewise.
* gnulib/m4/sockets.m4: Likewise.
* gnulib/m4/stdint.m4: Likewise.
* gnulib/m4/stdint_h.m4: Likewise.
* gnulib/m4/sys_ioctl_h.m4: Likewise.
* gnulib/m4/threadlib.m4: Likewise.
* gnulib/m4/uintmax_t.m4: Likewise.
* gnulib/m4/visibility.m4: Likewise.
* gnulib/m4/wchar.m4: Likewise.
* gnulib/m4/wchar_t.m4: Likewise.
* gnulib/m4/wint_t.m4: Likewise.
* gnulib/m4/xsize.m4: Likewise.
* gnulib/tests/Makefile.am: Likewise.
* gnulib/tests/sockets.h: Likewise.
* gnulib/tests/.cvsignore: Likewise.
* gnulib/tests/.gitignore: Likewise.
* tests/.gitignore: Likewise.
* docs/examples/.gitignore: Likewise.
* gnulib/lib/.cvsignore: Likewise.
* gnulib/lib/.gitignore: Likewise.

remove files associated with obsolete strpbrk module
* gnulib/lib/strpbrk.c: Remove file.
* gnulib/m4/strpbrk.m4: Remove file.

16 years agoFix misc mingw portability problems
Daniel P. Berrange [Tue, 6 Jan 2009 18:32:03 +0000 (18:32 +0000)]
Fix misc mingw portability problems

16 years agoadd virKillProcess
Guido Günther [Tue, 6 Jan 2009 17:46:46 +0000 (17:46 +0000)]
add virKillProcess

16 years agotrivial cleanups
Guido Günther [Tue, 6 Jan 2009 17:20:27 +0000 (17:20 +0000)]
trivial cleanups

16 years agoignore generated TAGS files
Guido Günther [Tue, 6 Jan 2009 17:14:18 +0000 (17:14 +0000)]
ignore generated TAGS files

16 years ago* AUTHORS: John Levon is now a commiter
Daniel Veillard [Tue, 6 Jan 2009 16:18:59 +0000 (16:18 +0000)]
* AUTHORS: John Levon is now a commiter
Daniel

16 years agofix "make dist" (from scratch) failure
Jim Meyering [Tue, 6 Jan 2009 15:22:57 +0000 (15:22 +0000)]
fix "make dist" (from scratch) failure

* src/Makefile.am (EXTRA_DIST): Don't distribute libvirt_sym.version,
now that it's been removed.  Spotted by Daniel Veillard.

16 years agodist: distribute all libvirt_*.syms files, ...
Jim Meyering [Tue, 6 Jan 2009 15:16:43 +0000 (15:16 +0000)]
dist: distribute all libvirt_*.syms files, ...

* src/Makefile.am (EXTRA_DIST): Distribute all libvirt_*.syms files,
not just those that happen to be selected at configure time.

16 years agoavoid syntax-check (po-check) failure due to FP match on gettext.m4
Jim Meyering [Tue, 6 Jan 2009 09:48:30 +0000 (09:48 +0000)]
avoid syntax-check (po-check) failure due to FP match on gettext.m4

* Makefile.maint (po-check): Exclude .m4 files.

16 years ago* qemud/remote.c: fix compilation without SASL, patch by John Levon
Daniel Veillard [Tue, 6 Jan 2009 09:44:34 +0000 (09:44 +0000)]
* qemud/remote.c: fix compilation without SASL, patch by John Levon
daniel

16 years ago* po/*: updated polish and brazilian translations, regenerated
Daniel Veillard [Tue, 6 Jan 2009 08:48:48 +0000 (08:48 +0000)]
* po/*: updated polish and brazilian translations, regenerated
Daniel

16 years ago* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
Daniel Veillard [Tue, 6 Jan 2009 08:43:44 +0000 (08:43 +0000)]
* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
  backend, patch by John Levon
daniel

16 years agoRemove storage backend symbols from version script
Jim Meyering [Mon, 5 Jan 2009 14:10:40 +0000 (14:10 +0000)]
Remove storage backend symbols from version script

* src/libvirt_private.syms: Remove virStorageBackend* symbol names.
They're linked into qemud, not libvirt.
Author: John Levon

16 years agomigrate linux-specific symbol names into their own sym file
Jim Meyering [Mon, 5 Jan 2009 14:08:26 +0000 (14:08 +0000)]
migrate linux-specific symbol names into their own sym file

* configure.in (WITH_LINUX): New automake conditional.
* src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
* src/libvirt_private.syms: Move two symbol names into...
* src/libvirt_linux.syms: ...this new file.
Author: John Levon

16 years agoMove bridge symbols into a separate syms file
Jim Meyering [Mon, 5 Jan 2009 14:07:31 +0000 (14:07 +0000)]
Move bridge symbols into a separate syms file

* configure.in: Provide a new --with-bridge option.
* src/Makefile.am (PRIVSYMFILES) [WITH_BRIDGE]: Append libvirt_bridge.syms.
* src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
* src/libvirt_private.syms: Move bridge-related symbols into...
* src/libvirt_bridge.syms: ...this new file.
Author: John Levon

16 years agoMove --with-driver-modules symbols into a separate sym file
Jim Meyering [Mon, 5 Jan 2009 14:06:41 +0000 (14:06 +0000)]
Move --with-driver-modules symbols into a separate sym file

* src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
* src/libvirt_private.syms: Move virDriverLoadModule into...
* src/libvirt_driver_modules.syms: ... this new file.
Author: John Levon

16 years agosplit version script into multiple files
Jim Meyering [Mon, 5 Jan 2009 14:05:29 +0000 (14:05 +0000)]
split version script into multiple files

* src/Makefile.am (PRIVSYMFILES): Define.
(EXTRA_DIST): Append $(PRIVSYMFILES).
(libvirt.syms): New rule.
Reflect renaming: s/libvirt_sym.version/libvirt.syms/.
(BUILT_SOURCES): Depend on libvirt.syms.
* configure.in: Define ENABLE_DEBUG as an automake conditional.
(AC_OUTPUT): Remove src/libvirt_sym.version.
* src/.cvsignore: s/libvirt_sym.version/libvirt.syms/.
* src/.gitignore: Regenerate.
* src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
* src/libvirt_debug.syms: New file.
* src/libvirt_private.syms: New file.
Author: John Levon

16 years agoavoid xgettext warning aboug bug-reporting address
Jim Meyering [Mon, 5 Jan 2009 13:28:33 +0000 (13:28 +0000)]
avoid xgettext warning aboug bug-reporting address

* po/Makevars (MSGID_BUGS_ADDRESS): Set, to avoid xgettext warning.
* po/libvirt.pot: Set bug-reporting address.

16 years agoavoid bogus descriptions due to use of gettext with the empty string
Jim Meyering [Mon, 5 Jan 2009 13:27:43 +0000 (13:27 +0000)]
avoid bogus descriptions due to use of gettext with the empty string

* src/virsh.c: Use `""', not `gettext_noop("")', in numerous
vshCmdInfo definitions.  The latter provokes a warning from gettext.

16 years agoMakefile.maint: sync from coreutils
Jim Meyering [Mon, 5 Jan 2009 13:17:34 +0000 (13:17 +0000)]
Makefile.maint: sync from coreutils

16 years agoFix numa build on F9, 32-bit
Daniel P. Berrange [Mon, 5 Jan 2009 12:56:36 +0000 (12:56 +0000)]
Fix numa build on F9, 32-bit

16 years ago* Makefile.maint (msg_gen_function): Add to the list.
Jim Meyering [Mon, 5 Jan 2009 08:17:31 +0000 (08:17 +0000)]
* Makefile.maint (msg_gen_function): Add to the list.

16 years agomark a few diagnostics for translation
Jim Meyering [Mon, 5 Jan 2009 08:16:44 +0000 (08:16 +0000)]
mark a few diagnostics for translation

* src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic.
(xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.

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