]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
17 years agoMon Nov 26 12:03:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 12:03:34 +0000 (12:03 +0000)]
Mon Nov 26 12:03:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* tests/Makefile.am, tests/nodeinfotest.c, tests/qemuxml2argvtest.c,
  tests/qemuxml2xmltest.c, tests/sexpr2xmltest.c, tests/virshtest.c,
  tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c:
  Miscellaneous fixes to the tests to compile under Cygwin.

17 years agoMon Nov 26 11:56:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:56:41 +0000 (11:56 +0000)]
Mon Nov 26 11:56:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* qemud/qemud.c: If AF_INET6 not defined, don't test for it.

17 years agoMon Nov 26 11:54:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:54:29 +0000 (11:54 +0000)]
Mon Nov 26 11:54:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* qemud/internal.h: Miscellaneous header file fixes to allow
  libvirtd to build under Cygwin.

17 years agoMon Nov 26 11:52:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:52:38 +0000 (11:52 +0000)]
Mon Nov 26 11:52:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in, proxy/Makefile.am: Disable building of the Xen proxy
  if configured --without-xen.

17 years agoMon Nov 26 11:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:50:16 +0000 (11:50 +0000)]
Mon Nov 26 11:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h,
  src/qemu_driver.c, src/qemu_driver.h, src/test.c: Disable more
  of qemu if configured --without-qemu.

17 years agoMon Nov 26 11:47:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:47:15 +0000 (11:47 +0000)]
Mon Nov 26 11:47:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/remote_internal.c: Miscellaneous header file fixes for
  Cygwin.

17 years agoMon Nov 26 11:44:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:45:26 +0000 (11:45 +0000)]
Mon Nov 26 11:44:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in, qemud/Makefile.am: Check for buggy glibc rpcgen
  and only run Perl fix-up script for that.

17 years agoMon Nov 26 11:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:43:01 +0000 (11:43 +0000)]
Mon Nov 26 11:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in: Check if -lrpc is needed to get XDR functions.

17 years agoMon Nov 26 11:39:59 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:40:28 +0000 (11:40 +0000)]
Mon Nov 26 11:39:59 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in, src/internal.h, src/xml.c: <sys/syslimits.h>
  is needed on Cygwin to get PATH_MAX.  HOST_NAME_MAX and
  IF_NAMESIZE defined if not in header files.

17 years agoMon Nov 26 11:39:04 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 26 Nov 2007 11:34:57 +0000 (11:34 +0000)]
Mon Nov 26 11:39:04 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in: Minimum version of GnuTLS we support is 1.0.25.

17 years agoFix a typo in a variable name.
Jim Meyering [Wed, 21 Nov 2007 23:16:11 +0000 (23:16 +0000)]
Fix a typo in a variable name.
* qemud/qemud.c: Check crl_file, not ca_file, for revocation list,
in remoteInitializeGnuTLS.

Author: Jim Meyering <meyering@redhat.com>

17 years ago* src/xm_internal.c: fix the parsing of predefined domains on
Daniel Veillard [Wed, 21 Nov 2007 16:31:30 +0000 (16:31 +0000)]
* src/xm_internal.c: fix the parsing of predefined domains on
  xen prior to 3.1 to take into accound the fact that disk can
  be shareable.
Daniel

17 years agoWed Nov 21 11:59:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Wed, 21 Nov 2007 12:02:40 +0000 (12:02 +0000)]
Wed Nov 21 11:59:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* docs/libvir.html, docs/site.xsl: Fix the link to OCaml
  bindings.

17 years agoWed Nov 21 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Wed, 21 Nov 2007 11:46:05 +0000 (11:46 +0000)]
Wed Nov 21 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/bridge.c, src/qemu_driver.c: Incorrect call to
  brSetForwardDelay changed to brSetEnableSTP.

17 years ago* docs/index.html docs/libvir.html: apply english corrections
Daniel Veillard [Wed, 21 Nov 2007 10:38:07 +0000 (10:38 +0000)]
* docs/index.html docs/libvir.html: apply english corrections
  suggested by Bruce Montague
Daniel

17 years agoCleaned up a couple of comments/tests, Daniel
Daniel Veillard [Tue, 20 Nov 2007 18:57:41 +0000 (18:57 +0000)]
Cleaned up a couple of comments/tests, Daniel

17 years agoTue Nov 20 10:49:28 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Tue, 20 Nov 2007 10:58:21 +0000 (10:58 +0000)]
Tue Nov 20 10:49:28 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/virterror.c, src/stats_linux.c, include/libvirt/virterror.h:
  Renamed the VIR_FROM_LINUX error as VIR_FROM_STATS_LINUX for
  consistency.

17 years ago* include/libvirt/virterror.h src/openvz_conf.c src/openvz_driver.c
Daniel Veillard [Tue, 20 Nov 2007 10:15:38 +0000 (10:15 +0000)]
* include/libvirt/virterror.h src/openvz_conf.c src/openvz_driver.c
  src/stats_linux.c src/virterror.c src/xm_internal.c: patch from
  Saori Fukuta cleaning up various problems in the error reporting
  layers
Daniel

17 years ago* tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting
Daniel Veillard [Tue, 20 Nov 2007 10:05:45 +0000 (10:05 +0000)]
* tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting
  if the path environment variable is missing, add the tests for
  <shareable/> from/to w! ode for disk
* tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.sexpr
  tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.xml
  tests/xml2sexprdata/xml2sexpr-disk-block-shareable.sexpr
  tests/xml2sexprdata/xml2sexpr-disk-block-shareable.xml:
  the new tests data
Daniel

17 years agoRe-add quotes around top_srcdir/top_builddir
Daniel P. Berrange [Sun, 18 Nov 2007 11:23:09 +0000 (11:23 +0000)]
Re-add quotes around top_srcdir/top_builddir

17 years agoRemove reliance on abs_top_{src,build}dir variables from automake 1.10
Daniel P. Berrange [Sat, 17 Nov 2007 13:16:47 +0000 (13:16 +0000)]
Remove reliance on abs_top_{src,build}dir variables from automake 1.10

17 years agoAdded missing news.xsl to EXTRA_DIST
Daniel P. Berrange [Sat, 17 Nov 2007 12:09:35 +0000 (12:09 +0000)]
Added missing news.xsl to EXTRA_DIST

17 years agoFixed 32-bit overflow
Daniel P. Berrange [Sat, 17 Nov 2007 11:53:44 +0000 (11:53 +0000)]
Fixed 32-bit overflow

17 years agoRefactor processing of incoming packets to remove dead code
Daniel P. Berrange [Sat, 17 Nov 2007 11:17:48 +0000 (11:17 +0000)]
Refactor processing of incoming packets to remove dead code

17 years agoThu Nov 15 17:43:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Thu, 15 Nov 2007 17:45:44 +0000 (17:45 +0000)]
Thu Nov 15 17:43:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/stats_linux.c: Fix parsing of short interface names
  occurring in the /proc/net/dev file.
* src/qemu_driver.c: Collect interface stats for QEMU & KVM
  domains.

17 years agoThu Nov 15 17:40:15 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Thu, 15 Nov 2007 17:44:06 +0000 (17:44 +0000)]
Thu Nov 15 17:40:15 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* docs/hvsupport.html, docs/libvir.html: Document HV support
  for virNodeGetFreeMemory and virNodeGetCellsFreeMemory.
* src/libvirt.c: Add DEBUG to virNodeGetFreeMemory and
  virNodeGetCellsFreeMemory.
* src/xen_internal.c: virXenError* functions now take an
  additional virConnectPtr argument, and set it where possible.

17 years ago* docs/libvir.html docs/uri.html: update docs about the libvirt
Daniel Veillard [Thu, 15 Nov 2007 17:07:28 +0000 (17:07 +0000)]
* docs/libvir.html docs/uri.html: update docs about the libvirt
  daemon startup when using QEmu/KVM.
Daniel

17 years agoMake "make distcheck" work.
Jim Meyering [Thu, 15 Nov 2007 13:04:28 +0000 (13:04 +0000)]
Make "make distcheck" work.

* Makefile.am: Expand some "*" wildcards, and (for now) disable
  the relatively unimportant, distuninstallcheck target.
  Fix a few redirect-directly-to-target bugs.
  Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
* docs/Makefile.am: More of the same.  Split some long lines.
* python/Makefile.am: Likewise.
* python/tests/Makefile.am: Likewise.
* qemud/Makefile.am: Likewise.
* tests/Makefile.am: Remove the directories already listed in SUBDIRS.
* docs/examples/index.py: Adapt to produce the desired changes in
  docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
  and emit a comment telling emacs and vi that the file is read-only.
* docs/examples/Makefile.am: Regenerate.

Author: Jim Meyering <meyering@redhat.com>

17 years ago* src/stats_linux.c: patch from Jim Paris to fix compilation
Daniel Veillard [Thu, 15 Nov 2007 10:56:24 +0000 (10:56 +0000)]
* src/stats_linux.c: patch from Jim Paris to fix compilation
  when Xen isn't installed
* src/qemu_conf.h: small cleanup of signedness of bitfields
  from Jim Paris
Daniel

17 years ago* doc/libvir.html doc/format.html: add missing docs for
Daniel Veillard [Wed, 14 Nov 2007 17:11:19 +0000 (17:11 +0000)]
* doc/libvir.html doc/format.html: add missing docs for
  <shareable/> on disk devices
* src/Makefile.am: fix the tst build rule for missing libraries
Daniel

17 years agoHandle failed strdup and malloc.
Jim Meyering [Wed, 14 Nov 2007 16:29:08 +0000 (16:29 +0000)]
Handle failed strdup and malloc.

* src/remote_internal.c: Don't dereference NULL after
failed strdup or malloc in doRemoteOpen.

17 years agoWed Nov 14 11:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Wed, 14 Nov 2007 11:58:36 +0000 (11:58 +0000)]
Wed Nov 14 11:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/stats_linux.c, src/stats_linux.h, src_xen_internal.c:
  Abstract out the Linux-specific statistics.  Fixed parsing
  of 64 bit numbers.
* src/Makefile.am: Updated Makefile for new files.

17 years agoWed Nov 14 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Wed, 14 Nov 2007 11:40:57 +0000 (11:40 +0000)]
Wed Nov 14 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/libvirt.c and all internal driver interfaces: Parse the
  URI only once and pass it to virDrvOpen instead of the
  unparsed name string.

17 years agoParse integers more carefully, cont'd.
Jim Meyering [Wed, 14 Nov 2007 10:53:05 +0000 (10:53 +0000)]
Parse integers more carefully, cont'd.

* qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
  Avoid overflow for very large --timeout=N values.
* src/nodeinfo.c: In linuxNodeInfoMemPopulate and
  linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
  Unlike in qemud.c, here we allow trailing "isspace", and in
  the case of "cpuinfo cpu MHz", also allow a "." terminator,
  since we ignore the decimal and any following digits.
* src/internal.h: Define xstrtol_ui, too.

Author: Jim Meyering <meyering@redhat.com>

17 years agoArrange for tests to pass in a non-srcdir build.
Jim Meyering [Wed, 14 Nov 2007 10:35:58 +0000 (10:35 +0000)]
Arrange for tests to pass in a non-srcdir build.

* tests/Makefile.am: Include the contents of the *data directories
in the make-dist-built tarball by adding each of that *data
directories to EXTRA_DIST.
Also add int-overflow (via $(test_scripts)) to EXTRA_DIST.
* tests/nodeinfotest.c: Prepend "$abs_top_srcdir/tests" to
each input file name.
* tests/qemuxml2argvtest.c: Likewise.
* tests/qemuxml2xmltest.c: Likewise.
* tests/sexpr2xmltest.c: Likewise.
* tests/test_conf.sh: Likewise.
* tests/virshtest.c: Likewise.
* tests/xencapstest.c: Likewise.
* tests/xmconfigtest.c: Likewise.
* tests/xml2sexprtest.c: Likewise.

Author: Jim Meyering <meyering@redhat.com>

17 years agoremove all trailing white space
Jim Meyering [Tue, 13 Nov 2007 15:42:57 +0000 (15:42 +0000)]
remove all trailing white space

17 years agoMake qemud's install-init rule work in a non-srcdir build.
Jim Meyering [Tue, 13 Nov 2007 14:39:20 +0000 (14:39 +0000)]
Make qemud's install-init rule work in a non-srcdir build.

* qemud/Makefile.am: In the install-init, remove an unneeded
$(srcdir)/ prefix.

Author: Jim Meyering <meyering@redhat.com>

17 years agoconftest: fix transposed size and count arguments to fwrite.
Jim Meyering [Mon, 12 Nov 2007 22:16:25 +0000 (22:16 +0000)]
conftest: fix transposed size and count arguments to fwrite.
* tests/conftest.c: Include <string.h> and <errno.h>.
Also include strerror in diagnostic.

Author: Jim Meyering <meyering@redhat.com>

17 years agoOops, forgot, Daniel
Daniel Veillard [Mon, 12 Nov 2007 14:07:37 +0000 (14:07 +0000)]
Oops, forgot, Daniel

17 years agoBegin fixing uses of strtol: parse integers more carefully.
Daniel Veillard [Mon, 12 Nov 2007 14:00:32 +0000 (14:00 +0000)]
Begin fixing uses of strtol: parse integers more carefully.
Patch from Jim Meyering
* src/internal.h: Include <errno.h>.
  Define new static inline function, xstrtol_i.
* src/virsh.c: Detect integer overflow in domain ID number
  in vshCommandOptDomainBy. Detect overflow and invalid port
  number suffix in cmdVNCDisplay.
* src/xend_internal.c: Parse CPU number more carefully in
  xenDaemonDomainGetVcpus.
* tests/int-overflow: New script. Test for the above-fixed bug.
* tests/Makefile.am: Add int-overflow to TESTS. Define
  TESTS_ENVIRONMENT, to propagate $abs_top_* variables into the
  int-overflow script. Adapt the "valgrind" rule not to clobber
  new TESTS_ENVIRONMENT.
Daniel

17 years ago* src/virsh.c: initialize a couple of variable to avoid warnings
Daniel Veillard [Thu, 8 Nov 2007 18:07:02 +0000 (18:07 +0000)]
* src/virsh.c: initialize a couple of variable to avoid warnings
  when compiling with Fedora.
Daniel

17 years ago* src/virsh.c: patch from Jim Meyering to use gcc's printf attribute.
Daniel Veillard [Thu, 8 Nov 2007 18:00:52 +0000 (18:00 +0000)]
* src/virsh.c: patch from Jim Meyering to use gcc's printf attribute.
Daniel

17 years ago* src/virsh.c: patch from Jim Meyering to correct vshCommandOptInt
Daniel Veillard [Thu, 8 Nov 2007 16:14:12 +0000 (16:14 +0000)]
* src/virsh.c: patch from Jim Meyering to correct vshCommandOptInt
  indentation
Daniel

17 years ago* docs/libvir.html docs/site.xsl: small updates with references
Daniel Veillard [Wed, 7 Nov 2007 13:40:19 +0000 (13:40 +0000)]
* docs/libvir.html docs/site.xsl: small updates with references
  to CIM and OpenVZ
* po/*: updated translations
Daniel

17 years agoTue Nov 6 19:54:00 CET 2007 Jim Meyering <meyering@redhat.com>
Richard W.M. Jones [Wed, 7 Nov 2007 12:29:37 +0000 (12:29 +0000)]
Tue Nov 6 19:54:00 CET 2007 Jim Meyering  <meyering@redhat.com>

        Avoid risk of format string abuse (also avoids gcc warnings).
        * src/util.c (ReportError): Use a literal "%s" format string.
        * src/remote_internal.c (server_error): Likewise.
        * src/qemu_conf.c (qemudReportError): Likewise.
        * acinclude.m4: Add -Wformat -Wformat-security to default
          list of warning flags, to warn about errors such as the
          above.

17 years ago* src/xs_internals.c: patch from Chris Lalancette, forgot to
Daniel Veillard [Tue, 6 Nov 2007 16:25:32 +0000 (16:25 +0000)]
* src/xs_internals.c: patch from Chris Lalancette, forgot to
  remove the domainDumpXML entry when changing the driver structure
Daniel

17 years ago* src/xml.c src/xs_internal.c src/xs_internal.h: applied patch
Daniel Veillard [Tue, 6 Nov 2007 11:49:01 +0000 (11:49 +0000)]
* src/xml.c src/xs_internal.c src/xs_internal.h: applied patch
  from Masayuki Sunou to fix xend errors when adding disk
  devices, due to improper device id lookup.
Daniel

17 years ago* src/virsh.c: patch from Masayuki Sunou to fix parameter
Daniel Veillard [Tue, 6 Nov 2007 09:41:18 +0000 (09:41 +0000)]
* src/virsh.c: patch from Masayuki Sunou to fix parameter
  validation of virsh schedinfo parameters.
Daniel

17 years ago* src/xml.c: patch from Beth Kon to fix a problem when the
Daniel Veillard [Mon, 5 Nov 2007 10:14:42 +0000 (10:14 +0000)]
* src/xml.c: patch from Beth Kon to fix a problem when the
  cpuset parameter for numa uses cpu maxcpu-1
Daniel

17 years ago* src/xm_internal.c: patches from Masayuki Sunou to fix a problem
Daniel Veillard [Thu, 1 Nov 2007 13:33:58 +0000 (13:33 +0000)]
* src/xm_internal.c: patches from Masayuki Sunou to fix a problem
  when an HVM domain is started with a CD-Rom config, this should
  fix #328841
Daniel

17 years ago* proxy/libvirt_proxy.c src/proxy_internal.[ch] src/xen_internal.c
Daniel Veillard [Wed, 31 Oct 2007 09:39:13 +0000 (09:39 +0000)]
* proxy/libvirt_proxy.c src/proxy_internal.[ch] src/xen_internal.c
  src/xen_unified.[ch] src/xend_internal.[ch] src/xml.[ch]: last
  patch for the library NUMA support, allow to serialize CPU pinning
  to domain configs (but won't work though proxy access), includes
  many patches from Saori Fukuta.
Daniel

17 years agoAvoiding calling remote network driver recursively if inside daemon
Daniel P. Berrange [Sat, 27 Oct 2007 01:23:28 +0000 (01:23 +0000)]
Avoiding calling remote network driver recursively if inside daemon

17 years agoSupport CDROM media change for QEMU/KVM
Daniel P. Berrange [Sat, 27 Oct 2007 01:21:09 +0000 (01:21 +0000)]
Support CDROM media change for QEMU/KVM

17 years agoRefactor shell escaping code
Daniel P. Berrange [Sat, 27 Oct 2007 01:19:51 +0000 (01:19 +0000)]
Refactor shell escaping code

17 years agoRefactor device parsing code
Daniel P. Berrange [Sat, 27 Oct 2007 01:18:38 +0000 (01:18 +0000)]
Refactor device parsing code

17 years agoMake qemudMonitorCommand append line endings
Daniel P. Berrange [Sat, 27 Oct 2007 01:16:53 +0000 (01:16 +0000)]
Make qemudMonitorCommand append line endings

17 years ago* src/xml.c: fix build when configured without Xen
Daniel Veillard [Fri, 26 Oct 2007 13:41:18 +0000 (13:41 +0000)]
* src/xml.c: fix build when configured without Xen
Daniel

17 years ago* src/xml.c: applied patch from Jim Meyering fixing parseNumber
Daniel Veillard [Wed, 24 Oct 2007 14:22:25 +0000 (14:22 +0000)]
* src/xml.c: applied patch from Jim Meyering fixing parseNumber
  to detect overflow, and also reindented the module.
Daniel

17 years ago* po/id.po: Remove again bogus Project-Id-Version field from merge error
Daniel Veillard [Wed, 24 Oct 2007 08:39:11 +0000 (08:39 +0000)]
* po/id.po: Remove again bogus Project-Id-Version field from merge error
Daniel

17 years ago* po/*: updated from translation team
Daniel Veillard [Tue, 23 Oct 2007 15:45:03 +0000 (15:45 +0000)]
* po/*: updated from translation team
Daniel

17 years ago* src/xml.c: fix the build of the proxy broken on previous commit
Daniel Veillard [Tue, 23 Oct 2007 15:31:33 +0000 (15:31 +0000)]
* src/xml.c: fix the build of the proxy broken on previous commit
Daniel

17 years ago* src/xen_internal.c src/xen_unified.c src/xen_unified.h
Daniel Veillard [Mon, 22 Oct 2007 20:36:04 +0000 (20:36 +0000)]
* src/xen_internal.c src/xen_unified.c src/xen_unified.h
  src/xend_internal.c src/xml.c src/xml.h: commited erronously
  the NUMA patches sent for review on the list in last commit.
  But that should not affect non NUMA users so early push should
  not be a problem.
Daniel

17 years ago* docs/format.html docs/libvir.html: documentation cleaups
Daniel Veillard [Mon, 22 Oct 2007 20:28:55 +0000 (20:28 +0000)]
* docs/format.html docs/libvir.html: documentation cleaups
  from Jim Paris
Daniel

17 years ago* src/xend_internal.c: update to cpuset parsing code for NUMA
Daniel Veillard [Mon, 22 Oct 2007 13:06:15 +0000 (13:06 +0000)]
* src/xend_internal.c: update to cpuset parsing code for NUMA
Daniel

17 years ago* src/Makefile.am: fix tst build rule
Daniel Veillard [Fri, 19 Oct 2007 15:09:31 +0000 (15:09 +0000)]
* src/Makefile.am: fix tst build rule
* src/buf.c: fix virBufferContentAndFree to make sure the string is
  always 0 terminated.
Daniel

17 years ago* src/conf.c: fix bug on negative values in virConfParseLong()
Daniel Veillard [Fri, 19 Oct 2007 10:01:01 +0000 (10:01 +0000)]
* src/conf.c: fix bug on negative values in virConfParseLong()
  raised by Tatsuro Enokura
Daniel

17 years ago* src/conf.c: documentation cleanups from Jim Meyering
Daniel Veillard [Fri, 19 Oct 2007 08:29:13 +0000 (08:29 +0000)]
* src/conf.c: documentation cleanups from Jim Meyering
* tests/conftest.c: Use fwrite, not printf, since the
  result buffer is not NUL-terminatedi, from Jim Meyering.
* tests/qemuxml2argvtest.c: Initialize vm.migrateFrom[0],
  to avoid "read-uninitialized" error from within
  qemudBuildCommandLinei, from Jim Meyering.
Daniel

17 years agoWed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Wed, 17 Oct 2007 10:39:32 +0000 (10:39 +0000)]
Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

        * libvirt.spec.in (BuildRequires): Add "qemu" (Jim Meyering).

17 years agoWed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Wed, 17 Oct 2007 10:33:16 +0000 (10:33 +0000)]
Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

        * src/xend_internal.c (sexpr_get): Declare with gcc's printf
        attribute. (Jim Meyering)

17 years agoMark XML param for attach/detach APIs const
Daniel P. Berrange [Mon, 15 Oct 2007 21:38:56 +0000 (21:38 +0000)]
Mark XML param for attach/detach APIs const

17 years agoChangelog entry for default config files
Daniel P. Berrange [Mon, 15 Oct 2007 21:33:42 +0000 (21:33 +0000)]
Changelog entry for default config files

17 years agoMon Oct 15 15:31:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Mon, 15 Oct 2007 14:32:35 +0000 (14:32 +0000)]
Mon Oct 15 15:31:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

        * src/test.c, include/libvirt/libvirt.h.in: Remove virDomainRestart
        from the public API (it was not used), and move it into the test
        driver where it is used for purely internal purposes.

17 years agoAdded default example configs for libvirtd/qemu driver
Daniel P. Berrange [Fri, 12 Oct 2007 19:54:15 +0000 (19:54 +0000)]
Added default example configs for libvirtd/qemu driver

17 years agoAdded QEMU driver config file
Daniel P. Berrange [Fri, 12 Oct 2007 16:05:44 +0000 (16:05 +0000)]
Added QEMU driver config file

17 years agoReset migration source after failed VM start
Daniel P. Berrange [Wed, 10 Oct 2007 19:46:17 +0000 (19:46 +0000)]
Reset migration source after failed VM start

17 years agoFixed processing of vncdisplay/vncused params in XM config files
Daniel P. Berrange [Wed, 10 Oct 2007 17:55:38 +0000 (17:55 +0000)]
Fixed processing of vncdisplay/vncused params in XM config files

17 years agoFix virtual networking XML -> XM config file conversion & a mem leak
Daniel P. Berrange [Wed, 10 Oct 2007 17:41:06 +0000 (17:41 +0000)]
Fix virtual networking XML -> XM config file conversion & a mem leak

17 years ago* src/xend_internal.c: applied patch from Beth Kon to fix
Daniel Veillard [Mon, 8 Oct 2007 15:02:47 +0000 (15:02 +0000)]
* src/xend_internal.c: applied patch from Beth Kon to fix
  NUMA topology for cells without CPUs
Daniel

17 years agoFix NUMA topology error handling (beth kon)
Daniel P. Berrange [Fri, 5 Oct 2007 01:08:17 +0000 (01:08 +0000)]
Fix NUMA topology error handling (beth kon)

17 years agoRemove bogus Project-Id-Version field
Daniel P. Berrange [Wed, 3 Oct 2007 14:19:35 +0000 (14:19 +0000)]
Remove bogus Project-Id-Version field

17 years ago* configure.in libvirt.spec.in include/libvirt/libvirt.h docs/*:
Daniel Veillard [Sun, 30 Sep 2007 21:09:29 +0000 (21:09 +0000)]
* configure.in libvirt.spec.in include/libvirt/libvirt.h docs/*:
  preparing release of 0.3.3
* po/*: updated the strings localizations
Daniel

17 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:
Daniel Veillard [Sun, 30 Sep 2007 20:52:13 +0000 (20:52 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
  provide bindings for block and interface statistics
Daniel

17 years agoOnly use bootloader for paravirt guests
Daniel P. Berrange [Sun, 30 Sep 2007 15:36:47 +0000 (15:36 +0000)]
Only use bootloader for paravirt guests

17 years ago* src/virsh.c: use virNodeGetFreeMemory() for freecell without
Daniel Veillard [Sun, 30 Sep 2007 13:22:16 +0000 (13:22 +0000)]
* src/virsh.c: use virNodeGetFreeMemory() for freecell without
  argument
* src/libvirt_sym.version: export virNodeGetFreeMemory()
Daniel

17 years agoForgot one change, Daniel
Daniel Veillard [Sun, 30 Sep 2007 13:17:45 +0000 (13:17 +0000)]
Forgot one change, Daniel

17 years ago* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
Daniel Veillard [Sun, 30 Sep 2007 13:09:07 +0000 (13:09 +0000)]
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
  src/driver.h src/libvirt.c src/openvz_driver.c src/qemu_driver.c
  src/test.c src/xen_unified.c src/xend_internal.c: add new API
  virNodeGetFreeMemory(), extends the driver. Lacks remote and
  QEmu support though.
* src/libvirt.c: allows to fix virNodeGetCellsFreeMemory() adding
  parameter check for startCell.
* proxy/libvirt_proxy.c src/xend_internal.[ch]
  include/libvirt/libvirt.h include/libvirt/libvirt.h.in: applied
  vncpasswd dump patch from Mark Johnson but with the
  virDomainXMLFlags extension as suggested by Daniel Berrange
  this changed a couple of internal APIs too
* tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: fix one of the
  tests affected by bootloader dump change.
Daniel

17 years agoSolaris hypercall compatability fixes (Mark Johnson)
Daniel P. Berrange [Sat, 29 Sep 2007 18:37:47 +0000 (18:37 +0000)]
Solaris hypercall compatability fixes (Mark Johnson)

17 years agoAllow empty bootloader tag
Daniel P. Berrange [Sat, 29 Sep 2007 18:31:05 +0000 (18:31 +0000)]
Allow empty bootloader tag

17 years agoSolaris portability fix from Mark Johnson. Remove use of anonymous union members
Daniel P. Berrange [Sat, 29 Sep 2007 18:16:26 +0000 (18:16 +0000)]
Solaris portability fix from Mark Johnson. Remove use of anonymous union members

17 years agoFixed crash prossing input tags
Daniel P. Berrange [Fri, 28 Sep 2007 20:47:58 +0000 (20:47 +0000)]
Fixed crash prossing input tags

17 years ago* include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c
Daniel Veillard [Fri, 28 Sep 2007 14:28:12 +0000 (14:28 +0000)]
* include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c
  src/qemu_driver.c src/remote_internal.c src/test.c
  src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch]
  src/libvirt.c src/libvirt_sym.version: adding NUMA support patches
  from Beth Kon adding new virNodeGetCellsFreeMemory entry point
  and extending the virConnectGetCapabilities one. Fix a couple of
  issues in the patch and add to exported symbols from shared lib.
* docs/virsh.pod docs/virsh.1 src/virsh.c: added new command
  freecell to get the available memory on the node or in a NUMA cell.
* docs/*: updated and regenerated the documentation
Daniel

17 years ago * docs/libvir.html: Clarified configuration required for
Richard W.M. Jones [Fri, 28 Sep 2007 10:24:58 +0000 (10:24 +0000)]
    * docs/libvir.html: Clarified configuration required for
        remote over ssh.

17 years ago * src/remote_internal.c: Fix handling of usernames (thanks to
Richard W.M. Jones [Tue, 25 Sep 2007 13:54:17 +0000 (13:54 +0000)]
    * src/remote_internal.c: Fix handling of usernames (thanks to
        Fabian Deutsch for finding and fixing this).

17 years agoDetect QEMU flags per VM instead of once for driver as a whole
Daniel P. Berrange [Fri, 21 Sep 2007 21:20:32 +0000 (21:20 +0000)]
Detect QEMU flags per VM instead of once for driver as a whole

17 years agoAdded a no_tty param to remote URIs to stop SSH prompting for password
Daniel P. Berrange [Fri, 21 Sep 2007 20:17:09 +0000 (20:17 +0000)]
Added a no_tty param to remote URIs to stop SSH prompting for password

17 years agoTest compiler flags for linking too
Daniel P. Berrange [Fri, 21 Sep 2007 20:01:43 +0000 (20:01 +0000)]
Test compiler flags for linking too

17 years agoFixed QEMU uri parsing/detection
Daniel P. Berrange [Fri, 21 Sep 2007 19:32:02 +0000 (19:32 +0000)]
Fixed QEMU uri parsing/detection

17 years agoThu Sep 20 19:37:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Thu, 20 Sep 2007 18:40:36 +0000 (18:40 +0000)]
Thu Sep 20 19:37:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

        * src/bridge.c, src/qemu_driver.c, configure.in: Try to detect
        the paths of dnsmasq and brctl at compile time.  If found
        then compile them in, otherwise search $PATH at runtime.

        * libvirt.spec.in: BR dnsmasq and bridge-utils so we have their
        paths at compile time.

17 years agoThu Sep 20 18:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Thu, 20 Sep 2007 17:13:39 +0000 (17:13 +0000)]
Thu Sep 20 18:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

        * src/qemu_driver.c, docs/libvir.html: Support virConnectGetHostname
        and virConnectGetURI for qemu driver.

17 years agoThu Sep 20 13:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
Richard W.M. Jones [Thu, 20 Sep 2007 12:04:57 +0000 (12:04 +0000)]
Thu Sep 20 13:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

        * src/libvirt.c: Don't try to generate an error message with
        an invalid connection object.