Recreated in: - 10.6.0 from git - working - 10.0.0 from git - failing Bisecting from here ...
commit 3a3f73ea9f1925ca5e256fa54c5aa451ddeaa19e Author: Michal Privoznik <[email protected]> Date: Mon Jan 29 10:07:05 2024 +0100 remote_driver: Restore special behavior of remoteDomainGetBlockIoTune() In v9.10.0-rc1~103 the remote driver was switched to g_auto() for client RPC return parameters. But whilst doing so a small bug slipped in: previously, when virDomainGetBlockIoTune() was called with *nparams == 0, the function set *nparams to the number of supported params and zero was returned (so that client can allocate memory and call the API second time). IOW - the usual, old style of APIs where we didn't want to allocate memory on caller's behalf. But because of this bug, a negative one is returned instead. Fixes: 501825011c1fe80f458820c7efe5a198e0af9be5 Signed-off-by: Michal Privoznik <[email protected]> Reviewed-by: Ján Tomko <[email protected]> src/remote/remote_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ** Changed in: libvirt (Ubuntu) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084136 Title: Unable to get number of block I/O throttle parameters To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2084136/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
