The utility function actually accepts a string, and not the raw dictionary response from QMP. Also, it returns (optionally) an integer, so that must also be accounted for.
The issue can be replicated with (and verified the fix) with `make vm-build-freebsd`. Cleber Rosa (1): VM tests: account for changes in qemu.utils.get_info_usernet_hostfwd_port() tests/vm/basevm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.4