On Tue, 12 Apr 2016 09:03:33 +0000 "Gonglei (Arei)" <arei.gong...@huawei.com> wrote:
> > From: Cornelia Huck [mailto:cornelia.h...@de.ibm.com] > > Sent: Tuesday, April 12, 2016 4:00 PM > > Subject: Re: [RFC v2] virtio-crypto specification > > > > On Tue, 5 Apr 2016 09:14:09 +0000 > > "Gonglei (Arei)" <arei.gong...@huawei.com> wrote: > > > > > > > Virtio-crypto device Spec > > > > > > 1 Crypto Device > > > The virtio crypto device is a virtual crypto device (ie. hardware crypto > > accelerator card). The encryption and decryption requests of are placed in > > the > > data queue, and handled by the real hardware crypto accelerators finally. A > > second queue is the control queue, which is used to create or destroy > > session > > for symmetric algorithms, and to control some advanced features. > > > 1.1 Device ID > > > 65535 (experimental) > > > > I think you should just go ahead and reserve a device ID for this. > > > OK, I want to reserve 20 as Crypto device's ID as 19 is reserved for Socket > device. Just go ahead and send a patch against the virtio spec that reserves it.