[PATCH 4/6] virtio: Add helper functions to attach/detach vring descriptors