* Miklos Szeredi (miklos at szeredi.hu) wrote:> Looking at the ugly retry logic in virtiofs and have some questions.
> First one is, where do these features come from:
>
> VIRTIO_F_RING_PACKED
> VIRTIO_RING_F_INDIRECT_DESC
>
> I see that in virtiofs "packed" is off and "indirect"
is on. Is this
> guaranteed?
I think the xdindirect is coming from qemu's hw/virtio/virtio.h
DEFINE_VIRTIO_COMMON_FEATURES
which has:
DEFINE_PROP_BIT64("indirect_desc", _state, _field, \
VIRTIO_RING_F_INDIRECT_DESC, true), \
Dave
> Thanks,
> Miklos
--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK