Re: [Qemu-devel] virtio: Question on VRING_DESC_F_WRITE flag

2015-05-18 Thread Stefan Hajnoczi
On Wed, May 13, 2015 at 07:16:13PM +, Subhashini Venkataraman wrote: > I have a question on VRING_DESC_F_WRITE flag. As per the specifications, if > this flag is set, then the corresponding buffer pointed by the descriptor is > Write only, otherwise Read Only. I am trying to understand why

[Qemu-devel] virtio: Question on VRING_DESC_F_WRITE flag

2015-05-13 Thread Subhashini Venkataraman
Hi, I have a question on VRING_DESC_F_WRITE flag. As per the specifications, if this flag is set, then the corresponding buffer pointed by the descriptor is Write only, otherwise Read Only. I am trying to understand why there is no READ_AND_WRITE option, i.e. a buffer could be Read by device