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
commitce798cf2a261eaf4186f416f150b7361d395c3a5 (patch)
tree40e17997d934728e359f30c43ad52051af4f9ded /qemu-os-posix.h
parent9156d76331f2d51ce5b17cc945dd97788fc64c5a (diff)
downloadqemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.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);