diff options
| author | Dongli Zhang <[email protected]> | 2025-04-03 06:29:50 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2025-05-18 21:25:24 +0000 |
| commit | e5e6b15b0dadfce456dbd04d2ab564be4d939f6f (patch) | |
| tree | cf4ea5bcc04640736072c93ad94d0b38a9c5002b /rust/helpers/helpers.c | |
| parent | vhost: modify vhost_log_write() for broader users (diff) | |
| download | kernel-e5e6b15b0dadfce456dbd04d2ab564be4d939f6f.tar.gz kernel-e5e6b15b0dadfce456dbd04d2ab564be4d939f6f.zip | |
vhost-scsi: adjust vhost_scsi_get_desc() to log vring descriptors
Adjust vhost_scsi_get_desc() to facilitate logging of vring descriptors.
Add new arguments to allow passing the log buffer and length to
vhost_get_vq_desc().
In addition, reset 'log_num' since vhost_get_vq_desc() may reset it only
after certain condition checks.
Suggested-by: Joao Martins <[email protected]>
Signed-off-by: Dongli Zhang <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
