diff options
author | Anthony Liguori | 2012-09-25 23:06:16 +0200 |
---|---|---|
committer | Anthony Liguori | 2012-09-25 23:06:16 +0200 |
commit | 3988475b9b7fa251b00a29b076761d8c1c7e64dc (patch) | |
tree | 140c0410e1d8133ddd33e07ad2fc9c2a8d0e824b /os-posix.c | |
parent | Merge remote-tracking branch 'afaerber/qom-cpu' into staging (diff) | |
parent | w32: Always use standard instead of native format strings (diff) | |
download | qemu-3988475b9b7fa251b00a29b076761d8c1c7e64dc.tar.gz qemu-3988475b9b7fa251b00a29b076761d8c1c7e64dc.tar.xz qemu-3988475b9b7fa251b00a29b076761d8c1c7e64dc.zip |
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches:
w32: Always use standard instead of native format strings
net/socket: Fix compiler warning (regression for MinGW)
linux-user: Remove redundant null check and replace free by g_free
qemu-timer: simplify qemu_run_timers
TextConsole: saturate escape parameter in TTY_STATE_CSI
curses: don't initialize curses when qemu is daemonized
dtrace backend: add function to reserved words
pflash_cfi01: Fix warning caused by unreachable code
ioh3420: Remove unreachable code
lm4549: Fix buffer overflow
cadence_uart: Fix buffer overflow
qemu-sockets: Fix potential memory leak
qemu-ga: Remove unreachable code after g_error
target-i386: Allow tsc-frequency to be larger then 2.147G
Diffstat (limited to 'os-posix.c')
-rw-r--r-- | os-posix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os-posix.c b/os-posix.c index 79fa2288e4..eabccb8fe0 100644 --- a/os-posix.c +++ b/os-posix.c @@ -360,3 +360,8 @@ int qemu_create_pidfile(const char *filename) /* keep pidfile open & locked forever */ return 0; } + +bool is_daemonized(void) +{ + return daemonize; +} |