Re: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto device specification

2016-10-04 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Wednesday, October 05, 2016 12:16 AM > Subject: Re: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto > device specification > > On Tue, Oct 04, 2016 at 12:24:02PM

Re: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto device specification

2016-10-04 Thread Stefan Hajnoczi
On Tue, Oct 04, 2016 at 12:24:02PM +, gong lei wrote: > On 2016/10/4 17:05, Stefan Hajnoczi wrote: > > On Tue, Oct 04, 2016 at 02:53:25AM +, gong lei wrote: > >> Hi Stefan, > >> > >> Thanks for your comments. > >> > >>> On Wed, Sep 28, 2016 at 05:08:24PM +0800, Gonglei wrote: > /+For

Re: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto device specification

2016-10-04 Thread gong lei
On 2016/10/4 17:05, Stefan Hajnoczi wrote: > On Tue, Oct 04, 2016 at 02:53:25AM +, gong lei wrote: >> Hi Stefan, >> >> Thanks for your comments. >> >>> On Wed, Sep 28, 2016 at 05:08:24PM +0800, Gonglei wrote: /+For scatter/gather list support, a buffer can be represented by /

Re: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto device specification

2016-10-03 Thread Stefan Hajnoczi
On Wed, Sep 28, 2016 at 05:08:24PM +0800, Gonglei wrote: > +For scatter/gather list support, a buffer can be represented by > virtio_crypto_iovec structure. > + > +The structure is defined as follows: > + > +\begin{lstlisting} > +struct virtio_crypto_iovec { > +/* Guest physical address */ >

[Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-28 Thread Gonglei
The virtio crypto device is a virtual crypto device (ie. hardware crypto accelerator card). Currently, the virtio crypto device provides the following crypto services: CIPHER, MAC, HASH, and AEAD. In this patch, CIPHER, MAC, HASH, AEAD services are introduced. VIRTIO-153 Signed-off-by: Gonglei