> On Dec 13, 2023, at 7:31 PM, Dongli Zhang wrote:
>
> It is required to use error_report() instead of error_reportf_err(), if the
> prior function does not take local_err as the argument. As a result, the
> local_err is always NULL and segment fault may happen.
>
> vhost_scsi_start()
> -> vhost
> On Dec 14, 2023, at 08:31, Dongli Zhang wrote:
>
> It is required to use error_report() instead of error_reportf_err(), if the
> prior function does not take local_err as the argument. As a result, the
> local_err is always NULL and segment fault may happen.
>
> vhost_scsi_start()
> -> vhost_
It is required to use error_report() instead of error_reportf_err(), if the
prior function does not take local_err as the argument. As a result, the
local_err is always NULL and segment fault may happen.
vhost_scsi_start()
-> vhost_scsi_set_endpoint(s) --> does not allocate local_err
-> error_repo