diff options
| author | Richard W.M. Jones | 2013-04-09 16:30:53 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-04-15 10:18:05 +0200 |
| commit | 0a12ec87a513b31eb3b6e035d30649e483322270 (patch) | |
| tree | fdd89881c08b7f7aa3e0c3cfda13f18d29fcdd91 /memory_mapping.c | |
| parent | ide: refuse WIN_READ_NATIVE_MAX on empty device (diff) | |
| download | qemu-0a12ec87a513b31eb3b6e035d30649e483322270.tar.gz qemu-0a12ec87a513b31eb3b6e035d30649e483322270.tar.xz qemu-0a12ec87a513b31eb3b6e035d30649e483322270.zip | |
block: Add support for Secure Shell (ssh) block device.
qemu-system-x86_64 -drive file=ssh://hostname/some/image
QEMU will ssh into 'hostname' and open '/some/image' which is made
available as a standard block device.
You can specify a username (ssh://user@host/...) and/or a port number
(ssh://host:port/...). You can also use an alternate syntax using
properties (file.user, file.host, file.port, file.path).
Current limitations:
- Authentication must be done without passwords or passphrases, using
ssh-agent. Other authentication methods are not supported.
- Uses a single connection, instead of concurrent AIO with multiple
SSH connections.
This is implemented using libssh2 on the client side. The server just
requires a regular ssh daemon with sftp-server support. Most ssh
daemons on Unix/Linux systems will work out of the box.
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions
