mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
vl: relocate paths to data directories
As an additional advantage, the logic is now unified between POSIX and Win32 systems. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
11
os-win32.c
11
os-win32.c
@ -57,17 +57,6 @@ void os_setup_early_signal_handling(void)
|
||||
atexit(os_undo_timer_resolution);
|
||||
}
|
||||
|
||||
/*
|
||||
* Look for support files in the same directory as the executable.
|
||||
*
|
||||
* The caller must use g_free() to free the returned data when it is
|
||||
* no longer required.
|
||||
*/
|
||||
char *os_find_datadir(void)
|
||||
{
|
||||
return g_strdup(qemu_get_exec_dir());
|
||||
}
|
||||
|
||||
void os_set_line_buffering(void)
|
||||
{
|
||||
setbuf(stdout, NULL);
|
||||
|
Reference in New Issue
Block a user