migration: move some declarations to migration.h
Move a few migration related declarations to migration.h. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
17a4663e2d
commit
adc56dda0c
|
@ -22,8 +22,6 @@ enum {
|
||||||
extern const uint32_t arch_type;
|
extern const uint32_t arch_type;
|
||||||
|
|
||||||
void select_soundhw(const char *optarg);
|
void select_soundhw(const char *optarg);
|
||||||
int ram_save_live(Monitor *mon, QEMUFile *f, int stage, void *opaque);
|
|
||||||
int ram_load(QEMUFile *f, void *opaque, int version_id);
|
|
||||||
void do_acpitable_option(const char *optarg);
|
void do_acpitable_option(const char *optarg);
|
||||||
void do_smbios_option(const char *optarg);
|
void do_smbios_option(const char *optarg);
|
||||||
void cpudef_init(void);
|
void cpudef_init(void);
|
||||||
|
|
|
@ -139,4 +139,13 @@ void add_migration_state_change_notifier(Notifier *notify);
|
||||||
void remove_migration_state_change_notifier(Notifier *notify);
|
void remove_migration_state_change_notifier(Notifier *notify);
|
||||||
int get_migration_state(void);
|
int get_migration_state(void);
|
||||||
|
|
||||||
|
uint64_t ram_bytes_remaining(void);
|
||||||
|
uint64_t ram_bytes_transferred(void);
|
||||||
|
uint64_t ram_bytes_total(void);
|
||||||
|
|
||||||
|
int ram_save_live(Monitor *mon, QEMUFile *f, int stage, void *opaque);
|
||||||
|
int ram_load(QEMUFile *f, void *opaque, int version_id);
|
||||||
|
|
||||||
|
extern int incoming_expected;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
5
sysemu.h
5
sysemu.h
|
@ -37,10 +37,6 @@ void qemu_del_vm_change_state_handler(VMChangeStateEntry *e);
|
||||||
void vm_start(void);
|
void vm_start(void);
|
||||||
void vm_stop(int reason);
|
void vm_stop(int reason);
|
||||||
|
|
||||||
uint64_t ram_bytes_remaining(void);
|
|
||||||
uint64_t ram_bytes_transferred(void);
|
|
||||||
uint64_t ram_bytes_total(void);
|
|
||||||
|
|
||||||
void qemu_system_reset_request(void);
|
void qemu_system_reset_request(void);
|
||||||
void qemu_system_shutdown_request(void);
|
void qemu_system_shutdown_request(void);
|
||||||
void qemu_system_powerdown_request(void);
|
void qemu_system_powerdown_request(void);
|
||||||
|
@ -89,7 +85,6 @@ typedef enum DisplayType
|
||||||
} DisplayType;
|
} DisplayType;
|
||||||
|
|
||||||
extern int autostart;
|
extern int autostart;
|
||||||
extern int incoming_expected;
|
|
||||||
extern int bios_size;
|
extern int bios_size;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Reference in New Issue