block/ssh: Use QemuOpts for runtime options
authorMax Reitz <mreitz@redhat.com>
Mon, 15 Aug 2016 13:29:23 +0000 (15:29 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 15 Aug 2016 13:52:28 +0000 (15:52 +0200)
commit8a6a80896d6af03b8ee0c17cdf37219eca2588a7
treeb80dffa39dbaf324ce14184c09baa83d403d9d9c
parent6bbbb0ac136102098a70b97ab0c07bc7bf53131c
block/ssh: Use QemuOpts for runtime options

Using QemuOpts will prevent qemu from crashing if the input options have
not been validated (which is the case when they are specified on the
command line or in a json: filename) and some have the wrong type.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/ssh.c