On Thu, Apr 14, 2016 at 09:26:36AM +0000, Gonglei (Arei) wrote: > Hi, > > > > > > > > > > > > > > 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. > > > > > > Sorry, I don't find the git repository of virtio spec, except a svn > > > repository > > which > > > seems that it's not the latest version. :( > > > > > > https://tools.oasis-open.org/version-control/browse/wsvn/virtio/ > > > > > > Where can I get the git repo address? Thanks. > > > > No git tree, sadly; only the svn repository. The current spec is on the > > v1.0 branch. > > OK, thanks. Maybe I can use git-svn tool to make patch? > > Regards, > -Gonglei
Yes - that's how everyone works. initial clone (takes a very long time): git svn clone -s https://tools.oasis-open.org/version-control/svn/virtio pull git svn rebase push git svn dcommit -- MST