mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
e9b534905f
Due to a rather unfortunate misunderstanding, we were parsing the list of defined devices from mdevctl incorrectly. Since my primary development machine only has a single device capable of mdevs, I apparently neglected to test multiple parent devices and made some assumptions based on reading the mdevctl code. These assumptions turned out to be incorrect, so the parsing failed when devices from more than one parent device were returned. The details: mdevctl returns an array of objects representing the defined devices. But instead of an array of multiple objects (with each object representing a parent device), the array always contains only a single object. That object has a separate property for each parent device. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> |
||
---|---|---|
.. | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-create.argv | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-create.json | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-define.argv | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-define.json | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-start.argv | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-stop.argv | ||
mdev_d069d019_36ea_4111_8f0a_8c9a70e21366-undefine.argv | ||
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-create.argv | ||
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-create.json | ||
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-define.argv | ||
mdev_d2441d39_495e_4243_ad9f_beb3f14c23d9-define.json | ||
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-create.argv | ||
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-create.json | ||
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-define.argv | ||
mdev_fedc4916_1ca8_49ac_b176_871d16c13076-define.json | ||
mdevctl-list-defined.argv | ||
mdevctl-list-multiple.json | ||
mdevctl-list-multiple.out.xml |