[PULL v3 23/32] vhost-user: add VHOST_USER_RESET_DEVICE to reset devices

2020-01-07 Thread Michael S. Tsirkin
From: Raphael Norwitz 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 pro

[PULL v3 23/32] vhost-user: add VHOST_USER_RESET_DEVICE to reset devices

2020-01-05 Thread Michael S. Tsirkin
From: Raphael Norwitz 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 pro