On Fri, Feb 03, 2017 at 10:33:16AM +0000, Stefan Hajnoczi wrote: > > +\begin{description} > > +\item[0] dataq1 > > +\item[\ldots] > > +\item[N-1] dataqN > > +\item[N] controlq > > +\end{description} > > + > > +N is set by \field{max_dataqueues}. > > + > > +\subsection{Feature bits}\label{sec:Device Types / Crypto Device / Feature > > bits} > > + > > +VIRTIO_CRYPTO_F_NON_SESSION_MODE (0) non-session mode is available. > > +VIRTIO_CRYPTO_F_CIPHER_NON_SESSION_MODE (1) non-session mode is available > > for CIPHER service. > > +VIRTIO_CRYPTO_F_HASH_NON_SESSION_MODE (2) non-session mode is available > > for HASH service. > > +VIRTIO_CRYPTO_F_MAC_NON_SESSION_MODE (3) non-session mode is available for > > MAC service. > > +VIRTIO_CRYPTO_F_AEAD_NON_SESSION_MODE (4) non-session mode is available > > for AEAD service. > > Bits 1-4 require bit 0. Is bit 0 necessary at all? Or may bits 1-4 can > be eliminated in favor of just bit 0.
Too late to change it as QEMU released a device with that feature. -- MST