Home
last modified time | relevance | path

Searched refs:tmpfs (Results 1 – 14 of 14) sorted by relevance

/qemu/tests/qtest/
H A Dcxl-test.c118 g_autofree const char *tmpfs = NULL; in cxl_t3d_deprecated() local
120 tmpfs = g_dir_make_tmp("cxl-test-XXXXXX", NULL); in cxl_t3d_deprecated()
123 tmpfs, tmpfs); in cxl_t3d_deprecated()
127 rmdir(tmpfs); in cxl_t3d_deprecated()
133 g_autofree const char *tmpfs = NULL; in cxl_t3d_persistent() local
135 tmpfs = g_dir_make_tmp("cxl-test-XXXXXX", NULL); in cxl_t3d_persistent()
138 tmpfs, tmpfs); in cxl_t3d_persistent()
142 rmdir(tmpfs); in cxl_t3d_persistent()
158 g_autofree const char *tmpfs = NULL; in cxl_t3d_volatile_lsa() local
160 tmpfs = g_dir_make_tmp("cxl-test-XXXXXX", NULL); in cxl_t3d_volatile_lsa()
[all …]
H A Dvhost-user-test.c158 gchar *tmpfs; member
237 const char *root = init_hugepagefs() ? : server->tmpfs; in append_mem_opts()
574 g_autofree const char *tmpfs = NULL; in test_server_new() local
583 tmpfs = g_dir_make_tmp("vhost-test-XXXXXX", &err); in test_server_new()
584 if (!tmpfs) { in test_server_new()
589 g_assert(tmpfs); in test_server_new()
591 server->tmpfs = g_strdup(tmpfs); in test_server_new()
592 server->socket_path = g_strdup_printf("%s/%s.sock", tmpfs, name); in test_server_new()
593 server->mig_path = g_strdup_printf("%s/%s.mig", tmpfs, name); in test_server_new()
652 ret = rmdir(server->tmpfs); in test_server_free()
[all …]
H A Dmigration-helpers.c475 bool probe_o_direct_support(const char *tmpfs) in probe_o_direct_support() argument
477 g_autofree char *filename = g_strdup_printf("%s/probe-o-direct", tmpfs); in probe_o_direct_support()
/qemu/tests/qtest/migration/
H A Dfile-tests.c21 static char *tmpfs; variable
25 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_precopy_file()
61 g_autofree char *file = g_strdup_printf("%s/%s", tmpfs, FILE_TEST_FILENAME); in migrate_hook_start_file_offset_fdset()
85 g_autofree char *uri = g_strdup_printf("file:%s/%s,offset=%d", tmpfs, in test_precopy_file_offset()
100 tmpfs, FILE_TEST_FILENAME); in test_precopy_file_offset_bad()
112 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_precopy_file_mapped_ram_live()
127 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_precopy_file_mapped_ram()
142 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_multifd_file_mapped_ram_live()
158 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_multifd_file_mapped_ram()
183 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_multifd_file_mapped_ram_dio()
[all …]
H A Dcpr-tests.c20 static char *tmpfs; variable
32 g_autofree char *uri = g_strdup_printf("file:%s/%s", tmpfs, in test_mode_reboot()
60 g_autofree char *cpr_path = g_strdup_printf("%s/cpr.sock", tmpfs); in test_mode_transfer_common()
61 g_autofree char *mig_path = g_strdup_printf("%s/migsocket", tmpfs); in test_mode_transfer_common()
105 tmpfs = env->tmpfs; in migration_test_add_cpr()
H A Dframework.c39 static char *tmpfs; variable
63 g_autofree char *serialpath = g_strdup_printf("%s/%s", tmpfs, side); in wait_for_serial()
195 g_autofree char *path = g_strdup_printf("%s/%s", tmpfs, filename); in cleanup()
285 bootpath = bootfile_create(arch, tmpfs, args->suspend_me); in migrate_start()
379 memory_backend, tmpfs, in migrate_start()
407 memory_backend, tmpfs, uri, in migrate_start()
724 uri = g_strdup_printf("unix:%s/migsocket-recover", tmpfs); in test_postcopy_recovery_common()
876 g_autofree char *path = g_strdup_printf("%s/%s", tmpfs, FILE_TEST_FILENAME); in file_dirty_offset_region()
886 g_autofree char *path = g_strdup_printf("%s/%s", tmpfs, FILE_TEST_FILENAME); in file_check_offset_region()
1034 env->tmpfs = g_dir_make_tmp("migration-test-XXXXXX", &err); in migration_get_env()
[all …]
H A Dmisc-tests.c23 static char *tmpfs; variable
70 file = g_strdup_printf("%s/migfile", tmpfs); in test_analyze_script()
97 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_ignore_shared()
134 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in do_test_validate_uuid()
268 tmpfs = env->tmpfs; in migration_test_add_misc()
H A Dcompression-tests.c21 static char *tmpfs; variable
137 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_xbzrle()
190 tmpfs = env->tmpfs; in migration_test_add_compression()
H A Dprecopy-tests.c36 static char *tmpfs; variable
40 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_plain()
56 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_suspend_live()
73 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_suspend_notlive()
85 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_dirty_ring()
308 g_autofree char *file = g_strdup_printf("%s/%s", tmpfs, FILE_TEST_FILENAME); in migrate_hook_start_precopy_fd_file()
363 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_auto_converge()
793 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_cancel_src_after_status()
963 bootpath = bootfile_create(qtest_get_arch(), tmpfs, false); in dirtylimit_start_vm()
969 tmpfs, bootpath); in dirtylimit_start_vm()
[all …]
H A Dtls-tests.c33 static char *tmpfs; variable
43 data->workdir = g_strdup_printf("%s/tlscredspsk0", tmpfs); in migrate_hook_start_tls_psk_common()
50 data->workdiralt = g_strdup_printf("%s/tlscredspskalt0", tmpfs); in migrate_hook_start_tls_psk_common()
144 data->workdir = g_strdup_printf("%s/tlscredsx5090", tmpfs); in migrate_hook_start_tls_x509_common()
441 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_tls_psk()
455 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_tls_x509_default_host()
472 g_autofree char *uri = g_strdup_printf("unix:%s/migsocket", tmpfs); in test_precopy_unix_tls_x509_override_host()
794 tmpfs = env->tmpfs; in migration_test_add_tls()
H A Dmigration-util.h43 bool probe_o_direct_support(const char *tmpfs);
45 static inline bool probe_o_direct_support(const char *tmpfs) in probe_o_direct_support() argument
H A Dmigration-util.c298 bool probe_o_direct_support(const char *tmpfs) in probe_o_direct_support() argument
300 g_autofree char *filename = g_strdup_printf("%s/probe-o-direct", tmpfs); in probe_o_direct_support()
H A Dframework.h32 char *tmpfs; member
/qemu/docs/system/
H A Dvm-templating.rst125 (shmem/tmpfs, hugetlbfs) either way.