Re: [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue processing handler

2016-10-16 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Sunday, October 16, 2016 9:23 PM > Subject: Re: [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue > processing handler > > On Thu, Oct 13, 2016 at 03:12:03PM +0800, Gonglei

Re: [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue processing handler

2016-10-16 Thread Stefan Hajnoczi
On Thu, Oct 13, 2016 at 03:12:03PM +0800, Gonglei wrote: > Introduces VirtIOCryptoReq structure to store > crypto request so that we can support sync and async > crypto operation in the future. What do you mean by "sync and async" operations? > > At present, we only support cipher and algorithm

[Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue processing handler

2016-10-13 Thread Gonglei
Introduces VirtIOCryptoReq structure to store crypto request so that we can support sync and async crypto operation in the future. At present, we only support cipher and algorithm chainning. Signed-off-by: Gonglei --- hw/virtio/virtio-crypto.c | 338 +