]> git.proxmox.com Git - qemu.git/commit
block: ssh: Use libssh2_sftp_fsync (if supported by libssh2) to flush to disk.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 9 Apr 2013 14:30:54 +0000 (15:30 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 15 Apr 2013 08:18:05 +0000 (10:18 +0200)
commit9a2d462e7bfba36597ccbd3774ba3bb1bd4c54d8
tree99f84f93211231e0fc37909e943779a536189ef5
parent0a12ec87a513b31eb3b6e035d30649e483322270
block: ssh: Use libssh2_sftp_fsync (if supported by libssh2) to flush to disk.

libssh2_sftp_fsync is an extension to libssh2 to support fsync(2) over
sftp, which is itself an extension of OpenSSH.

If both libssh2 and the ssh daemon support it, this will allow
bdrv_flush_to_disk to commit changes through to disk on the remote
server.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/ssh.c
configure
qemu-doc.texi