Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dcdrom-test.c43 char *codefile = NULL; in prepare_image() local
62 codefile = g_strdup_printf("%s/bootcode-XXXXXX", srcdir); in prepare_image()
63 ret = boot_sector_init(codefile); in prepare_image()
70 codefile = g_strdup_printf("%s/readme.txt", srcdir); in prepare_image()
71 if (!g_file_set_contents(codefile, txt, sizeof(txt) - 1, NULL)) { in prepare_image()
72 fprintf(stderr, "Failed to create '%s'\n", codefile); in prepare_image()
77 args[5] = strchr(codefile, '/') + 1; in prepare_image()
83 unlink(codefile); in prepare_image()
86 g_free(codefile); in prepare_image()