Re: [dpdk-dev] [RFC] vhost: support raising device error

2021-01-05 Thread Maxime Coquelin
Hi Xueming, On 10/26/20 8:25 AM, Xueming Li wrote: > According to virtio spec, The device SHOULD set DEVICE_NEEDS_RESET when > it enters an error state that a reset is needed. If DRIVER_OK is set, > after it sets DEVICE_NEEDS_RESET, the device MUST send a device > configuration change notification

[dpdk-dev] [RFC] vhost: support raising device error

2020-10-26 Thread Xueming Li
According to virtio spec, The device SHOULD set DEVICE_NEEDS_RESET when it enters an error state that a reset is needed. If DRIVER_OK is set, after it sets DEVICE_NEEDS_RESET, the device MUST send a device configuration change notification to the driver. This patch introduces new api to raise vDPA