include: move qemu_get_vm_name() to sysemu.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220323155743.1585078-26-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
16a18f2681
commit
89fc45d5c6
@ -32,7 +32,7 @@
|
|||||||
#include "qapi/qapi-visit-audio.h"
|
#include "qapi/qapi-visit-audio.h"
|
||||||
#include "qemu/cutils.h"
|
#include "qemu/cutils.h"
|
||||||
#include "qemu/module.h"
|
#include "qemu/module.h"
|
||||||
#include "qemu-common.h"
|
#include "sysemu/sysemu.h"
|
||||||
#include "sysemu/replay.h"
|
#include "sysemu/replay.h"
|
||||||
#include "sysemu/runstate.h"
|
#include "sysemu/runstate.h"
|
||||||
#include "ui/qemu-spice.h"
|
#include "ui/qemu-spice.h"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include "qemu-common.h"
|
#include "sysemu/sysemu.h"
|
||||||
#include "qemu/config-file.h"
|
#include "qemu/config-file.h"
|
||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include "qemu/bitops.h"
|
#include "qemu/bitops.h"
|
||||||
|
@ -24,8 +24,6 @@
|
|||||||
int qemu_main(int argc, char **argv, char **envp);
|
int qemu_main(int argc, char **argv, char **envp);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *qemu_get_vm_name(void);
|
|
||||||
|
|
||||||
/* OS specific functions */
|
/* OS specific functions */
|
||||||
void os_setup_early_signal_handling(void);
|
void os_setup_early_signal_handling(void);
|
||||||
int os_parse_cmd_args(int index, const char *optarg);
|
int os_parse_cmd_args(int index, const char *optarg);
|
||||||
|
@ -13,6 +13,8 @@ extern const char *qemu_name;
|
|||||||
extern QemuUUID qemu_uuid;
|
extern QemuUUID qemu_uuid;
|
||||||
extern bool qemu_uuid_set;
|
extern bool qemu_uuid_set;
|
||||||
|
|
||||||
|
const char *qemu_get_vm_name(void);
|
||||||
|
|
||||||
void qemu_add_exit_notifier(Notifier *notify);
|
void qemu_add_exit_notifier(Notifier *notify);
|
||||||
void qemu_remove_exit_notifier(Notifier *notify);
|
void qemu_remove_exit_notifier(Notifier *notify);
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qemu-common.h"
|
#include "sysemu/sysemu.h"
|
||||||
|
|
||||||
const char *qemu_get_vm_name(void)
|
const char *qemu_get_vm_name(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user