diff options
author | Yuxue Liu <yuxue.liu@jaguarmicro.com> | 2024-03-25 18:54:47 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-05-22 08:31:15 -0400 |
commit | f181a3736b7f76410040a3f16cbbfbdec2580bf9 (patch) | |
tree | 834db1a19be03dda83b8cea62beb27515c2e37bf /tools/perf/scripts/python/check-perf-trace.py | |
parent | e117d9b6e79a2466faf382cb7e8e8823e82d6bd5 (diff) |
vp_vdpa: Fix return value check vp_vdpa_request_irq
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 <yuxue.liu@jaguarmicro.com>
Message-Id: <20240325105448.235-1-gavin.liu@jaguarmicro.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions