]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
16 years agoPass -name arg to QEMU when available
Daniel P. Berrange [Thu, 15 May 2008 16:15:17 +0000 (16:15 +0000)]
Pass -name arg to QEMU when available

16 years agoAdd support for Xen input device in QEMU driver for xenner
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

16 years agoSupport paravirt disk configuration for xenner guests
Daniel P. Berrange [Thu, 15 May 2008 16:05:41 +0000 (16:05 +0000)]
Support paravirt disk configuration for xenner guests

16 years agoavoid using STREQLEN with a literal; use STRPREFIX instead
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):

16 years agoUpdate Stefan's email addr
Daniel P. Berrange [Thu, 15 May 2008 14:04:14 +0000 (14:04 +0000)]
Update Stefan's email addr

16 years agoFix default config param
Daniel P. Berrange [Thu, 15 May 2008 13:19:34 +0000 (13:19 +0000)]
Fix default config param

16 years ago* Makefile.maint (sc_prohibit_strcmp): Also prohibit strncmp.
Jim Meyering [Thu, 15 May 2008 07:12:43 +0000 (07:12 +0000)]
* Makefile.maint (sc_prohibit_strcmp): Also prohibit strncmp.

16 years agoChange libvirtd description from qemu only to various VM(i.e. Xen, LXC)
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

16 years agoIgnore generated test binaries
Daniel P. Berrange [Wed, 14 May 2008 23:56:33 +0000 (23:56 +0000)]
Ignore generated test binaries

16 years agoreplace two indentation TABs with spaces
Jim Meyering [Wed, 14 May 2008 21:23:02 +0000 (21:23 +0000)]
replace two indentation TABs with spaces

16 years agoremove trailing blanks
Jim Meyering [Wed, 14 May 2008 21:22:04 +0000 (21:22 +0000)]
remove trailing blanks

16 years agoexempt gnulib/ from "make syntax-check" strcmp prohibition
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.

16 years agoAdded listen_addr config param for daemon (Stefan de Konink)
Daniel P. Berrange [Wed, 14 May 2008 20:57:20 +0000 (20:57 +0000)]
Added listen_addr config param for daemon (Stefan  de Konink)

16 years agoRemove all use of strcmp, strncmp in favour of STREQ, STREQLEN, STRPREFIX
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

16 years agoavoid "not a string literal..." warnings
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.

16 years agoFix some stray leading spaces in Changelog entry for my last commit
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

16 years agoEnable libvirtd drivers to handle signals, in lxc, sigchld triggers vm cleanup
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

17 years agoAdd support for -drive QEMU syntax, and virtio bus / disk type
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

17 years agoAdd new files from gnulib.
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.

17 years agoUse gnulib's c-ctype.h, not <ctype.h>.
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>.

17 years agoPrepare to use gnulib's c-type module.
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:

17 years agoautostart for running Xen domains
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

17 years agosytnax-check: add a check for risky ctype macro use
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.

17 years agoavoid one more ctype vs. sign-extension problem
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.

17 years agocomplete the previous change
Jim Meyering [Fri, 9 May 2008 08:06:50 +0000 (08:06 +0000)]
complete the previous change

17 years agoadd "const" and "static" attributes to file-scoped globals
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 '

17 years ago*** empty log message ***
David L. Leskovec [Fri, 9 May 2008 07:16:30 +0000 (07:16 +0000)]
*** empty log message ***

17 years agoAdded some notes about libvirt string/memory/buffer functions
Daniel P. Berrange [Thu, 8 May 2008 14:49:53 +0000 (14:49 +0000)]
Added some notes about libvirt string/memory/buffer functions

17 years agoAdded disk target bus type to Xen driver
Daniel P. Berrange [Thu, 8 May 2008 14:41:56 +0000 (14:41 +0000)]
Added disk target bus type to Xen driver

17 years agoUpdate domain XML docs
Daniel P. Berrange [Thu, 8 May 2008 14:20:07 +0000 (14:20 +0000)]
Update domain XML docs

17 years agoFix polkit docs
Daniel P. Berrange [Thu, 8 May 2008 11:52:21 +0000 (11:52 +0000)]
Fix polkit docs

17 years agoDisable sound functions when in proxy
Daniel P. Berrange [Wed, 7 May 2008 18:50:23 +0000 (18:50 +0000)]
Disable sound functions when in proxy

17 years agoSetVcpus and DomainGetMaxVcpus for QEmu
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

17 years agoMore regression tests for sound support
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

17 years agoSound support for QEmu and Xen
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

17 years agoAdded autogenerated TOC for network and storage XML reference docs
Daniel P. Berrange [Tue, 6 May 2008 23:23:55 +0000 (23:23 +0000)]
Added autogenerated TOC for network and storage XML reference docs

17 years agoFix build on F9 with missing stddefs.h include
Daniel P. Berrange [Tue, 6 May 2008 21:44:12 +0000 (21:44 +0000)]
Fix build on F9 with missing stddefs.h include

17 years ago* build-aux/vc-list-files: Add support for bzr.
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>

17 years agoCheck in /usr/sbin for iptables too, for SUSE distros (Jim Fehlig)
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)

17 years agoRemove bogus check for NULL in qparams breaking connections
Daniel P. Berrange [Thu, 1 May 2008 18:11:03 +0000 (18:11 +0000)]
Remove bogus check for NULL in qparams breaking connections

17 years agoRemove compat macros now present in onceonly.m4
Daniel P. Berrange [Wed, 30 Apr 2008 16:32:26 +0000 (16:32 +0000)]
Remove compat macros now present in onceonly.m4

17 years agoupdate from gnulib, again
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.

17 years agoAdd compat for RHEL-5 autoconf
Daniel P. Berrange [Wed, 30 Apr 2008 15:54:40 +0000 (15:54 +0000)]
Add compat for RHEL-5 autoconf

17 years agoIgnore coverage data files
Daniel P. Berrange [Wed, 30 Apr 2008 13:14:40 +0000 (13:14 +0000)]
Ignore coverage data files

17 years agoAdded support for network interface model setting
Daniel P. Berrange [Wed, 30 Apr 2008 12:30:55 +0000 (12:30 +0000)]
Added support for network interface model setting

17 years ago* gnulib/lib/stdio-impl.h: Add another new file from gnulib.
Jim Meyering [Tue, 29 Apr 2008 21:43:50 +0000 (21:43 +0000)]
* gnulib/lib/stdio-impl.h: Add another new file from gnulib.

17 years agoIgnore python JIT file
Daniel P. Berrange [Tue, 29 Apr 2008 21:42:47 +0000 (21:42 +0000)]
Ignore python JIT file

17 years ago* gnulib/tests/test-EOVERFLOW.c: Add another new file from gnulib.
Jim Meyering [Tue, 29 Apr 2008 21:39:38 +0000 (21:39 +0000)]
* gnulib/tests/test-EOVERFLOW.c: Add another new file from gnulib.

17 years agoFix build errors.
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.

17 years agoupdate 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.

17 years agoremove useless tests before xmlFree
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):

17 years agoTell gcov to look in .libs to find coverage data
Daniel P. Berrange [Tue, 29 Apr 2008 15:41:30 +0000 (15:41 +0000)]
Tell gcov to look in .libs to find coverage data

17 years agoTell 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

17 years agoalso check for useless test-before-xmlFree
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.

17 years agotests: recognize more uses of strcmp.
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.

17 years agoFix array out of bounds in capabilities code parsing
Daniel P. Berrange [Tue, 29 Apr 2008 14:13:54 +0000 (14:13 +0000)]
Fix array out of bounds in capabilities code parsing

17 years agoAdded network XML docs
Daniel P. Berrange [Tue, 29 Apr 2008 14:08:08 +0000 (14:08 +0000)]
Added network XML docs

17 years agoRemove bogus test code accidentally left in previous commit
Daniel P. Berrange [Tue, 29 Apr 2008 13:48:41 +0000 (13:48 +0000)]
Remove bogus test code accidentally left in previous commit

17 years agoAvoid "make syntax-check" failures.
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.

17 years agoAvoid in-function #if directives.
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.

17 years ago * src/parthelper.c: Don't fail if PED_PARTITION_PROTECTED
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).

17 years agoAdded safer lowlevel memory allocation APis. Converted hash.c and capabilities.c...
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

17 years agoChange virBuffer API to prevent common usage errors. Update all users of APIs
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

17 years agofix typo in bootstrap script
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.

17 years agoAdded more bash supressions
Daniel P. Berrange [Mon, 28 Apr 2008 13:55:50 +0000 (13:55 +0000)]
Added more bash supressions

17 years agoIgnore bash bugs under valgrind
Daniel P. Berrange [Mon, 28 Apr 2008 13:36:48 +0000 (13:36 +0000)]
Ignore bash bugs under valgrind

17 years agoavoid format-related warnings
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.

17 years ago* docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
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

17 years agoAdded full support for serial and parallel devices to Xen drivers
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

17 years agoImplement serial & parallel device support for QEMU driver
Daniel P. Berrange [Fri, 25 Apr 2008 20:46:13 +0000 (20:46 +0000)]
Implement serial & parallel device support for QEMU driver

17 years agoAdapt layout to workaround IE6 bugs
Daniel P. Berrange [Fri, 25 Apr 2008 16:23:51 +0000 (16:23 +0000)]
Adapt layout to workaround IE6 bugs

17 years agoAdding Anton Protopopov to AUTHORS
Daniel Veillard [Fri, 25 Apr 2008 15:48:04 +0000 (15:48 +0000)]
Adding Anton Protopopov to AUTHORS
Daniel

17 years agogroup ownership of /var/run/libvirt/
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

17 years agoavoid problems with sign-extended "char" operand to is* functions
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.

17 years agoRoll back log change, Daniel
Daniel Veillard [Thu, 24 Apr 2008 20:24:18 +0000 (20:24 +0000)]
Roll back log change, Daniel

17 years ago"Sponsored by' wording, Daniel
Daniel Veillard [Thu, 24 Apr 2008 15:34:18 +0000 (15:34 +0000)]
"Sponsored by' wording, Daniel

17 years agoSponsor logo
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

17 years ago* AUTHORS: update, list people with commit access
Daniel Veillard [Thu, 24 Apr 2008 12:35:28 +0000 (12:35 +0000)]
* AUTHORS: update, list people with commit access
Daniel

17 years agofix the search
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

17 years ago* proxy/libvirt_proxy.c and docs/* typo fixing
Atsushi SAKAI [Thu, 24 Apr 2008 09:17:29 +0000 (09:17 +0000)]
* proxy/libvirt_proxy.c and docs/* typo fixing
Atsushi

17 years agoCosmetic doc improvements
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

17 years agoFix generation of NEWS file
Daniel P. Berrange [Wed, 23 Apr 2008 19:39:59 +0000 (19:39 +0000)]
Fix generation of NEWS file

17 years agoFix wiki link in API docs
Daniel P. Berrange [Wed, 23 Apr 2008 17:45:07 +0000 (17:45 +0000)]
Fix wiki link in API docs

17 years agoSplit website out into one file per page. APply new layout and styling
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

17 years agoEnable 'make syntax-check's sc_changelog rule.
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.

17 years agoPython header workaround
Daniel P. Berrange [Fri, 18 Apr 2008 18:31:32 +0000 (18:31 +0000)]
Python header workaround

17 years agoWork around Python.h name-space pollution.
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.

17 years agoRe-factor and pretty print differences
Daniel P. Berrange [Fri, 18 Apr 2008 15:28:33 +0000 (15:28 +0000)]
Re-factor and pretty print differences

17 years agoTest script helper for printing string differences
Daniel P. Berrange [Fri, 18 Apr 2008 15:05:29 +0000 (15:05 +0000)]
Test script helper for printing string differences

17 years agoavoid compile error when <pthread.h> is absent
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".

17 years agoFixes for MinGW.
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.

17 years agoRemove trailing blank
Daniel P. Berrange [Thu, 17 Apr 2008 19:25:42 +0000 (19:25 +0000)]
Remove trailing blank

17 years agoRemove a trailing blank.
Jim Meyering [Thu, 17 Apr 2008 08:40:53 +0000 (08:40 +0000)]
Remove a trailing blank.

17 years agoComplete and cleanup virsh man page
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

17 years agoAdded lxc_container.c to POTFILES.in
Daniel P. Berrange [Mon, 14 Apr 2008 17:44:51 +0000 (17:44 +0000)]
Added lxc_container.c to POTFILES.in

17 years agoRemove unused uid field in virsh control structure.
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.

17 years agoHACKING: New file: begin to describe contributor/coding guidelines
Jim Meyering [Thu, 10 Apr 2008 16:56:44 +0000 (16:56 +0000)]
HACKING: New file: begin to describe contributor/coding guidelines

17 years agoensure that no C source file uses TABs for indentation
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.

17 years agoconvert TAB-based indentation in C sources to use only spaces
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

17 years agoremove Vim and Emacs variable settings from C source files
Jim Meyering [Thu, 10 Apr 2008 16:53:29 +0000 (16:53 +0000)]
remove Vim and Emacs variable settings from C source files

Done with these commands:
git grep -l Local.variab|xargs \
  perl -0x3b -pi -e 's,\n+/\*\n \* vim:(.|\n)*,\n,'

git grep -l Local.variab|xargs \
  perl -0x3b -pi -e 's,\n+/\*\n \* Local variables:\n(.|\n)*,\n,'