Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dqemu_fwcfg.c410 const struct qemu_fwcfg_user_file *fwcfg_file; in qemu_fwcfg_add_user_files() local
413 STAILQ_FOREACH(fwcfg_file, &user_files, chain) { in qemu_fwcfg_add_user_files()
414 error = qemu_fwcfg_add_file(fwcfg_file->name, fwcfg_file->size, in qemu_fwcfg_add_user_files()
415 fwcfg_file->data); in qemu_fwcfg_add_user_files()
543 struct qemu_fwcfg_user_file *fwcfg_file; in qemu_fwcfg_parse_cmdline_arg() local
549 fwcfg_file = malloc(sizeof(*fwcfg_file)); in qemu_fwcfg_parse_cmdline_arg()
550 if (fwcfg_file == NULL) { in qemu_fwcfg_parse_cmdline_arg()
576 strncpy(fwcfg_file->name, opt_ptr, opt_end - opt_ptr); in qemu_fwcfg_parse_cmdline_arg()
577 fwcfg_file->name[opt_end - opt_ptr] = '\0'; in qemu_fwcfg_parse_cmdline_arg()
585 fwcfg_file->data = strdup(opt_ptr); in qemu_fwcfg_parse_cmdline_arg()
[all …]