mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fix Xen proxy build
This commit is contained in:
parent
491b4eab14
commit
af61834687
@ -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>
|
Thu Dec 4 22:20:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/qemu_driver.c: Remove unused driver argument from
|
* src/qemu_driver.c: Remove unused driver argument from
|
||||||
|
@ -146,6 +146,8 @@ VIR_ENUM_IMPL(virDomainHostdevSubsys, VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_LAST,
|
|||||||
virReportErrorHelper(conn, VIR_FROM_DOMAIN, code, __FILE__, \
|
virReportErrorHelper(conn, VIR_FROM_DOMAIN, code, __FILE__, \
|
||||||
__FUNCTION__, __LINE__, fmt)
|
__FUNCTION__, __LINE__, fmt)
|
||||||
|
|
||||||
|
#ifndef PROXY
|
||||||
|
|
||||||
virDomainObjPtr virDomainFindByID(const virDomainObjListPtr doms,
|
virDomainObjPtr virDomainFindByID(const virDomainObjListPtr doms,
|
||||||
int id)
|
int id)
|
||||||
{
|
{
|
||||||
@ -193,6 +195,8 @@ virDomainObjPtr virDomainFindByName(const virDomainObjListPtr doms,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* !PROXY */
|
||||||
|
|
||||||
void virDomainGraphicsDefFree(virDomainGraphicsDefPtr def)
|
void virDomainGraphicsDefFree(virDomainGraphicsDefPtr def)
|
||||||
{
|
{
|
||||||
if (!def)
|
if (!def)
|
||||||
@ -416,6 +420,8 @@ void virDomainDefFree(virDomainDefPtr def)
|
|||||||
VIR_FREE(def);
|
VIR_FREE(def);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef PROXY
|
||||||
|
|
||||||
void virDomainObjFree(virDomainObjPtr dom)
|
void virDomainObjFree(virDomainObjPtr dom)
|
||||||
{
|
{
|
||||||
if (!dom)
|
if (!dom)
|
||||||
@ -509,6 +515,8 @@ void virDomainRemoveInactive(virDomainObjListPtr doms,
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif /* ! PROXY */
|
||||||
|
|
||||||
|
|
||||||
int virDomainDiskCompare(virDomainDiskDefPtr a,
|
int virDomainDiskCompare(virDomainDiskDefPtr a,
|
||||||
virDomainDiskDefPtr b) {
|
virDomainDiskDefPtr b) {
|
||||||
|
Loading…
Reference in New Issue
Block a user