mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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>
|
||||
|
||||
* 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__, \
|
||||
__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) {
|
||||
|
Loading…
Reference in New Issue
Block a user