mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
9156d76331
commit
ce798cf2a2
4 changed files with 27 additions and 18 deletions
|
@ -47,5 +47,6 @@ static inline void os_daemonize(void) {}
|
|||
static inline void os_setup_post(void) {}
|
||||
/* Win32 doesn't support line-buffering and requires size >= 2 */
|
||||
static inline void os_set_line_buffering(void) {}
|
||||
static inline void os_set_proc_name(const char *dummy) {}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue