Revision bb67ab02 qemu-option.c

b/qemu-option.c
719 719
    return opts;
720 720
}
721 721

  
722
void qemu_opts_reset(QemuOptsList *list)
723
{
724
    QemuOpts *opts, *next_opts;
725

  
726
    QTAILQ_FOREACH_SAFE(opts, &list->head, next, next_opts) {
727
        qemu_opts_del(opts);
728
    }
729
}
730

  
722 731
int qemu_opts_set(QemuOptsList *list, const char *id,
723 732
                  const char *name, const char *value)
724 733
{

Also available in: Unified diff