2019-05-23 16:35:08 +02:00
|
|
|
/*
|
2012-10-23 23:44:02 +02:00
|
|
|
* This file is supposed to be included only by .c files. No header file should
|
|
|
|
* depend on qemu-common.h, as this would easily lead to circular header
|
|
|
|
* dependencies.
|
|
|
|
*
|
|
|
|
* If a header file uses a definition from qemu-common.h, that definition
|
|
|
|
* must be moved to a separate header file, and the header that uses it
|
|
|
|
* must include that header.
|
|
|
|
*/
|
2007-11-11 03:51:17 +01:00
|
|
|
#ifndef QEMU_COMMON_H
|
|
|
|
#define QEMU_COMMON_H
|
|
|
|
|
2016-08-04 13:14:36 +02:00
|
|
|
/* Copyright string for -version arguments, About dialogs, etc */
|
2022-01-20 13:47:13 +01:00
|
|
|
#define QEMU_COPYRIGHT "Copyright (c) 2003-2022 " \
|
2016-08-04 13:14:36 +02:00
|
|
|
"Fabrice Bellard and the QEMU Project developers"
|
|
|
|
|
2017-08-03 18:33:53 +02:00
|
|
|
/* Bug reporting information for --help arguments, About dialogs, etc */
|
|
|
|
#define QEMU_HELP_BOTTOM \
|
2017-11-21 13:04:35 +01:00
|
|
|
"See <https://qemu.org/contribute/report-a-bug> for how to report bugs.\n" \
|
|
|
|
"More information on the QEMU project at <https://qemu.org>."
|
2017-08-03 18:33:53 +02:00
|
|
|
|
2011-05-29 19:42:51 +02:00
|
|
|
/* main function, renamed */
|
|
|
|
#if defined(CONFIG_COCOA)
|
|
|
|
int qemu_main(int argc, char **argv, char **envp);
|
|
|
|
#endif
|
|
|
|
|
2019-09-19 22:30:29 +02:00
|
|
|
|
2011-03-30 14:16:25 +02:00
|
|
|
void qemu_progress_init(int enabled, float min_skip);
|
|
|
|
void qemu_progress_end(void);
|
2011-05-09 17:32:20 +02:00
|
|
|
void qemu_progress_print(float delta, int max);
|
2012-08-06 10:24:55 +02:00
|
|
|
const char *qemu_get_vm_name(void);
|
2011-03-30 14:16:25 +02:00
|
|
|
|
2011-03-27 11:04:57 +02:00
|
|
|
/* OS specific functions */
|
|
|
|
void os_setup_early_signal_handling(void);
|
2018-05-04 19:01:07 +02:00
|
|
|
int os_parse_cmd_args(int index, const char *optarg);
|
2011-03-27 11:04:57 +02:00
|
|
|
|
2015-11-05 19:10:31 +01:00
|
|
|
void page_size_init(void);
|
2014-03-11 00:42:26 +01:00
|
|
|
|
2007-11-11 03:51:17 +01:00
|
|
|
#endif
|