Searched refs:bootpath (Results 1 – 4 of 4) sorted by relevance
/qemu/tests/qtest/migration/ |
H A D | bootfile.c | 25 static char *bootpath; variable 29 if (!bootpath) { in bootfile_delete() 32 unlink(bootpath); in bootfile_delete() 33 g_free(bootpath); in bootfile_delete() 34 bootpath = NULL; in bootfile_delete() 43 bootpath = g_strdup_printf("%s/bootsect", dir); in bootfile_create() 64 FILE *bootfile = fopen(bootpath, "wb"); in bootfile_create() 69 return bootpath; in bootfile_create()
|
H A D | framework.c | 271 const char *bootpath; in migrate_start() local 285 bootpath = bootfile_create(arch, tmpfs, args->suspend_me); in migrate_start() 298 "-device ide-hd,drive=d0,secs=1,cyls=1,heads=1", bootpath); in migrate_start() 304 arch_opts = g_strdup_printf("-bios %s", bootpath); in migrate_start() 315 "-bios %s", bootpath); in migrate_start() 320 arch_opts = g_strdup_printf("-cpu max -kernel %s", bootpath); in migrate_start()
|
H A D | precopy-tests.c | 961 const char *bootpath; in dirtylimit_start_vm() local 963 bootpath = bootfile_create(qtest_get_arch(), tmpfs, false); in dirtylimit_start_vm() 969 tmpfs, bootpath); in dirtylimit_start_vm()
|
/qemu/system/ |
H A D | bootdevice.c | 211 char *devpath = NULL, *s = NULL, *d, *bootpath; in get_boot_device_path() local 232 bootpath = g_strdup_printf("%s%s", in get_boot_device_path() 238 return bootpath; in get_boot_device_path() 257 char *bootpath; in get_boot_devices_list() local 260 bootpath = get_boot_device_path(i->dev, ignore_suffixes, i->suffix); in get_boot_devices_list() 265 len = strlen(bootpath) + 1; in get_boot_devices_list() 267 memcpy(&list[total], bootpath, len); in get_boot_devices_list() 269 g_free(bootpath); in get_boot_devices_list() 411 char *bootpath; in get_boot_devices_lchs_list() local 415 bootpath = get_boot_device_path(i->dev, false, i->suffix); in get_boot_devices_lchs_list() [all …]
|