Re: [Qemu-devel] [RFC v1 5/9] virtio-crypto: update header file

2017-05-17 Thread Gonglei (Arei)
> > -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Tuesday, May 16, 2017 11:43 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; Huangweidong (C); > pa...@linux.vnet.ibm.com; Luonengjun; cornelia.h...@de.ibm.com; > Linqiangmin; xin.z...@i

Re: [Qemu-devel] [RFC v1 5/9] virtio-crypto: update header file

2017-05-16 Thread Stefan Hajnoczi
On Mon, May 08, 2017 at 07:38:20PM +0800, Gonglei wrote: > @@ -166,8 +175,8 @@ struct virtio_crypto_aead_session_para { > uint32_t algo; > /* length of key */ > uint32_t key_len; > - /* hash result length */ > - uint32_t hash_result_len; > + /* Authentication tag lengt

[Qemu-devel] [RFC v1 5/9] virtio-crypto: update header file

2017-05-08 Thread Gonglei
Update the header based on the newset virtio crypto spec, so that the virtio crypto can support both session and stateless based crypto services and keep compatibility with the pre-existing code by introducing five feature bits. Signed-off-by: Gonglei --- include/standard-headers/linux/virtio_cr