All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] Allow blockdev-add for SSH
@ 2016-10-11  7:37 Ashijeet Acharya
  2016-10-11  7:37 ` [Qemu-devel] [PATCH 1/4] block/ssh: Add ssh_has_filename_options_conflict() Ashijeet Acharya
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Ashijeet Acharya @ 2016-10-11  7:37 UTC (permalink / raw)
  To: kwolf
  Cc: rjones, jcody, eblake, mreitz, armbru, qemu-devel, qemu-block,
	Ashijeet Acharya

This series adds blockdev-add support for SSH block driver.

Patch 1 prepares the code for the addition of a new option prefix,
which is "server.". This is accomplished by adding a
ssh_has_filename_options_conflict() function which helps to iterate
over the various options and check for conflict.

Patch 2 first adds InetSocketAddress compatibility to SSH block driver
and then makes it accept a InetSocketAddress under the "server" option.
The old options "host" and "port" are supported as legacy options and
then translated to the respective InetSocketAddress representation.

Patch 3 drops the usage of "host" and "port" outside of
ssh_has_filename_options_conflict() and
ssh_process_legacy_socket_options() functions in order to make them
legacy options completely.

Patch 4 helps to allow blockdev-add support for the SSH block driver
by making the SSH option available.


*** This series depends on the following patch: ***
"qdict: implement a qdict_crumple method for un-flattening a dict"
from Daniel's "QAPI/QOM work for non-scalar object properties"
series.

Ashijeet Acharya (4):
  block/ssh: Add ssh_has_filename_options_conflict()
  block/ssh: Add InetSocketAddress and accept it
  block/ssh: Use InetSocketAddress options
  qapi: allow blockdev-add for ssh

 block/ssh.c          | 121 +++++++++++++++++++++++++++++++++++++++++++--------
 qapi/block-core.json |  24 +++++++++-
 2 files changed, 125 insertions(+), 20 deletions(-)

--
2.6.2

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-10-13 18:34 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-11  7:37 [Qemu-devel] [PATCH 0/4] Allow blockdev-add for SSH Ashijeet Acharya
2016-10-11  7:37 ` [Qemu-devel] [PATCH 1/4] block/ssh: Add ssh_has_filename_options_conflict() Ashijeet Acharya
2016-10-11  7:37 ` [Qemu-devel] [PATCH 2/4] block/ssh: Add InetSocketAddress and accept it Ashijeet Acharya
2016-10-12 15:51   ` Kevin Wolf
2016-10-12 16:49     ` Ashijeet Acharya
2016-10-13 18:34   ` Ashijeet Acharya
2016-10-11  7:37 ` [Qemu-devel] [PATCH 3/4] block/ssh: Use InetSocketAddress options Ashijeet Acharya
2016-10-11  7:37 ` [Qemu-devel] [PATCH 4/4] qapi: allow blockdev-add for ssh Ashijeet Acharya
2016-10-11 20:28 ` [Qemu-devel] [PATCH 0/4] Allow blockdev-add for SSH no-reply
2016-10-12  8:09 ` Ashijeet Acharya
2016-10-12  8:22   ` Kevin Wolf
2016-10-12  8:37     ` Ashijeet Acharya
2016-10-12  8:43       ` Kevin Wolf
2016-10-12  8:43   ` Ashijeet Acharya
2016-10-12 16:01 ` Kevin Wolf
2016-10-12 16:20   ` Ashijeet Acharya
2016-10-12 16:40     ` Kevin Wolf
2016-10-12 16:57       ` Ashijeet Acharya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.