forked from Blopeur/qemu-heca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheca.h
More file actions
28 lines (24 loc) · 813 Bytes
/
heca.h
File metadata and controls
28 lines (24 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef QEMU_HECA_H_
#define QEMU_HECA_H_
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <wordexp.h>
#include "memory.h"
void heca_init(void* ram_ptr, uint64_t ram_size);
void heca_migrate_dest_init(const char* dest_ip, const char* source_ip);
void heca_migrate_src_init(const char* dest_ip, int precopy_time);
void heca_set_post_copy_phase(void);
bool heca_is_mig_timer_expired(void);
void heca_master_cmdline_init(const char* optarg);
void heca_client_cmdline_init(const char* optarg);
bool heca_is_master(void);
bool heca_is_enabled(void);
int heca_unmap_dirty_bitmap(uint8_t *bitmap, uint32_t bitmap_size);
bool heca_is_pre_copy_phase(void);
#endif /* QEMU_HECA_H_ */