mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 11:15:08 +00:00
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>
|
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
|
* src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: another patch
|
||||||
|
@ -851,6 +851,7 @@ urlencode(const char *string)
|
|||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
#endif /* ! PROXY */
|
||||||
|
|
||||||
/* Applicable sound models */
|
/* Applicable sound models */
|
||||||
const char *sound_models[] = { "sb16", "es1370" };
|
const char *sound_models[] = { "sb16", "es1370" };
|
||||||
@ -952,7 +953,6 @@ char *sound_string_to_xml(const char *sound) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* ! PROXY */
|
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS */
|
/* PUBLIC FUNCTIONS */
|
||||||
|
|
||||||
|
@ -290,6 +290,7 @@ virConvertCpuSet(virConnectPtr conn, const char *str, int maxcpu) {
|
|||||||
return (res);
|
return (res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef PROXY
|
||||||
/**
|
/**
|
||||||
* virBuildSoundStringFromXML
|
* virBuildSoundStringFromXML
|
||||||
* @sound buffer to populate
|
* @sound buffer to populate
|
||||||
@ -361,6 +362,7 @@ char * virBuildSoundStringFromXML(virConnectPtr conn,
|
|||||||
free(nodes);
|
free(nodes);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif /* !PROXY */
|
||||||
#endif /* WITH_XEN */
|
#endif /* WITH_XEN */
|
||||||
#ifndef PROXY
|
#ifndef PROXY
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user