On 08.12.20 03:36, Jason Wang wrote:
Hi,
So we endup with two solutions (without a prompt):IMHO not an entirely unusual situation in other places of the kernel,
1) using select, user may end up with driver without transport
eg. one can enable USB devices, w/o having an usb host adapter enabled.
And even if some USB-HA driver is enabled, the actualy machine doesn't
necessarily have the corresponding device.
2) using depends, user need to enable at least one transportSo, all virtio devices should depend on TRANSPORT_A || TRANSPORT_B ||
2) looks a little bit better I admit.
TRANSPORT_C || ... ? (and also change all these places if another
transport is added) ?
--mtx