]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
16 years agoApply CPU pinning at startup for QEMU guests
Daniel P. Berrange [Thu, 22 May 2008 16:27:20 +0000 (16:27 +0000)]
Apply CPU pinning at startup for QEMU guests

16 years agoAdd support for VCPU pinning in QEMU driver
Daniel P. Berrange [Thu, 22 May 2008 16:20:31 +0000 (16:20 +0000)]
Add support for VCPU pinning in QEMU driver

16 years agoAdded missing config.h import
Daniel P. Berrange [Thu, 22 May 2008 16:18:40 +0000 (16:18 +0000)]
Added missing config.h import

16 years agoFix removal of iptable forwarding rules
Daniel P. Berrange [Thu, 22 May 2008 15:49:50 +0000 (15:49 +0000)]
Fix removal of iptable forwarding rules

16 years agoRemove duplicated error messages
Daniel P. Berrange [Thu, 22 May 2008 15:40:01 +0000 (15:40 +0000)]
Remove duplicated error messages

16 years agoFix misleading comment about numactl
Daniel P. Berrange [Thu, 22 May 2008 15:35:51 +0000 (15:35 +0000)]
Fix misleading comment about numactl

16 years agoQuote all args to configure.in macros
Daniel P. Berrange [Thu, 22 May 2008 15:34:02 +0000 (15:34 +0000)]
Quote all args to configure.in macros

16 years agoImplement NUMA info/apis in QEMU driver
Daniel P. Berrange [Thu, 22 May 2008 15:29:50 +0000 (15:29 +0000)]
Implement NUMA info/apis in QEMU driver

16 years agoWire up free memory APIs to remote driver/daemon
Daniel P. Berrange [Thu, 22 May 2008 15:20:25 +0000 (15:20 +0000)]
Wire up free memory APIs to remote driver/daemon

16 years agoFix misc memory leaks
Daniel P. Berrange [Thu, 22 May 2008 15:12:25 +0000 (15:12 +0000)]
Fix misc memory leaks

16 years ago"copy-paste" errors
Daniel Veillard [Thu, 22 May 2008 14:57:32 +0000 (14:57 +0000)]
"copy-paste" errors
* docs/formatdomain.html docs/formatdomain.html.in: Anton Protopopov
  pointed out a few "copy-paste" errors
daniel

16 years agoFix exit status check with qemu -help
Daniel P. Berrange [Wed, 21 May 2008 21:14:36 +0000 (21:14 +0000)]
Fix exit status check with qemu -help

16 years agoFixed couple of memory leaks wrt to virXXXDestroy APIs, and clarify docs to match...
Daniel P. Berrange [Wed, 21 May 2008 20:53:30 +0000 (20:53 +0000)]
Fixed couple of memory leaks wrt to virXXXDestroy APIs, and clarify docs to match reality

16 years agoDon't free C object after destroy method in python
Daniel P. Berrange [Wed, 21 May 2008 20:18:20 +0000 (20:18 +0000)]
Don't free C object after destroy method in python

16 years agoRun qemu with -help when probing for args
Daniel P. Berrange [Wed, 21 May 2008 19:43:39 +0000 (19:43 +0000)]
Run qemu with -help when probing for args

16 years agoAvoid initializing driver if pidfie is claimed. Always claim pidfile as root
Daniel P. Berrange [Tue, 20 May 2008 16:17:36 +0000 (16:17 +0000)]
Avoid initializing driver if pidfie is claimed. Always claim pidfile as root

16 years agoNotes on the use of listen_tls/listen_tcp
Daniel Veillard [Tue, 20 May 2008 15:55:00 +0000 (15:55 +0000)]
Notes on the use of listen_tls/listen_tcp
* docs/remote.html docs/remote.html.in: patch from Kenneth Nagin
  with Notes on the use of listen_tls/listen_tcp
Daniel

16 years agoplug two leaks
Jim Meyering [Fri, 16 May 2008 16:53:44 +0000 (16:53 +0000)]
plug two leaks

* src/qemu_conf.c (qemudParseXML): Free "obj" unconditionally.

16 years agoMake QEMU test suite independant of host OS capabilities
Daniel P. Berrange [Fri, 16 May 2008 16:51:30 +0000 (16:51 +0000)]
Make QEMU test suite independant of host OS capabilities

16 years ago* src/xml.c: Include "c-ctype.h".
Jim Meyering [Fri, 16 May 2008 14:18:38 +0000 (14:18 +0000)]
* src/xml.c: Include "c-ctype.h".

16 years agostart using c-ctype functions
Jim Meyering [Fri, 16 May 2008 09:37:44 +0000 (09:37 +0000)]
start using c-ctype functions

Up to now, we've been avoiding ctype functions like isspace, isdigit,
etc.  because they are locale-dependent.  Now that we have the c-ctype
functions, we can start using *them*, to make the code more readable
with changes like these:

-        /* This may not work on EBCDIC. */
-        if ((*p >= 'a' && *p <= 'z') ||
-            (*p >= 'A' && *p <= 'Z') ||
-            (*p >= '0' && *p <= '9'))
+        if (c_isalnum(*p))

-    while ((*cur >= '0') && (*cur <= '9')) {
+    while (c_isdigit(*cur)) {

Also, some macros in conf.c used names that conflicted with
standard meaning of "BLANK" and "SPACE", so I've adjusted them
to be in line with the definition of e.g., isblank.
In addition, I've wrapped those statement macros with do {...} while (0),
so that we can't forget the ";" after a use.  There was one like that
already (fixed below).  The missing semicolon would mess up automatic
indenting.
* src/buf.c (virBufferURIEncodeString):
* src/conf.c (IS_EOL, SKIP_BLANKS_AND_EOL, SKIP_BLANKS)
(virConfParseLong, virConfParseValue, virConfParseName)
(virConfParseSeparator, virConfParseStatement, IS_BLANK, IS_CHAR)
(IS_DIGIT, IS_SPACE, SKIP_SPACES):
* src/nodeinfo.c:
* src/qemu_conf.c (qemudParseInterfaceXML):
* src/qemu_driver.c (qemudDomainBlockStats):
* src/sexpr.c:
* src/stats_linux.c:
* src/util.c (virParseNumber, virDiskNameToIndex):
* src/uuid.c (hextobin, virUUIDParse):
* src/virsh.c:
* src/xml.c (parseCpuNumber, virParseCpuSet):

16 years agoavoid a double-free bug
Jim Meyering [Fri, 16 May 2008 09:30:10 +0000 (09:30 +0000)]
avoid a double-free bug

* src/qemu_conf.c (qemudParseXML): Ensure that "obj" is either
NULL or a valid malloc'd pointer before we might "goto error"
where it is freed.

16 years agoRemove use of strcmp()
Daniel P. Berrange [Thu, 15 May 2008 20:07:34 +0000 (20:07 +0000)]
Remove use of strcmp()

16 years agoFixe default disk bus selection logic
Daniel P. Berrange [Thu, 15 May 2008 16:24:26 +0000 (16:24 +0000)]
Fixe default disk bus selection logic

16 years agoSupport Xenner bootloader
Daniel P. Berrange [Thu, 15 May 2008 16:21:11 +0000 (16:21 +0000)]
Support Xenner bootloader

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