[libvirt] [PATCH] Current build is broken .. fix

Richard W.M. Jones rjones at redhat.com
Mon Oct 13 14:46:00 UTC 2008


The Xen proxy fails to build at the moment.  Fix for this is attached.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
Index: src/domain_conf.c
===================================================================
RCS file: /data/cvs/libvirt/src/domain_conf.c,v
retrieving revision 1.30
diff -u -r1.30 domain_conf.c
--- src/domain_conf.c	10 Oct 2008 16:08:01 -0000	1.30
+++ src/domain_conf.c	13 Oct 2008 14:46:18 -0000
@@ -493,7 +493,6 @@
 
 }
 
-#ifndef PROXY
 int virDomainDiskCompare(virDomainDiskDefPtr a,
                          virDomainDiskDefPtr b) {
     if (a->bus == b->bus)
@@ -503,6 +502,7 @@
 }
 
 
+#ifndef PROXY
 /* Parse the XML definition for a disk
  * @param node XML nodeset to parse for disk definition
  */
@@ -1695,6 +1695,7 @@
     VIR_FREE(dev);
     return NULL;
 }
+#endif
 
 int virDomainDiskQSort(const void *a, const void *b)
 {
@@ -1704,7 +1705,7 @@
     return virDomainDiskCompare(*da, *db);
 }
 
-
+#ifndef PROXY
 static virDomainDefPtr virDomainDefParseXML(virConnectPtr conn,
                                             virCapsPtr caps,
                                             xmlXPathContextPtr ctxt)


More information about the libvir-list mailing list