I'm working to add multi-queue support for autotest.
If I assign a string '1:2:3:4' to nic.tapfd in _nic_tap_add_helper(),
the fds can be saved to DbNet, autotest can successfully add right
fds='1:2:3:4' parameter in -netdev
But if I assign a dict ['1', '2', '3', '4'] to nic.tapfd in
_nic_tap_add_helper(), it could not be saved to db.
The tapfd isn't contained in the output of str(self.DbNet).
I even could not set a list to the self.virtnet[0][key]
# self.virtnet[0]['tapfds'] = ['1', '2', '3', '4'] fail
# self.virtnet[0]['tapfds'] = '1:2:3:4' good
How do we add this limitation?
If we could not remove this limitation, I will save string to it, and
split to list when it's used in other place.
--
Amos.
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel