libvirt_connect_get_nic_models

Michal Prívozník mprivozn at redhat.com
Mon Jan 2 10:17:48 UTC 2023


On 12/28/22 10:09, Simon Fairweather wrote:
> Hi 
> 
> Can you confirm that I source get an array of these when running this
> api call, currently I just get a return of false
> 

Yeah, this is because as of QEMU's commit [1] (contained in QEMU-4.1.0
release) the format in which list is reported changed. Instead of
everything being on one line separated by commas, now each model is
printed on individual line.

And looking at a function that's related
(libvirt_connect_get_soundhw_models()) I'll need to rework that too,
because in QEMU-7.1 they removed -soundhw argument.

Michal

1: https://gitlab.com/qemu-project/qemu/-/commit/7b71e03af98fd7b5e125d7c10f02c804fcc5e5af



More information about the libvirt-users mailing list