vm_data
static void check_mmio_access(struct vm_data *data, struct kvm_run *run)
struct vm_data *data = __data;
static void *vm_gpa2hva(struct vm_data *data, uint64_t gpa, uint64_t *rempages)
static uint64_t vm_slot2gpa(struct vm_data *data, uint32_t slot)
static struct vm_data *alloc_vm(void)
struct vm_data *data;
static uint64_t get_max_slots(struct vm_data *data, uint32_t host_page_size)
static bool prepare_vm(struct vm_data *data, int nslots, uint64_t *maxslots,
static void launch_vm(struct vm_data *data)
static void free_vm(struct vm_data *data)
static void wait_guest_exit(struct vm_data *data)
static bool test_memslot_move_prepare(struct vm_data *data,
static bool test_memslot_move_prepare_active(struct vm_data *data,
static bool test_memslot_move_prepare_inactive(struct vm_data *data,
static void test_memslot_move_loop(struct vm_data *data, struct sync_area *sync)
static void test_memslot_do_unmap(struct vm_data *data,
static void test_memslot_map_unmap_check(struct vm_data *data,
static void test_memslot_map_loop(struct vm_data *data, struct sync_area *sync)
static void test_memslot_unmap_loop_common(struct vm_data *data,
static void test_memslot_unmap_loop(struct vm_data *data,
static void test_memslot_unmap_loop_chunked(struct vm_data *data,
static void test_memslot_rw_loop(struct vm_data *data, struct sync_area *sync)
bool (*prepare)(struct vm_data *data, struct sync_area *sync,
void (*loop)(struct vm_data *data, struct sync_area *sync);
struct vm_data *data;