Lines Matching full:crosvm
21 #include "crosvm.h"
152 struct crosvm *crosvm; in main() local
153 int ret = crosvm_connect(&crosvm); in main()
155 fprintf(stderr, "failed to connect to crosvm: %d\n", ret); in main()
163 struct crosvm *extra_crosvm; in main()
164 ret = crosvm_new_connection(crosvm, &extra_crosvm); in main()
171 g_kill_evt = crosvm_get_shutdown_eventfd(crosvm); in main()
177 ret = crosvm_reserve_async_write_range(crosvm, CROSVM_ADDRESS_SPACE_IOPORT, in main()
184 ret = crosvm_reserve_range(crosvm, CROSVM_ADDRESS_SPACE_IOPORT, in main()
213 ret = crosvm_create_memory(crosvm, mem_fd, 0x1000, 0x1000, 0x1000, false, in main()
216 fprintf(stderr, "failed to create memory in crosvm: %d\n", ret); in main()
225 ret = crosvm_get_vcpu(crosvm, vcpu_count, &vcpus[vcpu_count]); in main()
239 fprintf(stderr, "failed to tell crosvm to start: %d\n", ret); in main()
243 /* Wait for crosvm to request that we exit otherwise we will be killed. */ in main()
247 ret = crosvm_destroy_memory(crosvm, &mem_obj); in main()
249 fprintf(stderr, "failed to destroy memory in crosvm: %d\n", ret); in main()
253 ret = crosvm_reserve_async_write_range(crosvm, CROSVM_ADDRESS_SPACE_IOPORT, in main()
260 ret = crosvm_reserve_range(crosvm, CROSVM_ADDRESS_SPACE_IOPORT, in main()