summaryrefslogtreecommitdiff
path: root/qemu-os-posix.h
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-06-10 11:42:31 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-06-12 08:49:15 +0300
commit926f990896d1de700e16901ef80e294e5b4573bb (patch)
tree40e17997d934728e359f30c43ad52051af4f9ded /qemu-os-posix.h
parente4201e6a4e5c372f1738c38d2a6395a5d58dc4d3 (diff)
downloadqemu-926f990896d1de700e16901ef80e294e5b4573bb.tar.gz
qemu-926f990896d1de700e16901ef80e294e5b4573bb.tar.bz2
qemu-926f990896d1de700e16901ef80e294e5b4573bb.zip
Move set_proc_name() to OS specific files.
Move handling to change process name to POSIX specific files plus add a better error message to cover the case where the feature isn't supported. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by: Juan Quintela <quintela@redhat.com> Acked-by: Richard Henderson <rth@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-os-posix.h')
-rw-r--r--qemu-os-posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-os-posix.h b/qemu-os-posix.h
index cb210ba008..ed5c058bc3 100644
--- a/qemu-os-posix.h
+++ b/qemu-os-posix.h
@@ -31,6 +31,7 @@ static inline void os_host_main_loop_wait(int *timeout)
}
void os_set_line_buffering(void);
+void os_set_proc_name(const char *s);
void os_setup_signal_handling(void);
void os_daemonize(void);
void os_setup_post(void);