ssh.c (235e59cf03ed75d0ce96c97343194ed11c146231) ssh.c (af175e85f92c870386ad74f466e29537b79611d3)
1/*
2 * Secure Shell (ssh) backend for QEMU.
3 *
4 * Copyright (C) 2013 Red Hat Inc., Richard W.M. Jones <rjones@redhat.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 608 unchanged lines hidden (view full) ---

617 BlockdevOptionsSsh *result = NULL;
618 QemuOpts *opts = NULL;
619 Error *local_err = NULL;
620 const QDictEntry *e;
621 Visitor *v;
622
623 /* Translate legacy options */
624 opts = qemu_opts_create(&ssh_runtime_opts, NULL, 0, &error_abort);
1/*
2 * Secure Shell (ssh) backend for QEMU.
3 *
4 * Copyright (C) 2013 Red Hat Inc., Richard W.M. Jones <rjones@redhat.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 608 unchanged lines hidden (view full) ---

617 BlockdevOptionsSsh *result = NULL;
618 QemuOpts *opts = NULL;
619 Error *local_err = NULL;
620 const QDictEntry *e;
621 Visitor *v;
622
623 /* Translate legacy options */
624 opts = qemu_opts_create(&ssh_runtime_opts, NULL, 0, &error_abort);
625 if (!qemu_opts_absorb_qdict(opts, options, &local_err)) {
626 error_propagate(errp, local_err);
625 if (!qemu_opts_absorb_qdict(opts, options, errp)) {
627 goto fail;
628 }
629
630 if (!ssh_process_legacy_options(options, opts, errp)) {
631 goto fail;
632 }
633
634 /* Create the QAPI object */

--- 793 unchanged lines hidden ---
626 goto fail;
627 }
628
629 if (!ssh_process_legacy_options(options, opts, errp)) {
630 goto fail;
631 }
632
633 /* Create the QAPI object */

--- 793 unchanged lines hidden ---