diff options
| author | Dongli Zhang <dongli.zhang@oracle.com> | 2025-04-03 09:29:50 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-05-19 00:25:24 +0300 |
| commit | e5e6b15b0dadfce456dbd04d2ab564be4d939f6f (patch) | |
| tree | cf4ea5bcc04640736072c93ad94d0b38a9c5002b /lib/timerqueue.c | |
| parent | 41cff026cff53a661ab5483aa20e549943dee115 (diff) | |
| download | linux-e5e6b15b0dadfce456dbd04d2ab564be4d939f6f.tar.xz | |
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 <joao.m.martins@oracle.com>
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20250403063028.16045-6-dongli.zhang@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
