[PATCH v2] vp_vdpa: Fix return value check vp_vdpa_request_irq

2024-03-25 Thread gavin.liu
From: Yuxue Liu In the vp_vdpa_set_status function, when setting the device status to VIRTIO_CONFIG_S_DRIVER_OK, the vp_vdpa_request_irq function may fail. In such cases, the device status should not be set to DRIVER_OK. Add exception printing to remind the user. Signed-off-by: Yuxue Liu ---

[PATCH v2] vp_vdpa: Fix return value check vp_vdpa_request_irq

2024-03-25 Thread gavin.liu
From: Yuxue Liu In the vp_vdpa_set_status function, when setting the device status to VIRTIO_CONFIG_S_DRIVER_OK, the vp_vdpa_request_irq function may fail. In such cases, the device status should not be set to DRIVER_OK. Add exception printing to remind the user. Signed-off-by: Yuxue Liu ---