Fix Xen proxy build

This commit is contained in:
Daniel P. Berrange 2008-12-05 10:10:41 +00:00
parent 491b4eab14
commit af61834687
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 5 10:10:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/domain_conf.c: Disable a few more functions for proxy
build which should not be used
Thu Dec 4 22:20:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_driver.c: Remove unused driver argument from

View File

@ -146,6 +146,8 @@ VIR_ENUM_IMPL(virDomainHostdevSubsys, VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_LAST,
virReportErrorHelper(conn, VIR_FROM_DOMAIN, code, __FILE__, \
__FUNCTION__, __LINE__, fmt)
#ifndef PROXY
virDomainObjPtr virDomainFindByID(const virDomainObjListPtr doms,
int id)
{
@ -193,6 +195,8 @@ virDomainObjPtr virDomainFindByName(const virDomainObjListPtr doms,
return NULL;
}
#endif /* !PROXY */
void virDomainGraphicsDefFree(virDomainGraphicsDefPtr def)
{
if (!def)
@ -416,6 +420,8 @@ void virDomainDefFree(virDomainDefPtr def)
VIR_FREE(def);
}
#ifndef PROXY
void virDomainObjFree(virDomainObjPtr dom)
{
if (!dom)
@ -509,6 +515,8 @@ void virDomainRemoveInactive(virDomainObjListPtr doms,
}
}
#endif /* ! PROXY */
int virDomainDiskCompare(virDomainDiskDefPtr a,
virDomainDiskDefPtr b) {