ssh.c (aaffb853359829a37daaf883c773e8320b55c723) | ssh.c (b92902dfeaafbceaf744ab7473f2d070284f6172) |
---|---|
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 --- 949 unchanged lines hidden (view full) --- 958 } 959 960 ret = 0; 961fail: 962 ssh_state_free(&s); 963 return ret; 964} 965 | 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 --- 949 unchanged lines hidden (view full) --- 958 } 959 960 ret = 0; 961fail: 962 ssh_state_free(&s); 963 return ret; 964} 965 |
966static int coroutine_fn ssh_co_create_opts(const char *filename, QemuOpts *opts, | 966static int coroutine_fn ssh_co_create_opts(BlockDriver *drv, 967 const char *filename, 968 QemuOpts *opts, |
967 Error **errp) 968{ 969 BlockdevCreateOptions *create_options; 970 BlockdevCreateOptionsSsh *ssh_opts; 971 int ret; 972 QDict *uri_options = NULL; 973 974 create_options = g_new0(BlockdevCreateOptions, 1); --- 449 unchanged lines hidden --- | 969 Error **errp) 970{ 971 BlockdevCreateOptions *create_options; 972 BlockdevCreateOptionsSsh *ssh_opts; 973 int ret; 974 QDict *uri_options = NULL; 975 976 create_options = g_new0(BlockdevCreateOptions, 1); --- 449 unchanged lines hidden --- |