Raphael Norwitz d91d57e604 vhost-user: add VHOST_USER_RESET_DEVICE to reset devices
Add a VHOST_USER_RESET_DEVICE message which will reset the vhost user
backend. Disabling all rings, and resetting all internal state, ready
for the backend to be reinitialized.

A backend has to report it supports this features with the
VHOST_USER_PROTOCOL_F_RESET_DEVICE protocol feature bit. If it does
so, the new message is used instead of sending a RESET_OWNER which has
had inconsistent implementations.

Signed-off-by: David Vrabel <david.vrabel@nutanix.com>
Signed-off-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <1572385083-5254-2-git-send-email-raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-01-05 07:03:03 -05:00
..
2019-12-17 09:01:14 +01:00
2020-01-03 14:29:42 +00:00
2019-12-16 13:04:46 +01:00
2019-12-17 19:33:52 +01:00
2019-12-16 10:46:34 +00:00
2019-12-17 19:33:51 +01:00
2019-11-05 18:52:29 +01:00
2019-10-28 19:06:47 +01:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00