Description of problem: Incorrect document for set_iothread in Domain.pm Version-Release number of selected component (if applicable): perl-Sys-Virt-5.0.0-1.module+el8+2734+e0d8b77e.x86_64 How reproducible: 100% Steps to Reproduce: 1. In lib/Sys/Virt/Domain.pm, $dom->set_iothread($iothread, $params, $nparams, $flags=0) But $nparams is unused here and should be removed, otherwise it will lead incorrect usage for this API. 2. 3. Actual results: Expected results: Additional info:
Fixed upstream in so we'll get it when rebasing to 5.1.0 or newer: commit 96a3ad9d80e0c7f313dc1e541df1d22b163f7d4d Author: Dan Zheng <dzheng> Date: Tue Feb 26 17:40:49 2019 +0800 Remove the unused parameter in document Signed-off-by: Dan Zheng <dzheng>
Verified in perl-Sys-Virt-5.6.0-1.module+el8.1.0+3908+8a8c5ed4.x86_64 Check the code and find it is fixed already. =item $dom->set_iothread($iothread, $params, $flags=0)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3723