[Qemu-devel] [PATCH] vhost-user: Send VHOST_RESET_OWNER on vhost stop

2015-04-26 Thread Luke Gorrie
Hilarity can ensue if vhost is left enabled while a guest reboots. Luke Gorrie (1): vhost-user: Send VHOST_RESET_OWNER on vhost stop hw/net/vhost_net.c | 7 +++ 1 file changed, 7 insertions(+) -- 2.1.4

[Qemu-devel] [PATCH] vhost-user: Send VHOST_RESET_OWNER on vhost stop

2015-04-26 Thread Luke Gorrie
Ensure that the vhost-user slave knows when the vrings are valid and when they are invalid, for example during a guest reboot. The vhost-user protocol says this of VHOST_RESET_OWNER: Issued when a new connection is about to be closed. The Master will no longer own this connection (and