diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2010-06-10 11:42:31 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-12 08:49:15 +0300 |
commit | ce798cf2a261eaf4186f416f150b7361d395c3a5 (patch) | |
tree | 40e17997d934728e359f30c43ad52051af4f9ded /qemu-os-posix.h | |
parent | 9156d76331f2d51ce5b17cc945dd97788fc64c5a (diff) | |
download | qemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.zip qemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.tar.gz qemu-ce798cf2a261eaf4186f416f150b7361d395c3a5.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-os-posix.h b/qemu-os-posix.h index cb210ba..ed5c058 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); |