]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
* src/xend_internal.c: when getting informations about a non
authorDaniel Veillard <veillard@redhat.com>
Tue, 31 Oct 2006 10:25:13 +0000 (10:25 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 31 Oct 2006 10:25:13 +0000 (10:25 +0000)
  existant domain, it is not a good idea to raise the HTTP
  404 GET error, the handling is better done somewhere up in
  the stack.
Daniel

ChangeLog
NEWS
config.h.in
src/xend_internal.c

index 5cbf24a6ae369d2fb9cc1dbbb37c2596ad0b2ef7..db6b39ba6299bfce900bc2e623a66356f2790d67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Tue Oct 31 10:31:34 CET 2006 Daniel Veillard <veillard@redhat.com>
+
+       * src/xend_internal.c: when getting informations about a non
+         existant domain, it is not a good idea to raise the HTTP
+         404 GET error, the handling is better done somewhere up in
+         the stack.
+
 Tue Oct 24 15:31:23 EDT 2006 Daniel P.Berrange <berrange@redhat.com>
 
        * python/generator.py, python/libvir.c: Drop python interpreter
diff --git a/NEWS b/NEWS
index cae744a6a503286a611c0e092c440cc9adca376a..f1c59d685315585f79ac8142c3cbcdadd0b216bf 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,18 @@
        http://libvirt.org/news.html
 
 Releases
+0.1.8: Oct 16 2006:
+   -  Bug for system with page size != 4k
+   -  vcpu number initialization (Philippe Berthault)
+   -  don't label crashed domains as shut off (Peter Vetere)
+   -  fix virsh man page (Noriko Mizumoto)
+   -  blktapdd support for alternate drivers like blktap (Daniel Berrange)
+   -  memory leak fixes (xend interface and XML parsing) (Daniel Berrange)
+   -  compile fix
+   -  mlock/munlock size fixes (Daniel Berrange)
+   -  improve error reporting
+
+
 0.1.7: Sep 29 2006:
    -  fix a memory bug on getting vcpu informations from xend (Daniel Berrange)
    -  fix another problem in the hypercalls change in Xen changeset
index b9ae06bdba4dc053aaa4caac108dbdfab70a2656..fac409742680aeb5bd3bd2759380155a5a246468 100644 (file)
@@ -4,6 +4,14 @@
    language is requested. */
 #undef ENABLE_NLS
 
+/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
+   CoreFoundation framework. */
+#undef HAVE_CFLOCALECOPYCURRENT
+
+/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
+   the CoreFoundation framework. */
+#undef HAVE_CFPREFERENCESCOPYAPPVALUE
+
 /* Define if the GNU dcgettext() function is already present or preinstalled.
    */
 #undef HAVE_DCGETTEXT
index bcb349119e3f0821325664d77552fe8fb238539d..1816e1fa41ef6d81ebcedf687fa2835cb6af70be 100644 (file)
@@ -444,7 +444,8 @@ xend_get(virConnectPtr xend, const char *path,
     ret = xend_req(s, content, n_content);
     close(s);
 
-    if ((ret < 0) || (ret >= 300)) {
+    if (((ret < 0) || (ret >= 300)) &&
+        ((ret != 404) || (strncmp(path, "/xend/domain/", 13)))) {
         virXendError(NULL, VIR_ERR_GET_FAILED, content);
     }