Searched refs:xc_sr_context (Results 1 – 12 of 12) sorted by relevance
/xen/tools/libxc/ |
A D | xc_sr_common.h | 19 struct xc_sr_context; 63 int (*setup)(struct xc_sr_context *ctx); 69 int (*static_data)(struct xc_sr_context *ctx); 75 int (*start_of_stream)(struct xc_sr_context *ctx); 89 int (*end_of_checkpoint)(struct xc_sr_context *ctx); 98 int (*check_vm_state)(struct xc_sr_context *ctx); 104 int (*cleanup)(struct xc_sr_context *ctx); 146 int (*setup)(struct xc_sr_context *ctx); 174 int (*stream_complete)(struct xc_sr_context *ctx); 180 int (*cleanup)(struct xc_sr_context *ctx); [all …]
|
A D | xc_sr_common_x86.h | 10 int write_x86_tsc_info(struct xc_sr_context *ctx); 15 int handle_x86_tsc_info(struct xc_sr_context *ctx, struct xc_sr_record *rec); 21 int write_x86_cpu_policy_records(struct xc_sr_context *ctx); 27 int handle_x86_cpuid_policy(struct xc_sr_context *ctx, 34 int handle_x86_msr_policy(struct xc_sr_context *ctx, 40 int x86_static_data_complete(struct xc_sr_context *ctx, unsigned int *missing);
|
A D | xc_sr_common_x86_pv.h | 18 xen_pfn_t mfn_to_pfn(struct xc_sr_context *ctx, xen_pfn_t mfn); 23 bool mfn_in_pseudophysmap(struct xc_sr_context *ctx, xen_pfn_t mfn); 28 void dump_bad_pseudophysmap_entry(struct xc_sr_context *ctx, xen_pfn_t mfn); 36 xen_pfn_t cr3_to_mfn(struct xc_sr_context *ctx, uint64_t cr3); 44 uint64_t mfn_to_cr3(struct xc_sr_context *ctx, xen_pfn_t mfn); 87 int x86_pv_domain_info(struct xc_sr_context *ctx); 98 int x86_pv_map_m2p(struct xc_sr_context *ctx);
|
A D | xc_sr_save_x86_hvm.c | 10 static int write_hvm_context(struct xc_sr_context *ctx) in write_hvm_context() 60 static int write_hvm_params(struct xc_sr_context *ctx) in write_hvm_params() 125 static xen_pfn_t x86_hvm_pfn_to_gfn(const struct xc_sr_context *ctx, in x86_hvm_pfn_to_gfn() 132 static int x86_hvm_normalise_page(struct xc_sr_context *ctx, in x86_hvm_normalise_page() 138 static int x86_hvm_setup(struct xc_sr_context *ctx) in x86_hvm_setup() 172 static int x86_hvm_static_data(struct xc_sr_context *ctx) in x86_hvm_static_data() 177 static int x86_hvm_start_of_stream(struct xc_sr_context *ctx) in x86_hvm_start_of_stream() 182 static int x86_hvm_start_of_checkpoint(struct xc_sr_context *ctx) in x86_hvm_start_of_checkpoint() 187 static int x86_hvm_check_vm_state(struct xc_sr_context *ctx) in x86_hvm_check_vm_state() 192 static int x86_hvm_end_of_checkpoint(struct xc_sr_context *ctx) in x86_hvm_end_of_checkpoint() [all …]
|
A D | xc_sr_restore_x86_hvm.c | 9 static int handle_hvm_context(struct xc_sr_context *ctx, in handle_hvm_context() 24 static int handle_hvm_params(struct xc_sr_context *ctx, in handle_hvm_params() 99 static bool x86_hvm_pfn_is_valid(const struct xc_sr_context *ctx, xen_pfn_t pfn) in x86_hvm_pfn_is_valid() 105 static xen_pfn_t x86_hvm_pfn_to_gfn(const struct xc_sr_context *ctx, in x86_hvm_pfn_to_gfn() 112 static void x86_hvm_set_gfn(struct xc_sr_context *ctx, xen_pfn_t pfn, in x86_hvm_set_gfn() 119 static void x86_hvm_set_page_type(struct xc_sr_context *ctx, in x86_hvm_set_page_type() 126 static int x86_hvm_localise_page(struct xc_sr_context *ctx, in x86_hvm_localise_page() 136 static int x86_hvm_setup(struct xc_sr_context *ctx) in x86_hvm_setup() 170 static int x86_hvm_process_record(struct xc_sr_context *ctx, in x86_hvm_process_record() 198 static int x86_hvm_stream_complete(struct xc_sr_context *ctx) in x86_hvm_stream_complete() [all …]
|
A D | xc_sr_common_x86_pv.c | 5 xen_pfn_t mfn_to_pfn(struct xc_sr_context *ctx, xen_pfn_t mfn) in mfn_to_pfn() 11 bool mfn_in_pseudophysmap(struct xc_sr_context *ctx, xen_pfn_t mfn) in mfn_in_pseudophysmap() 19 void dump_bad_pseudophysmap_entry(struct xc_sr_context *ctx, xen_pfn_t mfn) in dump_bad_pseudophysmap_entry() 38 xen_pfn_t cr3_to_mfn(struct xc_sr_context *ctx, uint64_t cr3) in cr3_to_mfn() 52 uint64_t mfn_to_cr3(struct xc_sr_context *ctx, xen_pfn_t _mfn) in mfn_to_cr3() 68 int x86_pv_domain_info(struct xc_sr_context *ctx) in x86_pv_domain_info() 97 int x86_pv_map_m2p(struct xc_sr_context *ctx) in x86_pv_map_m2p()
|
A D | xc_sr_save.c | 50 static int write_end_record(struct xc_sr_context *ctx) in write_end_record() 87 static int write_batch(struct xc_sr_context *ctx) in write_batch() 289 static int flush_batch(struct xc_sr_context *ctx) in flush_batch() 327 static int suspend_domain(struct xc_sr_context *ctx) in suspend_domain() 370 static int send_dirty_pages(struct xc_sr_context *ctx, in send_dirty_pages() 412 static int send_all_pages(struct xc_sr_context *ctx) in send_all_pages() 422 static int enable_logdirty(struct xc_sr_context *ctx) in enable_logdirty() 701 static int verify_frames(struct xc_sr_context *ctx) in verify_frames() 797 static int setup(struct xc_sr_context *ctx) in setup() 829 static void cleanup(struct xc_sr_context *ctx) in cleanup() [all …]
|
A D | xc_sr_save_x86_pv.c | 15 static int map_shinfo(struct xc_sr_context *ctx) in map_shinfo() 35 static int copy_mfns_from_guest(const struct xc_sr_context *ctx, in copy_mfns_from_guest() 125 static int map_p2m_tree(struct xc_sr_context *ctx) in map_p2m_tree() 279 static int get_p2m_generation(struct xc_sr_context *ctx) in get_p2m_generation() 465 static int map_p2m(struct xc_sr_context *ctx) in map_p2m() 794 static int write_x86_pv_info(struct xc_sr_context *ctx) in write_x86_pv_info() 855 static int write_shared_info(struct xc_sr_context *ctx) in write_shared_info() 1032 static int x86_pv_setup(struct xc_sr_context *ctx) in x86_pv_setup() 1055 static int x86_pv_static_data(struct xc_sr_context *ctx) in x86_pv_static_data() 1111 static int x86_pv_check_vm_state(struct xc_sr_context *ctx) in x86_pv_check_vm_state() [all …]
|
A D | xc_sr_common_x86.c | 3 int write_x86_tsc_info(struct xc_sr_context *ctx) in write_x86_tsc_info() 23 int handle_x86_tsc_info(struct xc_sr_context *ctx, struct xc_sr_record *rec) in handle_x86_tsc_info() 45 int write_x86_cpu_policy_records(struct xc_sr_context *ctx) in write_x86_cpu_policy_records() 95 int handle_x86_cpuid_policy(struct xc_sr_context *ctx, struct xc_sr_record *rec) in handle_x86_cpuid_policy() 115 int handle_x86_msr_policy(struct xc_sr_context *ctx, struct xc_sr_record *rec) in handle_x86_msr_policy() 135 int x86_static_data_complete(struct xc_sr_context *ctx, unsigned int *missing) in x86_static_data_complete()
|
A D | xc_sr_restore.c | 10 static int read_headers(struct xc_sr_context *ctx) in read_headers() 77 static bool pfn_is_populated(const struct xc_sr_context *ctx, xen_pfn_t pfn) in pfn_is_populated() 89 static int pfn_set_populated(struct xc_sr_context *ctx, xen_pfn_t pfn) in pfn_set_populated() 137 int populate_pfns(struct xc_sr_context *ctx, unsigned int count, in populate_pfns() 448 static int send_checkpoint_dirty_pfn_list(struct xc_sr_context *ctx) in send_checkpoint_dirty_pfn_list() 533 static int handle_checkpoint(struct xc_sr_context *ctx) in handle_checkpoint() 659 int handle_static_data_end(struct xc_sr_context *ctx) in handle_static_data_end() 723 static int setup(struct xc_sr_context *ctx) in setup() 771 static void cleanup(struct xc_sr_context *ctx) in cleanup() 795 static int restore(struct xc_sr_context *ctx) in restore() [all …]
|
A D | xc_sr_restore_x86_pv.c | 76 static int pin_pagetables(struct xc_sr_context *ctx) in pin_pagetables() 133 static int process_start_info(struct xc_sr_context *ctx, in process_start_info() 235 static int process_vcpu_basic(struct xc_sr_context *ctx, in process_vcpu_basic() 397 static int process_vcpu_xsave(struct xc_sr_context *ctx, in process_vcpu_xsave() 435 static int process_vcpu_msrs(struct xc_sr_context *ctx, in process_vcpu_msrs() 473 static int update_vcpu_context(struct xc_sr_context *ctx) in update_vcpu_context() 526 static int update_guest_p2m(struct xc_sr_context *ctx) in update_guest_p2m() 601 static int handle_x86_pv_info(struct xc_sr_context *ctx, in handle_x86_pv_info() 879 static int handle_shared_info(struct xc_sr_context *ctx, in handle_shared_info() 1040 static int x86_pv_setup(struct xc_sr_context *ctx) in x86_pv_setup() [all …]
|
A D | xc_sr_common.c | 56 int write_split_record(struct xc_sr_context *ctx, struct xc_sr_record *rec, in write_split_record() 94 int read_record(struct xc_sr_context *ctx, int fd, struct xc_sr_record *rec) in read_record()
|
Completed in 17 milliseconds