From 786e029cd7437087e65ccf99547ae29b33f1a846 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 5 Sep 2006 06:48:44 +0000 Subject: [PATCH] * NEWS configure.in docs//* include/libvirt/libvirt.h libvirt.specx.*: preparing release 0.1.5 * proxy/libvirt_proxy.c src/xen_internal.c: tiny fixes Daniel --- ChangeLog | 6 ++++++ NEWS | 15 +++++++++++++++ configure.in | 2 +- docs/libvir.html | 16 ++++++++++++++++ docs/news.html | 14 +++++++++++++- include/libvirt/libvirt.h | 2 +- libvirt.spec.in | 18 ++++++++++++++++++ proxy/libvirt_proxy.c | 2 +- src/xen_internal.c | 4 ++++ 9 files changed, 75 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f076e48ea..21a94a793 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Sep 5 13:50:05 MYT 2006 Daniel Veillard + + * NEWS configure.in docs//* include/libvirt/libvirt.h libvirt.specx.*: + preparing release 0.1.5 + * proxy/libvirt_proxy.c src/xen_internal.c: tiny fixes + Tue Sep 5 13:24:30 MYT 2006 Daniel Veillard * src/xen_internal.c: finished to convert to the new hypervisor diff --git a/NEWS b/NEWS index 6ddc5dfc6..8070ca5fd 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,21 @@ http://libvirt.org/news.html Releases +0.1.5: Sep 5 2006: + - Support for new hypercalls change in Xen changeset 86d26e6ec89b + - bug fixes: virParseUUID() was wrong, netwoking for paravirt guestsi + (Daniel Berrange), virsh on non-existent domains (Daniel Berrange), + string cast bug when handling error in python (Pete Vetere), HTTP + 500 xend error code handling (Pete Vetere and Daniel Berrange) + - improvements: test suite for SEXPR <-> XML format conversions (Daniel + Berrange), virsh output regression suite (Daniel Berrange), new environ + variable VIRSH_DEFAULT_CONNECT_URI for the default URI when connecting + (Daniel Berrange), graphical console support for paravirt guests + (Jeremy Katz), parsing of simple Xen config files (with Daniel Berrange), + early work on defined (not running) domains (Daniel Berrange), + virsh output improvement (Daniel Berrange + + 0.1.4: Aug 16 2006: - bug fixes: spec file fix (Mark McLoughlin), error report problem (with Hugh Brock), long integer in Python bindings (with Daniel Berrange), XML diff --git a/configure.in b/configure.in index 87c9069b5..1bcec8d62 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CANONICAL_HOST LIBVIRT_MAJOR_VERSION=0 LIBVIRT_MINOR_VERSION=1 -LIBVIRT_MICRO_VERSION=4 +LIBVIRT_MICRO_VERSION=5 LIBVIRT_MICRO_VERSION_SUFFIX= LIBVIRT_VERSION=$LIBVIRT_MAJOR_VERSION.$LIBVIRT_MINOR_VERSION.$LIBVIRT_MICRO_VERSION$LIBVIRT_MICRO_VERSION_SUFFIX LIBVIRT_VERSION_INFO=`expr $LIBVIRT_MAJOR_VERSION + $LIBVIRT_MINOR_VERSION`:$LIBVIRT_MICRO_VERSION:$LIBVIRT_MINOR_VERSION diff --git a/docs/libvir.html b/docs/libvir.html index 84a5d17bb..a1f7a6336 100644 --- a/docs/libvir.html +++ b/docs/libvir.html @@ -33,6 +33,22 @@ development of libvirt, it is preferable when possible to just use the CVS version or snapshot, contact the mailing list and check the ChangeLog to gauge progresses.

+

0.1.5: Sep 5 2006

+
    +
  • Support for new hypercalls change in Xen changeset 86d26e6ec89b
  • +
  • bug fixes: virParseUUID() was wrong, netwoking for paravirt guestsi + (Daniel Berrange), virsh on non-existent domains (Daniel Berrange), + string cast bug when handling error in python (Pete Vetere), HTTP + 500 xend error code handling (Pete Vetere and Daniel Berrange)
  • +
  • improvements: test suite for SEXPR <-> XML format conversions (Daniel + Berrange), virsh output regression suite (Daniel Berrange), new environ + variable VIRSH_DEFAULT_CONNECT_URI for the default URI when connecting + (Daniel Berrange), graphical console support for paravirt guests + (Jeremy Katz), parsing of simple Xen config files (with Daniel Berrange), + early work on defined (not running) domains (Daniel Berrange), + virsh output improvement (Daniel Berrange
  • +
+

0.1.4: Aug 16 2006

  • bug fixes: spec file fix (Mark McLoughlin), error report problem (with diff --git a/docs/news.html b/docs/news.html index 783eddd35..925988090 100644 --- a/docs/news.html +++ b/docs/news.html @@ -2,7 +2,19 @@ Releases

    Releases

    Here is the list of official releases, however since it is early on in the development of libvirt, it is preferable when possible to just use the CVS version or snapshot, contact the mailing list -and check the ChangeLog to gauge progresses.

    0.1.4: Aug 16 2006

    • bug fixes: spec file fix (Mark McLoughlin), error report problem (with +and check the ChangeLog to gauge progresses.

      0.1.5: Sep 5 2006

      • Support for new hypercalls change in Xen changeset 86d26e6ec89b
      • +
      • bug fixes: virParseUUID() was wrong, netwoking for paravirt guestsi + (Daniel Berrange), virsh on non-existent domains (Daniel Berrange), + string cast bug when handling error in python (Pete Vetere), HTTP + 500 xend error code handling (Pete Vetere and Daniel Berrange)
      • +
      • improvements: test suite for SEXPR <-> XML format conversions (Daniel + Berrange), virsh output regression suite (Daniel Berrange), new environ + variable VIRSH_DEFAULT_CONNECT_URI for the default URI when connecting + (Daniel Berrange), graphical console support for paravirt guests + (Jeremy Katz), parsing of simple Xen config files (with Daniel Berrange), + early work on defined (not running) domains (Daniel Berrange), + virsh output improvement (Daniel Berrange
      • +

      0.1.4: Aug 16 2006

      • bug fixes: spec file fix (Mark McLoughlin), error report problem (with Hugh Brock), long integer in Python bindings (with Daniel Berrange), XML generation bug for CDRom (Daniel Berrange), bug whem using number() XPath function (Mark McLoughlin), fix python detection code, remove duplicate diff --git a/include/libvirt/libvirt.h b/include/libvirt/libvirt.h index 3012995f3..9c3b6c811 100644 --- a/include/libvirt/libvirt.h +++ b/include/libvirt/libvirt.h @@ -196,7 +196,7 @@ typedef virNodeInfo *virNodeInfoPtr; * version * 1,000,000 + minor * 1000 + micro */ -#define LIBVIR_VERSION_NUMBER 1004 +#define LIBVIR_VERSION_NUMBER 1005 int virGetVersion (unsigned long *libVer, const char *type, diff --git a/libvirt.spec.in b/libvirt.spec.in index 6ffa3edd8..93a7ac455 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -107,6 +107,24 @@ rm -fr %{buildroot} %doc docs/examples/python %changelog +* Tue Sep 5 2006 Daniel Veillard 0.1.5-1 +- new release +- bug fixes +- support for new hypervisor calls +- early code for config files and defined domains + +* Mon Sep 4 2006 Daniel Berrange - 0.1.4-5 +- add patch to address dom0_ops API breakage in Xen 3.0.3 tree + +* Mon Aug 28 2006 Jeremy Katz - 0.1.4-4 +- add patch to support paravirt framebuffer in Xen + +* Mon Aug 21 2006 Daniel Veillard 0.1.4-3 +- another patch to fix network handling in non-HVM guests + +* Thu Aug 17 2006 Daniel Veillard 0.1.4-2 +- patch to fix virParseUUID() + * Wed Aug 16 2006 Daniel Veillard 0.1.4-1 - vCPUs and affinity support - more complete XML, console and boot options diff --git a/proxy/libvirt_proxy.c b/proxy/libvirt_proxy.c index 0b077d102..0cf70cc21 100644 --- a/proxy/libvirt_proxy.c +++ b/proxy/libvirt_proxy.c @@ -576,7 +576,7 @@ retry2: req->len = sizeof(virProxyPacket); } else { int xmllen = strlen(xml); - if (xmllen > sizeof(request.extra.str)) { + if (xmllen > (int) sizeof(request.extra.str)) { req->data.arg = -2; req->len = sizeof(virProxyPacket); } else { diff --git a/src/xen_internal.c b/src/xen_internal.c index 9e37bf42e..005bba9ed 100644 --- a/src/xen_internal.c +++ b/src/xen_internal.c @@ -1619,6 +1619,7 @@ int xenHypervisorGetVcpus(virDomainPtr domain, virVcpuInfoPtr info, int maxinfo, unsigned char *cpumaps, int maplen) { +#ifndef PROXY xen_v0_getdomaininfo dominfo; int ret; @@ -1661,4 +1662,7 @@ xenHypervisorGetVcpus(virDomainPtr domain, virVcpuInfoPtr info, int maxinfo, } } return nbinfo; +#else + return(-1); +#endif } -- 2.39.5