mirror of https://gitee.com/openkylin/libvirt.git
Disable sound functions when in proxy
This commit is contained in:
parent
da6316f20e
commit
31b17e6d44
|
@ -1,3 +1,8 @@
|
|||
Wed May 7 14:49:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/xend_internal.c, src/xml.c: Disable certain sound functions
|
||||
when built into proxy
|
||||
|
||||
Wed May 7 18:12:11 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: another patch
|
||||
|
|
|
@ -851,6 +851,7 @@ urlencode(const char *string)
|
|||
|
||||
return buffer;
|
||||
}
|
||||
#endif /* ! PROXY */
|
||||
|
||||
/* Applicable sound models */
|
||||
const char *sound_models[] = { "sb16", "es1370" };
|
||||
|
@ -952,7 +953,6 @@ char *sound_string_to_xml(const char *sound) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* ! PROXY */
|
||||
|
||||
/* PUBLIC FUNCTIONS */
|
||||
|
||||
|
|
|
@ -290,6 +290,7 @@ virConvertCpuSet(virConnectPtr conn, const char *str, int maxcpu) {
|
|||
return (res);
|
||||
}
|
||||
|
||||
#ifndef PROXY
|
||||
/**
|
||||
* virBuildSoundStringFromXML
|
||||
* @sound buffer to populate
|
||||
|
@ -361,6 +362,7 @@ char * virBuildSoundStringFromXML(virConnectPtr conn,
|
|||
free(nodes);
|
||||
return NULL;
|
||||
}
|
||||
#endif /* !PROXY */
|
||||
#endif /* WITH_XEN */
|
||||
#ifndef PROXY
|
||||
|
||||
|
|
Loading…
Reference in New Issue