Re: [Qemu-devel] [PATCH v6 2/4] cryptodev: add vhost support

2018-02-13 Thread Zhoujian (jay)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Wednesday, February 14, 2018 12:44 AM > To: Zhoujian (jay) > Cc: qemu-devel@nongnu.org; pbonz...@redhat.com; Huangweidong (C) > ; stefa...@redhat.com; pa...@linux.vnet.ibm.com; > longpeng ; xin.z...@intel.com;

Re: [Qemu-devel] [PATCH v6 2/4] cryptodev: add vhost support

2018-02-13 Thread Michael S. Tsirkin
On Sun, Jan 21, 2018 at 08:54:48PM +0800, Jay Zhou wrote: > diff --git a/hw/virtio/Makefile.objs b/hw/virtio/Makefile.objs > index 765d363..c65dca2 100644 > --- a/hw/virtio/Makefile.objs > +++ b/hw/virtio/Makefile.objs > @@ -7,7 +7,7 @@ common-obj-y += virtio-mmio.o > obj-y += virtio.o virtio-ball

[Qemu-devel] [PATCH v6 2/4] cryptodev: add vhost support

2018-01-21 Thread Jay Zhou
From: Gonglei Impliment the vhost-crypto's funtions, such as startup, stop and notification etc. Introduce an enum QCryptoCryptoDevBackendOptionsType in order to identify the cryptodev vhost backend is vhost-user or vhost-kernel-module (If exist). At this point, the cryptdoev-vhost-user works.