static void qemu_chr_parse_parallel(QemuOpts *opts, ChardevBackend *backend,

                                    Error **errp)

{

    const char *device = qemu_opt_get(opts, "path");



    if (device == NULL) {

        error_setg(errp, "chardev: parallel: no device path given");

        return;

    }

    backend->parallel = g_new0(ChardevHostdev, 1);

    backend->parallel->device = g_strdup(device);

}

static void qemu_chr_parse_parallel(QemuOpts *opts, ChardevBackend *backend,

                                    Error **errp)

{

    const char *device = qemu_opt_get(opts, "path");



    if (device == NULL) {

        error_setg(errp, "chardev: parallel: no device path given");

        return;

    }

    backend->parallel = g_new0(ChardevHostdev, 1);

    backend->parallel->device = g_strdup(device);

}

static void FUNC_0(QemuOpts *VAR_0, ChardevBackend *VAR_1,

                                    Error **VAR_2)

{

    const char *VAR_3 = qemu_opt_get(VAR_0, "path");



    if (VAR_3 == NULL) {

        error_setg(VAR_2, "chardev: parallel: no VAR_3 path given");

        return;

    }

    VAR_1->parallel = g_new0(ChardevHostdev, 1);

    VAR_1->parallel->VAR_3 = g_strdup(VAR_3);

}

static void FUNC_0(QemuOpts *VAR_0, ChardevBackend *VAR_1,
Error **VAR_2)
{ const char *VAR_3 = qemu_opt_get(VAR_0, "path"); if (VAR_3 == NULL) { error_setg(VAR_2, "chardev: parallel: no VAR_3 path given"); return; } VAR_1->parallel = g_new0(ChardevHostdev, 1); VAR_1->parallel->VAR_3 = g_strdup(VAR_3); }