Re: [Qemu-devel] [RFC v3] virtio-crypto specification

2016-04-21 Thread Gonglei (Arei)
Hi Stefan, > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Thursday, April 21, 2016 11:24 PM > Subject: Re: [RFC v3] virtio-crypto specification > > On Tue, Apr 19, 2016 at 08:37:13AM +, Gonglei (Arei) wrote: > > 1.6.1.1 Driver Requirements: Session operation > > The driver MUST

Re: [Qemu-devel] [RFC v3] virtio-crypto specification

2016-04-21 Thread Stefan Hajnoczi
On Tue, Apr 19, 2016 at 08:37:13AM +, Gonglei (Arei) wrote: > 1.6.1.1 Driver Requirements: Session operation > The driver MUST set the control type with VIRTIO_CRYPTO_CTRL_CREATE_SESSION > before the request is preceded by an operation header when executing session > creation: Based on the t

Re: [Qemu-devel] [RFC v3] virtio-crypto specification

2016-04-19 Thread Gonglei (Arei)
Hi Michael, > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Subject: Re: [RFC v3] virtio-crypto specification > > On Tue, Apr 19, 2016 at 08:37:13AM +, Gonglei (Arei) wrote: > > Hi all, > > > > This is the specification (version 3) about a new virtio crypto device. > > > > Changes from

Re: [Qemu-devel] [RFC v3] virtio-crypto specification

2016-04-19 Thread Michael S. Tsirkin
On Tue, Apr 19, 2016 at 08:37:13AM +, Gonglei (Arei) wrote: > Hi all, > > This is the specification (version 3) about a new virtio crypto device. > > Changes from v2: > - Reserve virtio device ID 20 for crypto device. [Cornelia] > - Drop all feature bits, those capabilities are offered by

[Qemu-devel] [RFC v3] virtio-crypto specification

2016-04-19 Thread Gonglei (Arei)
Hi all, This is the specification (version 3) about a new virtio crypto device. Changes from v2: - Reserve virtio device ID 20 for crypto device. [Cornelia] - Drop all feature bits, those capabilities are offered by the device all the time. [Stefan & Cornelia] - Add a new section 1.4.2 for