]>
xenbits.xensource.com Git - libvirt.git/log
Daniel P. Berrange [Thu, 15 May 2008 16:21:11 +0000 (16:21 +0000)]
Support Xenner bootloader
Daniel P. Berrange [Thu, 15 May 2008 16:15:17 +0000 (16:15 +0000)]
Pass -name arg to QEMU when available
Daniel P. Berrange [Thu, 15 May 2008 16:11:40 +0000 (16:11 +0000)]
Add support for Xen input device in QEMU driver for xenner
Daniel P. Berrange [Thu, 15 May 2008 16:05:41 +0000 (16:05 +0000)]
Support paravirt disk configuration for xenner guests
Jim Meyering [Thu, 15 May 2008 14:21:34 +0000 (14:21 +0000)]
avoid using STREQLEN with a literal; use STRPREFIX instead
Likewise for STRNEQLEN -> !STRPREFIX.
* src/nodeinfo.c (linuxNodeInfoCPUPopulate):
* src/qemu_conf.c (qemudNetworkIfaceConnect):
(qemudParseInterfaceXML):
* src/qemu_driver.c (qemudDomainBlockStats):
* src/remote_internal.c (call):
* src/stats_linux.c (xenLinuxDomainDeviceID):
* src/xend_internal.c (xend_parse_sexp_desc):
(xend_get, sexpr_to_xend_topology):
* src/xm_internal.c (xenXMConfigCacheRefresh)
(xenXMDomainFormatXML):
Daniel P. Berrange [Thu, 15 May 2008 14:04:14 +0000 (14:04 +0000)]
Update Stefan's email addr
Daniel P. Berrange [Thu, 15 May 2008 13:19:34 +0000 (13:19 +0000)]
Fix default config param
Jim Meyering [Thu, 15 May 2008 07:12:43 +0000 (07:12 +0000)]
* Makefile.maint (sc_prohibit_strcmp): Also prohibit strncmp.
Atsushi SAKAI [Thu, 15 May 2008 06:12:32 +0000 (06:12 +0000)]
Change libvirtd description from qemu only to various VM(i.e. Xen, LXC)
Fix typos and comments
Daniel P. Berrange [Wed, 14 May 2008 23:56:33 +0000 (23:56 +0000)]
Ignore generated test binaries
Jim Meyering [Wed, 14 May 2008 21:23:02 +0000 (21:23 +0000)]
replace two indentation TABs with spaces
Jim Meyering [Wed, 14 May 2008 21:22:04 +0000 (21:22 +0000)]
remove trailing blanks
Jim Meyering [Wed, 14 May 2008 21:18:27 +0000 (21:18 +0000)]
exempt gnulib/ from "make syntax-check" strcmp prohibition
* .x-sc_prohibit_strcmp: New file.
* Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp.
Daniel P. Berrange [Wed, 14 May 2008 20:57:20 +0000 (20:57 +0000)]
Added listen_addr config param for daemon (Stefan de Konink)
Daniel P. Berrange [Wed, 14 May 2008 19:51:24 +0000 (19:51 +0000)]
Remove all use of strcmp, strncmp in favour of STREQ, STREQLEN, STRPREFIX
Jim Meyering [Tue, 13 May 2008 09:15:11 +0000 (09:15 +0000)]
avoid "not a string literal..." warnings
* src/qemu_conf.c (qemudParseInterfaceXML): Add "%s".
(qemudBuildCommandLine, qemudGenerateXML): Likewise.
David L. Leskovec [Tue, 13 May 2008 06:51:42 +0000 (06:51 +0000)]
Fix some stray leading spaces in Changelog entry for my last commit
David L. Leskovec [Tue, 13 May 2008 06:30:58 +0000 (06:30 +0000)]
Enable libvirtd drivers to handle signals, in lxc, sigchld triggers vm cleanup
Mon May 12 23:32:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
* qemud/qemud.c: get siginfo with signals, distribute to drivers that
register a handler
* src/driver.h: add sighandler function to state driver table
* src/internal.h: define virStateSigDispatcher functions
* src/libvirt.c: add __virStateSigDispatcher function
* src/libvirt_sym.version: add __virStateSigDispatcher
* src/lxc_driver.c: add sig handler function, cleanup vm when sigchld
received from container process
* src/qemu_driver.c: NULL for sig handler (no handler) in state driver
* src/remote_internal.c: NULL for sig handler (no handler) in state driver
* src/storage_driver.c: NULL for sig handler (no handler) in state driver
Daniel P. Berrange [Fri, 9 May 2008 16:41:19 +0000 (16:41 +0000)]
Add support for -drive QEMU syntax, and virtio bus / disk type
Jim Meyering [Fri, 9 May 2008 14:03:15 +0000 (14:03 +0000)]
Add new files from gnulib.
* gnulib/lib/c-ctype.c: New file.
* gnulib/lib/c-ctype.h: Likewise.
* gnulib/tests/test-c-ctype.c: Likewise.
* gnulib/tests/test-vc-list-files-git.sh: Likewise.
* gnulib/tests/test-vc-list-files-cvs.sh: Likewise.
Jim Meyering [Fri, 9 May 2008 13:50:14 +0000 (13:50 +0000)]
Use gnulib's c-ctype.h, not <ctype.h>.
# Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc.
re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \
|tr -s ', \n' \||sed 's/^|//;s/|$//')
git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \
|xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g'
# Remove all uses of to_uchar
git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g'
* src/util.h (to_uchar): Remove definition.
(TOLOWER): Remove definition.
(__virMacAddrCompare): Use c_tolower, not TOLOWER.
Globally:
Where needed, change <ctype.h> to <c-ctype.h>.
Remove unnecessary inclusion of <ctype.h>.
Ensure the global changes are never needed again:
* Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype
macros. Recommend c-ctype.h instead.
(sc_prohibit_c_ctype_without_use): New rule.
(sc_prohibit_ctype_h): New rule. Disallow use of <ctype.h>.
Jim Meyering [Fri, 9 May 2008 13:46:09 +0000 (13:46 +0000)]
Prepare to use gnulib's c-type module.
* bootstrap: Move module list into separate variable w/less syntax.
(modules): Add c-ctype.
Update the following from gnulib:
* build-aux/useless-if-before-free:
* build-aux/vc-list-files:
* gnulib/lib/Makefile.am:
* gnulib/lib/getaddrinfo.h:
* gnulib/m4/gnulib-cache.m4:
* gnulib/m4/gnulib-comp.m4:
* gnulib/m4/inet_ntop.m4:
* gnulib/tests/Makefile.am:
* gnulib/tests/test-getaddrinfo.c:
Daniel Veillard [Fri, 9 May 2008 08:17:18 +0000 (08:17 +0000)]
autostart for running Xen domains
* src/xen_unified.c src/xend_internal.c src/xend_internal.h: patch
from Cole Robinson implementing autostart for running Xen domains
Daniel
Jim Meyering [Fri, 9 May 2008 08:11:13 +0000 (08:11 +0000)]
sytnax-check: add a check for risky ctype macro use
* Makefile.maint (sc_risky_ctype_macros): New rule.
Jim Meyering [Fri, 9 May 2008 08:09:48 +0000 (08:09 +0000)]
avoid one more ctype vs. sign-extension problem
* src/util.c (TOLOWER): Also convert tolower argument.
Jim Meyering [Fri, 9 May 2008 08:06:50 +0000 (08:06 +0000)]
complete the previous change
Jim Meyering [Fri, 9 May 2008 08:02:44 +0000 (08:02 +0000)]
add "const" and "static" attributes to file-scoped globals
* src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
"const" attributes.
(FileTypeInfo): Name the previously anonymous struct,
so the declaration of fileTypeInfo looks more conventional.
* src/xend_internal.c (sound_models): Mark as static, and
as an array of "const" entries.
These were relatively new additions to the list from here:
nm src/*.o|grep ' D '
David L. Leskovec [Fri, 9 May 2008 07:16:30 +0000 (07:16 +0000)]
*** empty log message ***
Daniel P. Berrange [Thu, 8 May 2008 14:49:53 +0000 (14:49 +0000)]
Added some notes about libvirt string/memory/buffer functions
Daniel P. Berrange [Thu, 8 May 2008 14:41:56 +0000 (14:41 +0000)]
Added disk target bus type to Xen driver
Daniel P. Berrange [Thu, 8 May 2008 14:20:07 +0000 (14:20 +0000)]
Update domain XML docs
Daniel P. Berrange [Thu, 8 May 2008 11:52:21 +0000 (11:52 +0000)]
Fix polkit docs
Daniel P. Berrange [Wed, 7 May 2008 18:50:23 +0000 (18:50 +0000)]
Disable sound functions when in proxy
Daniel Veillard [Wed, 7 May 2008 16:16:44 +0000 (16:16 +0000)]
SetVcpus and DomainGetMaxVcpus for QEmu
* src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: another patch
from Cole Robinson adding SetVcpus and DomainGetMaxVcpus for QEmu
Daniel
Daniel Veillard [Wed, 7 May 2008 14:44:20 +0000 (14:44 +0000)]
More regression tests for sound support
* tests/qemuxml2argvdata/qemuxml2argv-sound.args
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
tests/xmconfigdata/test-fullvirt-sound.cfg
tests/xmconfigdata/test-fullvirt-sound.xml
tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression
tests from previous commit
Daniel
Daniel Veillard [Wed, 7 May 2008 14:04:40 +0000 (14:04 +0000)]
Sound support for QEmu and Xen
* src/qemu_conf.c src/qemu_conf.h src/xend_internal.c
src/xend_internal.h src/xm_internal.c src/xml.c src/xml.h:
Patch from Cole Robinson adding sound support for QEmu and Xen
* tests/qemuxml2argvtest.c tests/sexpr2xmltest.c
tests/xmconfigtest.c tests/xml2sexprtest.c:
Associated regression tests
Daniel
Daniel P. Berrange [Tue, 6 May 2008 23:23:55 +0000 (23:23 +0000)]
Added autogenerated TOC for network and storage XML reference docs
Daniel P. Berrange [Tue, 6 May 2008 21:44:12 +0000 (21:44 +0000)]
Fix build on F9 with missing stddefs.h include
Jim Meyering [Tue, 6 May 2008 21:23:20 +0000 (21:23 +0000)]
* build-aux/vc-list-files: Add support for bzr.
Author: Soren Hansen <soren@ubuntu.com>
Daniel P. Berrange [Mon, 5 May 2008 19:58:56 +0000 (19:58 +0000)]
Check in /usr/sbin for iptables too, for SUSE distros (Jim Fehlig)
Daniel P. Berrange [Thu, 1 May 2008 18:11:03 +0000 (18:11 +0000)]
Remove bogus check for NULL in qparams breaking connections
Daniel P. Berrange [Wed, 30 Apr 2008 16:32:26 +0000 (16:32 +0000)]
Remove compat macros now present in onceonly.m4
Jim Meyering [Wed, 30 Apr 2008 16:11:08 +0000 (16:11 +0000)]
update from gnulib, again
* gnulib/m4/onceonly.m4: New file.
* gnulib/m4/printf.m4: New file.
* build-aux/useless-if-before-free: Update.
* build-aux/vc-list-files: Update.
* gnulib/lib/arpa_inet.in.h: Update.
* gnulib/lib/stdio-impl.h: Update.
* gnulib/m4/inet_ntop.m4: Update.
Daniel P. Berrange [Wed, 30 Apr 2008 15:54:40 +0000 (15:54 +0000)]
Add compat for RHEL-5 autoconf
Daniel P. Berrange [Wed, 30 Apr 2008 13:14:40 +0000 (13:14 +0000)]
Ignore coverage data files
Daniel P. Berrange [Wed, 30 Apr 2008 12:30:55 +0000 (12:30 +0000)]
Added support for network interface model setting
Jim Meyering [Tue, 29 Apr 2008 21:43:50 +0000 (21:43 +0000)]
* gnulib/lib/stdio-impl.h: Add another new file from gnulib.
Daniel P. Berrange [Tue, 29 Apr 2008 21:42:47 +0000 (21:42 +0000)]
Ignore python JIT file
Jim Meyering [Tue, 29 Apr 2008 21:39:38 +0000 (21:39 +0000)]
* gnulib/tests/test-EOVERFLOW.c: Add another new file from gnulib.
Jim Meyering [Tue, 29 Apr 2008 21:23:34 +0000 (21:23 +0000)]
Fix build errors.
* proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
* gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
Jim Meyering [Tue, 29 Apr 2008 19:52:26 +0000 (19:52 +0000)]
update from gnulib
* gnulib/lib/inet_ntop.h: Remove file.
* gnulib/m4/onceonly_2_57.m4: Remove file.
* build-aux/useless-if-before-free: Update.
* build-aux/vc-list-files: Update.
* gnulib/lib/.cvsignore: Update.
* gnulib/lib/Makefile.am: Update.
* gnulib/lib/fseeko.c: Update.
* gnulib/lib/getaddrinfo.c: Update.
* gnulib/lib/getdelim.c: Update.
* gnulib/lib/inet_ntop.c: Update.
* gnulib/lib/inet_ntop.h: Update.
* gnulib/lib/poll.c: Update.
* gnulib/lib/snprintf.c: Update.
* gnulib/lib/stdlib.in.h: Update.
* gnulib/lib/string.in.h: Update.
* gnulib/lib/sys_socket.in.h: Update.
* gnulib/lib/sys_stat.in.h: Update.
* gnulib/lib/vasnprintf.c: Update.
* gnulib/lib/vasprintf.c: Update.
* gnulib/lib/wchar.in.h: Update.
* gnulib/m4/arpa_inet_h.m4: Update.
* gnulib/m4/extensions.m4: Update.
* gnulib/m4/gnulib-common.m4: Update.
* gnulib/m4/gnulib-comp.m4: Update.
* gnulib/m4/include_next.m4: Update.
* gnulib/m4/inet_ntop.m4: Update.
* gnulib/m4/netinet_in_h.m4: Update.
* gnulib/m4/onceonly_2_57.m4: Update.
* gnulib/m4/physmem.m4: Update.
* gnulib/m4/snprintf.m4: Update.
* gnulib/m4/stdint.m4: Update.
* gnulib/m4/stdio_h.m4: Update.
* gnulib/m4/stdlib_h.m4: Update.
* gnulib/m4/string_h.m4: Update.
* gnulib/m4/strndup.m4: Update.
* gnulib/m4/sys_select_h.m4: Update.
* gnulib/m4/sys_socket_h.m4: Update.
* gnulib/m4/sys_stat_h.m4: Update.
* gnulib/m4/vasnprintf.m4: Update.
* gnulib/tests/Makefile.am: Update.
* gnulib/tests/test-fseeko.c: Update.
* gnulib/tests/test-getaddrinfo.c: Update.
* gnulib/tests/test-getdelim.c: Update.
* gnulib/tests/test-getline.c: Update.
* gnulib/tests/test-lseek.c: Update.
* gnulib/tests/test-snprintf.c: Update.
* gnulib/tests/test-sys_stat.c: Update.
* gnulib/tests/test-vasnprintf.c: Update.
* gnulib/tests/test-vasprintf.c: Update.
Jim Meyering [Tue, 29 Apr 2008 19:43:57 +0000 (19:43 +0000)]
remove useless tests before xmlFree
* src/qemu_conf.c (qemudParseDiskXML, qemudParseInterfaceXML):
(qemudParseInputXML, qemudParseDhcpRangesXML):
* src/remote_internal.c (doRemoteOpen):
* src/storage_conf.c (virStoragePoolDefParseDoc):
* src/xm_internal.c (xenXMParseXMLDisk, xenXMParseXMLVif):
(xenXMParseXMLToConfig, xenXMAttachInterface):
* src/xml.c (virDomainParseXMLDiskDesc, virDomainParseXMLIfDesc):
(virDomainXMLDevID):
Daniel P. Berrange [Tue, 29 Apr 2008 15:41:30 +0000 (15:41 +0000)]
Tell gcov to look in .libs to find coverage data
Daniel P. Berrange [Tue, 29 Apr 2008 15:38:13 +0000 (15:38 +0000)]
Tell gcov to look in .libs to find coverage data
Jim Meyering [Tue, 29 Apr 2008 15:06:14 +0000 (15:06 +0000)]
also check for useless test-before-xmlFree
* Makefile.cfg (useless_free_options): Add --name=xmlFree.
Jim Meyering [Tue, 29 Apr 2008 14:25:19 +0000 (14:25 +0000)]
tests: recognize more uses of strcmp.
* Makefile.maint (sc_prohibit_strcmp): Relax regexp.
Daniel P. Berrange [Tue, 29 Apr 2008 14:13:54 +0000 (14:13 +0000)]
Fix array out of bounds in capabilities code parsing
Daniel P. Berrange [Tue, 29 Apr 2008 14:08:08 +0000 (14:08 +0000)]
Added network XML docs
Daniel P. Berrange [Tue, 29 Apr 2008 13:48:41 +0000 (13:48 +0000)]
Remove bogus test code accidentally left in previous commit
Jim Meyering [Tue, 29 Apr 2008 13:37:20 +0000 (13:37 +0000)]
Avoid "make syntax-check" failures.
* src/memory.c: Include "config.h".
Remove trailing blanks.
Jim Meyering [Tue, 29 Apr 2008 13:20:46 +0000 (13:20 +0000)]
Avoid in-function #if directives.
* src/parthelper.c [!PED_PARTITION_PROTECTED]: Define to 0.
Remove in-function #ifdefs.
Richard W.M. Jones [Tue, 29 Apr 2008 08:17:36 +0000 (08:17 +0000)]
* src/parthelper.c: Don't fail if PED_PARTITION_PROTECTED
is not defined because of ancient libparted
(Soren Hansen).
Daniel P. Berrange [Mon, 28 Apr 2008 21:44:54 +0000 (21:44 +0000)]
Added safer lowlevel memory allocation APis. Converted hash.c and capabilities.c to use them
Daniel P. Berrange [Mon, 28 Apr 2008 15:14:59 +0000 (15:14 +0000)]
Change virBuffer API to prevent common usage errors. Update all users of APIs
Jim Meyering [Mon, 28 Apr 2008 14:12:45 +0000 (14:12 +0000)]
fix typo in bootstrap script
* bootstrap: Fix typo: s/gnulib/.gnulib/. Reported by
Daniel P. Berrange.
Daniel P. Berrange [Mon, 28 Apr 2008 13:55:50 +0000 (13:55 +0000)]
Added more bash supressions
Daniel P. Berrange [Mon, 28 Apr 2008 13:36:48 +0000 (13:36 +0000)]
Ignore bash bugs under valgrind
Jim Meyering [Mon, 28 Apr 2008 09:09:52 +0000 (09:09 +0000)]
avoid format-related warnings
* qemud/qemud.c (main): Fix a bogus format string reported as umarked.
* src/virsh.c (cmdVcpupin): Non-literal with no args.
Daniel Veillard [Mon, 28 Apr 2008 08:29:35 +0000 (08:29 +0000)]
* docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
docs/*.html docs/html/*.html: removed footer, added sponsor logo
regenerated the html pages also fixed 'make distcheck' as
pointed by Jim.
Daniel
Daniel P. Berrange [Sat, 26 Apr 2008 14:22:02 +0000 (14:22 +0000)]
Added full support for serial and parallel devices to Xen drivers
Daniel P. Berrange [Fri, 25 Apr 2008 20:46:13 +0000 (20:46 +0000)]
Implement serial & parallel device support for QEMU driver
Daniel P. Berrange [Fri, 25 Apr 2008 16:23:51 +0000 (16:23 +0000)]
Adapt layout to workaround IE6 bugs
Daniel Veillard [Fri, 25 Apr 2008 15:48:04 +0000 (15:48 +0000)]
Adding Anton Protopopov to AUTHORS
Daniel
Daniel Veillard [Fri, 25 Apr 2008 15:46:46 +0000 (15:46 +0000)]
group ownership of /var/run/libvirt/
* qemud/qemud.c: applied patch from Anton Protopopov to change
group ownership of /var/run/libvirt/ to unix_sock_gid.
Daniel
Jim Meyering [Fri, 25 Apr 2008 14:53:05 +0000 (14:53 +0000)]
avoid problems with sign-extended "char" operand to is* functions
* src/util.h (to_uchar): Define function.
* src/nodeinfo.c (linuxNodeInfoCPUPopulate): Apply to_uchar to is* operand.
* src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
* src/sexpr.c (_string2sexpr): Likewise.
* src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
* src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
* src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
Daniel Veillard [Thu, 24 Apr 2008 20:24:18 +0000 (20:24 +0000)]
Roll back log change, Daniel
Daniel Veillard [Thu, 24 Apr 2008 15:34:18 +0000 (15:34 +0000)]
"Sponsored by' wording, Daniel
Daniel Veillard [Thu, 24 Apr 2008 15:20:06 +0000 (15:20 +0000)]
Sponsor logo
* docs/page.xsl docs/redhat.gif docs/*.html: using the shadowman
logo to indicate Red Hat sponsoring, regenerated.
Daniel
Daniel Veillard [Thu, 24 Apr 2008 12:35:28 +0000 (12:35 +0000)]
* AUTHORS: update, list people with commit access
Daniel
Daniel Veillard [Thu, 24 Apr 2008 09:44:00 +0000 (09:44 +0000)]
fix the search
* libvirt.css search.php: fix the search box and PHP output
Daniel
Atsushi SAKAI [Thu, 24 Apr 2008 09:17:29 +0000 (09:17 +0000)]
* proxy/libvirt_proxy.c and docs/* typo fixing
Atsushi
Daniel Veillard [Thu, 24 Apr 2008 07:56:37 +0000 (07:56 +0000)]
Cosmetic doc improvements
* AUTHORS: indicate that the Logo is by Diana Fong
* docs/index.py: modify to also index subprojects pages
Daniel
Daniel P. Berrange [Wed, 23 Apr 2008 19:39:59 +0000 (19:39 +0000)]
Fix generation of NEWS file
Daniel P. Berrange [Wed, 23 Apr 2008 17:45:07 +0000 (17:45 +0000)]
Fix wiki link in API docs
Daniel P. Berrange [Wed, 23 Apr 2008 17:08:31 +0000 (17:08 +0000)]
Split website out into one file per page. APply new layout and styling
Jim Meyering [Mon, 21 Apr 2008 10:09:07 +0000 (10:09 +0000)]
Enable 'make syntax-check's sc_changelog rule.
* Makefile.maint (sc_changelog): Adapt to work with legacy
ChangeLog entry header lines.
* Makefile.cfg (local-checks-to-skip): Remove sc_changelog.
Daniel P. Berrange [Fri, 18 Apr 2008 18:31:32 +0000 (18:31 +0000)]
Python header workaround
Jim Meyering [Fri, 18 Apr 2008 18:07:40 +0000 (18:07 +0000)]
Work around Python.h name-space pollution.
* python/libvir.c (HAVE_PTHREAD_H): #undef.
Without this, we'd get a redefinition warning.
Daniel P. Berrange [Fri, 18 Apr 2008 15:28:33 +0000 (15:28 +0000)]
Re-factor and pretty print differences
Daniel P. Berrange [Fri, 18 Apr 2008 15:05:29 +0000 (15:05 +0000)]
Test script helper for printing string differences
Jim Meyering [Fri, 18 Apr 2008 09:26:45 +0000 (09:26 +0000)]
avoid compile error when <pthread.h> is absent
* src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
Richard W.M. Jones [Fri, 18 Apr 2008 08:33:23 +0000 (08:33 +0000)]
Fixes for MinGW.
* configure.in: Fix pkg-config detection of libxml2,
add -lgcrypt to gnutls lib.
* src/Makefile.am: If compiling --without-libvirtd then
don't compile any part of the storage driver.
* configure.in, src/hash.c, src/internal.h: Detect availability
of pthread library and compile out mutex code if not available.
* src/storage_driver.c, src/util.c: Ignore some missing
headers on MinGW.
Daniel P. Berrange [Thu, 17 Apr 2008 19:25:42 +0000 (19:25 +0000)]
Remove trailing blank
Jim Meyering [Thu, 17 Apr 2008 08:40:53 +0000 (08:40 +0000)]
Remove a trailing blank.
Daniel Veillard [Tue, 15 Apr 2008 15:20:43 +0000 (15:20 +0000)]
Complete and cleanup virsh man page
* virsh.1 docs/virsh.pod: fix missing entries and small cleanups
in the man page, should fix #442429
Daniel
Daniel P. Berrange [Mon, 14 Apr 2008 17:44:51 +0000 (17:44 +0000)]
Added lxc_container.c to POTFILES.in
Richard W.M. Jones [Thu, 10 Apr 2008 17:37:23 +0000 (17:37 +0000)]
Remove unused uid field in virsh control structure.
* src/virsh.c: Remove unused uid field in virsh control structure.
Jim Meyering [Thu, 10 Apr 2008 16:56:44 +0000 (16:56 +0000)]
HACKING: New file: begin to describe contributor/coding guidelines
Jim Meyering [Thu, 10 Apr 2008 16:55:31 +0000 (16:55 +0000)]
ensure that no C source file uses TABs for indentation
* Makefile.maint (sc_TAB_in_indentation): New rule.
Jim Meyering [Thu, 10 Apr 2008 16:54:54 +0000 (16:54 +0000)]
convert TAB-based indentation in C sources to use only spaces
Done using this command (also includes .c.in and .h.in files):
for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do
expand -i $i > j && mv j $i;done