On (Thu) 08 Jan 2015 [11:11:30], Dr. David Alan Gilbert (git) wrote:
> static const QEMUFileOps socket_write_ops = {
> -.get_fd = socket_get_fd,
> +.get_fd= socket_get_fd,
> .writev_buffer = socket_writev_buffer,
> -.close = socket_close
> +.close = s
From: "Dr. David Alan Gilbert"
Add QEMUFile interface to allow a socket to be 'shut down' - i.e. any
reads/writes will fail (and any blocking read/write will be woken).
Signed-off-by: Dr. David Alan Gilbert
---
include/migration/qemu-file.h | 10 ++
include/qemu/sockets.h| 7 +