mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
daemon: during startup say whether we run in a VM
This commit is contained in:
parent
642c69bed8
commit
c079ceeba0
1 changed files with 2 additions and 1 deletions
|
|
@ -648,7 +648,6 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
if (conf->daemonize) {
|
if (conf->daemonize) {
|
||||||
pid_t child;
|
pid_t child;
|
||||||
int tty_fd;
|
|
||||||
|
|
||||||
if (pa_stdio_acquire() < 0) {
|
if (pa_stdio_acquire() < 0) {
|
||||||
pa_log(_("Failed to acquire stdio."));
|
pa_log(_("Failed to acquire stdio."));
|
||||||
|
|
@ -781,6 +780,8 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
pa_log_debug(_("Running in valgrind mode: %s"), pa_yes_no(pa_in_valgrind()));
|
pa_log_debug(_("Running in valgrind mode: %s"), pa_yes_no(pa_in_valgrind()));
|
||||||
|
|
||||||
|
pa_log_debug(_("Running in VM: %s"), pa_yes_no(pa_running_in_vm()));
|
||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
pa_log_debug(_("Optimized build: yes"));
|
pa_log_debug(_("Optimized build: yes"));
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue