Re: [Qemu-devel] [virtio-dev] Re: [virtio-dev] Re: [RFC 0/8] virtio-crypto: add multiplexing mode support

2017-10-09 Thread Gonglei (Arei)
> -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Friday, October 06, 2017 10:25 PM > On 09/18/2017 03:17 AM, Longpeng (Mike) wrote: > > > > > > On 2017/9/16 1:33, Halil Pasic wrote: > > > >> > >> > >> On 09/14/2017 02:58 AM, Longpeng (Mike) wrote: > >>> >

Re: [Qemu-devel] [PATCH REPOST v19 1/2] virtio-crypto: Add virtio crypto device specification

2017-09-18 Thread Gonglei (Arei)
> -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Monday, September 18, 2017 9:08 PM > Subject: Re: [Qemu-devel] [PATCH REPOST v19 1/2] virtio-crypto: Add virtio > crypto device specification > > > > On 09/18/2017 02:

Re: [Qemu-devel] [PATCH REPOST v19 1/2] virtio-crypto: Add virtio crypto device specification

2017-09-18 Thread Gonglei (Arei)
> > > + > > +The information required by AEAD session creation is stored in the > virtio_crypto_aead_create_session_req > > +structure, including the aead parameters stored in \field{para} and the > cipher key in \field{key}. > > +\field{input} stores the result of this operation. > > + > >

Re: [Qemu-devel] [PATCH] i386/cpu/hyperv: support over 64 vcpus for windows guests

2017-09-12 Thread Gonglei (Arei)
> > On 12/09/2017 03:41, Gonglei (Arei) wrote: > > > >> -Original Message- > >> From: Eduardo Habkost [mailto:ehabk...@redhat.com] > >> Sent: Tuesday, September 12, 2017 2:38 AM > >> To: Gonglei (Arei) > >> Cc: qemu-devel

Re: [Qemu-devel] [PATCH] i386/cpu/hyperv: support over 64 vcpus for windows guests

2017-09-11 Thread Gonglei (Arei)
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Tuesday, September 12, 2017 2:38 AM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; pbonz...@redhat.com; > r...@twiddle.net; mtosa...@redhat.com; vroze...@redhat.com;

Re: [Qemu-devel] [PATCH 2/2] i386/cpu/hyperv: support over 64 vcpus for windows guests

2017-09-10 Thread Gonglei (Arei)
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Sunday, September 10, 2017 4:46 AM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; pbonz...@redhat.com; > r...@twiddle.net; mtosa...@redhat.com; vroze...@redhat.com;

Re: [Qemu-devel] [PATCH 2/2] i386/cpu/hyperv: support over 64 vcpus for windows guests

2017-09-06 Thread Gonglei (Arei)
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Tuesday, September 05, 2017 9:17 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; pbonz...@redhat.com; > r...@twiddle.net; mtosa...@redhat.com; vroze...@redhat.com;

Re: [Qemu-devel] [PATCH 1/2] pc: add 2.11 machine type

2017-09-06 Thread Gonglei (Arei)
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Tuesday, September 05, 2017 9:21 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; pbonz...@redhat.com; > r...@twiddle.net; mtosa...@redhat.com; vroze...@redhat.com;

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-09-05 Thread Gonglei (Arei)
> -Original Message- > From: Vadim Rozenfeld [mailto:vroze...@redhat.com] > Sent: Tuesday, September 05, 2017 2:33 PM > To: Gonglei (Arei); Paolo Bonzini > Cc: Hangaohuai; Yan Vugenfirer; qemu-devel@nongnu.org; > k...@vger.kernel.org; Radim Krcmar > Subject: R

Re: [Qemu-devel] [PATCH] qom: Remove unused errp parameter from can_be_deleted()

2017-08-29 Thread Gonglei (Arei)
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Wednesday, August 30, 2017 6:04 AM > To: qemu-devel@nongnu.org > Cc: Gonglei (Arei); Paolo Bonzini; Igor Mammedov; Andreas Färber; Lin Ma > Subject: [PATCH] qom: Remove unused e

Re: [Qemu-devel] [RFC 0/3] cryptodev: add vhost support

2017-07-17 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Monday, July 17, 2017 10:40 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; Huangweidong (C); > roy.fan.zh...@intel.com; xin.z...@intel.com; Linqiangmin; > marcan

Re: [Qemu-devel] [PATCH v3 8/9] virtio-crypto: use virtqueue_error for errors with queue context

2017-07-17 Thread Gonglei (Arei)
> -Original Message- > From: Ladi Prosek [mailto:lpro...@redhat.com] > Sent: Monday, July 17, 2017 4:12 PM > To: qemu-devel@nongnu.org > Cc: casasferna...@hotmail.com; m...@redhat.com; jasow...@redhat.com; > coh...@redhat.com; arm...@redhat.com; gr...@kaod.

Re: [Qemu-devel] [PATCH v2 8/8] virtio-crypto: use virtqueue_error for errors with queue context

2017-07-13 Thread Gonglei (Arei)
> -Original Message- > From: Cornelia Huck [mailto:coh...@redhat.com] > Sent: Thursday, July 13, 2017 11:37 PM > To: Ladi Prosek > Cc: qemu-devel; Fernando Casas Schössow; Michael S. Tsirkin; Jason Wang; > Markus Armbruster; Greg Kurz; Gonglei (Arei); > aneesh.ku.

Re: [Qemu-devel] [PATCH] cryptodev: fix two typos in error message

2017-06-29 Thread Gonglei (Arei)
> -Original Message- > From: Pu Hou [mailto:bjho...@linux.vnet.ibm.com] > Sent: Thursday, June 29, 2017 7:58 PM > To: qemu-devel@nongnu.org; Gonglei (Arei) > Cc: pa...@linux.vnet.ibm.com; bagra...@de.ibm.com; Pu Hou > Subject: [PATCH] cryptodev: fix two typo

Re: [Qemu-devel] [PATCH] kvm: don't register smram_listener when smm is off

2017-06-01 Thread Gonglei (Arei)
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, June 01, 2017 6:04 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: Yechuan > Subject: Re: [PATCH] kvm: don't register smram_listener when smm is off > > > > On 2

Re: [Qemu-devel] [PATCH] kvm: don't register smram_listener when smm is off

2017-05-31 Thread Gonglei (Arei)
Soft ping... :) Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Saturday, May 27, 2017 2:10 PM > To: qemu-devel@nongnu.org > Cc: pbonz...@redhat.com; Yechuan; Gonglei (Arei) > Subject: [PATCH] kvm: don't register smram_listener when smm is of

[Qemu-devel] [RFC] Is it useful to create a seperate address space for cpu-memory on x86 platform?

2017-05-26 Thread Gonglei (Arei)
Hi all, I found that the memory consumption increase about 5M since below commit on Qemu process. commit 6731d864f80938e404dc3e5eb7f6b76b891e3e43 Author: Peter Crosthwaite Date: Thu Jan 21 14:15:06 2016 + qom/cpu: Add MemoryRegion property Add

Re: [Qemu-devel] [RFC] memory consumption of Qemu is twice as much as the previous version in KVM

2017-05-22 Thread Gonglei (Arei)
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Monday, May 22, 2017 5:17 PM > To: Daniel P. Berrange > Cc: Gonglei (Arei); qemu-devel@nongnu.org; k...@vger.kernel.org > Subject: Re: [Qemu-devel] [RF

Re: [Qemu-devel] [RFC] memory consumption of Qemu is twice as much as the previous version in KVM

2017-05-22 Thread Gonglei (Arei)
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Daniel P. Berrange > Sent: Monday, May 22, 2017 4:32 PM > To: Paolo Bonzini > Cc: Gonglei (Arei); qemu-devel@nongnu.org; k...@vger.kernel.org > Subject: Re: [Qem

Re: [Qemu-devel] [RFC] memory consumption of Qemu is twice as much as the previous version in KVM

2017-05-22 Thread Gonglei (Arei)
main (argc=81, argv=0x7ffeec2763c8, envp=0x7fb445a313e0) at vl.c:4940 (gdb) p *slot $2 = {start_addr = 4294967296, memory_size = 5368709120, ram = 0x7fb2f4a0, slot = 5, flags = 0} Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Monday, May 22, 2017 3:05 PM >

[Qemu-devel] [RFC] memory consumption of Qemu is twice as much as the previous version in KVM

2017-05-22 Thread Gonglei (Arei)
Hi Paolo, I found that the latest Qemu eat 2 time memory in KVM since Qemu-2.3.0. Replication Steps: 1. I created a CentOS 7 with 4U8G using Qemu-2.3.0, # grep kvm_kvzalloc /proc/vmallocinfo | awk '{total+=$2}; END {print total}' 16932864 # grep kvm_kvzalloc /proc/vmallocinfo

Re: [Qemu-devel] Migration downtime more than 5s when migrating guest with massive disks

2017-05-19 Thread Gonglei (Arei)
Oops, forgot to CC qemu-devel, add it. > -Original Message- > From: Gonglei (Arei) > Sent: Friday, May 19, 2017 8:17 PM > To: 'Paolo Bonzini'; yanghongyang; m...@redhat.com > Cc: quint...@redhat.com; Dr. David Alan Gilbert; Huangzhichao > Subject: RE: Migration downtime

Re: [Qemu-devel] [RFC v1 6/9] virtio-crypto: rework virtio_crypto_handle_request

2017-05-18 Thread Gonglei (Arei)
> > On 05/17/2017 11:12 AM, Gonglei (Arei) wrote: > >> From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > >> Sent: Wednesday, May 17, 2017 6:18 AM > >> > >> > >> On 05/16/2017 04:52 AM, Gonglei (Arei) wrote: > >>>> On 05/

Re: [Qemu-devel] [RFC v1 6/9] virtio-crypto: rework virtio_crypto_handle_request

2017-05-17 Thread Gonglei (Arei)
> > On 05/17/2017 11:12 AM, Gonglei (Arei) wrote: > >>>> By the way, I'm having a hard time understing how is the requirement > form > >>>> > >> > http://docs.oasis-open.org/virtio/virtio/v1.0/cs04/virtio-v1.0-cs04.html#x1-260 > >>

Re: [Qemu-devel] [virtio-dev] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-17 Thread Gonglei (Arei)
> > > On Sat, Apr 22, 2017 at 02:23:50PM +0800, Gonglei wrote: > > +Dataq requests for both session and stateless modes are as follows: > > + > > +\begin{lstlisting} > > +struct virtio_crypto_op_data_req_mux { > > +struct virtio_crypto_op_header header; > > + > > +union { > > +

Re: [Qemu-devel] [RFC v1 6/9] virtio-crypto: rework virtio_crypto_handle_request

2017-05-17 Thread Gonglei (Arei)
> From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Wednesday, May 17, 2017 6:18 AM > > > On 05/16/2017 04:52 AM, Gonglei (Arei) wrote: > >> > >> On 05/13/2017 03:16 AM, Gonglei (Arei) wrote: > >>> > >>>> From: Halil Pasic [

Re: [Qemu-devel] [RFC v1 5/9] virtio-crypto: update header file

2017-05-17 Thread Gonglei (Arei)
> > -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Tuesday, May 16, 2017 11:43 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; Huangweidong (C); > pa...@linux.vnet.ibm.com; Luonengjun; cornelia.h...@de.ibm.com;

Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-15 Thread Gonglei (Arei)
Hi Halil, Sorry for delay because I'm busy on inner production project recently. > > > START HERE > > > +The device can set the operation status as follows: VIRTIO_CRYPTO_OK: > success; > > +VIRTIO_CRYPTO_ERR: failure or device error; VIRTIO_CRYPTO_NOTSUPP: > not supported; > >

Re: [Qemu-devel] [RFC v1 6/9] virtio-crypto: rework virtio_crypto_handle_request

2017-05-15 Thread Gonglei (Arei)
> > On 05/13/2017 03:16 AM, Gonglei (Arei) wrote: > > > >> From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > >> Sent: Friday, May 12, 2017 7:02 PM > >> > >> > >> On 05/08/2017 01:38 PM, Gonglei wrote: > >>> According to

Re: [Qemu-devel] [RFC v1 8/9] virtio-crypto: add host feature bits support

2017-05-12 Thread Gonglei (Arei)
> From: Cornelia Huck [mailto:cornelia.h...@de.ibm.com] > Sent: Friday, May 12, 2017 7:22 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; m...@redhat.com; Huangweidong (C); > pa...@linux.vnet.ibm.com; stefa...@redhat.com; Luonengjun; Linqiangmin; > xin.z...@intel.com; Wubin

Re: [Qemu-devel] [RFC v1 6/9] virtio-crypto: rework virtio_crypto_handle_request

2017-05-12 Thread Gonglei (Arei)
> From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Friday, May 12, 2017 7:02 PM > > > On 05/08/2017 01:38 PM, Gonglei wrote: > > According to the new spec, we should use different > > requst structure to store the data request based > > on whether VIRTIO_CRYPTO_F_MUX_MODE feature bit

Re: [Qemu-devel] [RFC v1 8/9] virtio-crypto: add host feature bits support

2017-05-11 Thread Gonglei (Arei)
> > From: Cornelia Huck [mailto:cornelia.h...@de.ibm.com] > Sent: Thursday, May 11, 2017 11:05 PM > Subject: Re: [RFC v1 8/9] virtio-crypto: add host feature bits support > > On Mon, 8 May 2017 19:38:23 +0800 > Gonglei wrote: > > > We enable all feature bits

Re: [Qemu-devel] [virtio-dev] RE: [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-05 Thread Gonglei (Arei)
> > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Friday, May 05, 2017 10:33 PM > > On 05/05/2017 07:56 AM, Gonglei (Arei) wrote: > >> > >> > >> On 05/04/2017 03:53 PM, Gonglei (Arei) wrote: > >>> Sorry, I missed one comment in

Re: [Qemu-devel] [virtio-dev] RE: [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-05 Thread Gonglei (Arei)
> > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Friday, May 05, 2017 9:52 PM > > On 05/05/2017 05:39 AM, Gonglei (Arei) wrote: > >> > >> > >> On 05/04/2017 04:13 PM, Gonglei (Arei) wrote: > >>>> > >>>>

[Qemu-devel] [Question] SeaBIOS: cannot boot oracle linux if increase the maximum size of permanent high memory area

2017-05-05 Thread Gonglei (Arei)
Hi guys, Currently my workmate encountered an issues in the testing environment: A letter from him: In order to boot a BIG vm (with 4T mem, 255 vCPUs, 60 virtio-scsi disk...), i have to increase the BUILD_MAX_HIGHTABLE to 512KB. But, then i found i can not boot a specific VM anymore

Re: [Qemu-devel] [virtio-dev] RE: [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
> > > On 05/04/2017 03:53 PM, Gonglei (Arei) wrote: > > Sorry, I missed one comment in the previous reply. > > > >> > >>> +\end{itemize*} > >>> + > >> > >> What about extensibility regarding "detailed algorithms

Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
> > > On 05/04/2017 04:13 PM, Gonglei (Arei) wrote: > >> > >> > >> On 05/04/2017 03:33 PM, Gonglei (Arei) wrote: > >>>>> +\begin{description} > >>>>> +\item[VIRTIO_CRYPTO_F_CIPHER_STATELESS_MODE] Requires > >>>

Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
> > > On 05/04/2017 03:33 PM, Gonglei (Arei) wrote: > >>> +\begin{description} > >>> +\item[VIRTIO_CRYPTO_F_CIPHER_STATELESS_MODE] Requires > >> VIRTIO_CRYPTO_F_STATELESS_MODE. > >>> +\item[VIRTIO_CRYPTO_F_HASH_STATELESS_MODE] Requ

Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
Sorry, I missed one comment in the previous reply. > > > +\end{itemize*} > > + > > What about extensibility regarding "detailed algorithms"? Is the driver > required ignore algorithms > it does not "know about"? Should we reserve the not (yet) defined bits? > I mean the device MUST set the

Re: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
Hi Halil, > > > On 04/22/2017 08:23 AM, Gonglei wrote: > > The virtio crypto device is a virtual crypto device (ie. hardware > > crypto accelerator card). Currently, the virtio crypto device provides > > the following crypto services: CIPHER, MAC, HASH, and AEAD. > > > > In this patch, CIPHER,

Re: [Qemu-devel] [virtio-dev] [PATCH v18 0/2] virtio-crypto: virtio crypto device specification

2017-05-03 Thread Gonglei (Arei)
Hi Halil, Nice to see your feedback again :) > -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Wednesday, May 03, 2017 5:55 AM > Subject: Re: [virtio-dev] [PATCH v18 0/2] virtio-crypto: virtio crypto device > specification > > > Hi Gonglei! > > I've

Re: [Qemu-devel] [BUG] QEMU crashes with dpdk virtio pmd

2017-04-27 Thread Gonglei (Arei)
CCing Paolo and Stefan, since it has a relationship with bh in Qemu. > -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > > > On 2017年04月25日 19:37, wangyunjian wrote: > > The q->tx_bh will free in virtio_net_del_queue() function, when remove > > virtio > queues > > if

Re: [Qemu-devel] [PATCH v2 for-2.10 13/18] crypto: cipher: add afalg-backend cipher support

2017-04-21 Thread Gonglei (Arei)
> > > On 2017/4/21 20:59, Gonglei (Arei) wrote: > > > > >> -Original Message- > >> From: longpeng > >> Sent: Monday, April 17, 2017 9:33 AM > >> To: berra...@redhat.com > >> Cc: Gonglei (Arei); Huangweidong (C); arm...@

Re: [Qemu-devel] [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto device specification

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Friday, April 21, 2017 9:07 PM > > Subject: Re: [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto > device > specification > > On Thu, Apr 13, 2017 at 05:11:13PM +0800, Gonglei wrote: > > +The

Re: [Qemu-devel] [PATCH v2 for-2.10 14/18] crypto: hash: add afalg-backend hash support

2017-04-21 Thread Gonglei (Arei)
There are same problems with the previous patch. Regards, -Gonglei > -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redh

Re: [Qemu-devel] [PATCH v2 for-2.10 11/18] crypto: hmac: add hmac driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 11/

Re: [Qemu-devel] [PATCH v2 for-2.10 10/18] crypto: hmac: introduce qcrypto_hmac_ctx_new for glib-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.1

Re: [Qemu-devel] [PATCH v2 for-2.10 09/18] crypto: hmac: introduce qcrypto_hmac_ctx_new for nettle-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.1

Re: [Qemu-devel] [PATCH v2 for-2.10 08/18] crypto: hmac: introduce qcrypto_hmac_ctx_new for gcrypt-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.1

Re: [Qemu-devel] [PATCH v2 for-2.10 07/18] crypto: hmac: move crypto/hmac.h into include/crypto/

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 07/1

Re: [Qemu-devel] [PATCH v2 for-2.10 06/18] crypto: hash: add hash driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 06/

Re: [Qemu-devel] [PATCH v2 for-2.10 13/18] crypto: cipher: add afalg-backend cipher support

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 13/18

Re: [Qemu-devel] [PATCH v2 for-2.10 05/18] crypto: cipher: add cipher driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 05/18

Re: [Qemu-devel] [PATCH v2 for-2.10 12/18] crypto: introduce some common functions for af_alg backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 12/

Re: [Qemu-devel] [PATCH v2 for-2.10 04/18] crypto: cipher: introduce qcrypto_cipher_ctx_new for builtin-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10

Re: [Qemu-devel] [PATCH v2 for-2.10 03/18] crypto: cipher: introduce qcrypto_cipher_ctx_new for nettle-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10

Re: [Qemu-devel] [PATCH v2 for-2.10 02/18] crypto: cipher: introduce qcrypto_cipher_ctx_new for gcrypt-backend

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10

Re: [Qemu-devel] [PATCH v2 for-2.10 01/18] crypto: cipher: introduce context free function

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10

[Qemu-devel] Require for English style review (was RE: [PATCH v17 0/2] virtio-crypto: virtio crypto device specification)

2017-04-21 Thread Gonglei (Arei)
Hi all, As a non-native English speaker, I sincerely hope you give me more suggestions about English style and/or grammar for the spec. Thanks in advance! -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, April 13, 2017 5:11 PM > To: qemu-devel@nongnu

Re: [Qemu-devel] [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto device specification

2017-04-20 Thread Gonglei (Arei)
Hi Stefan, > > Subject: Re: [virtio-dev] [PATCH v17 1/2] virtio-crypto: Add virtio crypto > device > specification > > On Thu, Apr 13, 2017 at 05:11:13PM +0800, Gonglei wrote: > > More review, not done yet. > Thanks a lot! [snip] > > +The device can set the operation status as follows:

Re: [Qemu-devel] [PATCH v17 1/2] virtio-crypto: Add virtio crypto device specification

2017-04-19 Thread Gonglei (Arei)
Hi Stefan, Thanks for your comments firstly. :) > > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Wednesday, April 19, 2017 1:02 AM > Subject: Re: [Qemu-devel] [PATCH v17 1/2] virtio-crypto: Add virtio crypto > device specification > > On Thu, Apr 13, 2017 at 05:11:13PM +0800,

Re: [Qemu-devel] [PATCH for-2.10 00/19] crypto: add af_alg-backend support

2017-04-10 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 10, 2017 5:03 PM > To: berra...@redhat.com; kra...@redhat.com; pbonz...@redhat.com; > ebl...@redhat.com; arm...@redhat.com > Cc: Xuquan (Quan Xu); Gonglei (Arei); qemu-devel@nongnu.org; longpeng > Subject:

Re: [Qemu-devel] [Qemu-stable] [PATCH 00/81] Patch Round-up for stable 2.8.1, freeze on 2017-03-27

2017-04-05 Thread Gonglei (Arei)
> > > > > > > > > > > > > > > > > > > > > > > -Original Message- > > > > > > From: Michael Roth [mailto:mdr...@linux.vnet.ibm.com] > > > > > > Sent: Wednesday, April 05, 2

Re: [Qemu-devel] [Qemu-stable] [PATCH 00/81] Patch Round-up for stable 2.8.1, freeze on 2017-03-27

2017-04-05 Thread Gonglei (Arei)
> > > > > > > > > > > > > > > > > -Original Message- > > > > > From: Michael Roth [mailto:mdr...@linux.vnet.ibm.com] > > > > > Sent: Wednesday, April 05, 2017 12:09 PM > > > > > To: Gonglei

Re: [Qemu-devel] [Qemu-stable] [PATCH 00/81] Patch Round-up for stable 2.8.1, freeze on 2017-03-27

2017-04-04 Thread Gonglei (Arei)
> > > > > > > > -Original Message- > > > From: Michael Roth [mailto:mdr...@linux.vnet.ibm.com] > > > Sent: Wednesday, April 05, 2017 12:09 PM > > > To: Gonglei (Arei); qemu-devel@nongnu.org > > > Cc: qemu-sta...@nongnu.org &

Re: [Qemu-devel] [Qemu-stable] [PATCH 00/81] Patch Round-up for stable 2.8.1, freeze on 2017-03-27

2017-04-04 Thread Gonglei (Arei)
Hi Michael, > -Original Message- > From: Michael Roth [mailto:mdr...@linux.vnet.ibm.com] > Sent: Wednesday, April 05, 2017 12:09 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: qemu-sta...@nongnu.org > Subject: RE: [Qemu-stable] [PATCH 00/81] Patch Round-u

Re: [Qemu-devel] [Qemu-stable] [PATCH 00/81] Patch Round-up for stable 2.8.1, freeze on 2017-03-27

2017-04-04 Thread Gonglei (Arei)
Hi, I'd like to ask when QEMU 2.8.1 release? According to the previous planning, It should release in Mar 30. Thanks, -Gonglei > -Original Message- > From: Qemu-stable > [mailto:qemu-stable-bounces+arei.gonglei=huawei@nongnu.org] On > Behalf Of Michael Roth > Sent: Tuesday, March

Re: [Qemu-devel] [PATCH] cryptodev: fix asserting single queue

2017-03-22 Thread Gonglei (Arei)
> > > On 03/22/2017 01:36 PM, Halil Pasic wrote: > > We already check for queues == 1 in cryptodev_builtin_init and when that > > is not true raise an error. But before that error is reported the > > assertion in cryptodev_builtin_cleanup kicks in (because object is being > > finalized and

Re: [Qemu-devel] [PATCH] fix :cirrus_vga fix OOB read case qemu Segmentation fault

2017-03-13 Thread Gonglei (Arei)
Hi Gerd, Thanks for rapid reply :) > -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Monday, March 13, 2017 9:55 PM > To: Hangaohuai > Cc: qemu-devel@nongnu.org; fangying; Gonglei (Arei) > Subject: Re: [Qemu-devel] [PATCH] fix :cirrus_vga

[Qemu-devel] [Bug?] BQL about live migration

2017-03-03 Thread Gonglei (Arei)
Hello Juan & Dave, We hit a bug in our test: Network error occurs when migrating a guest, libvirt then rollback the migration, causes qemu coredump qemu log: 2017-03-01T12:54:33.904949+08:00|info|qemu[17672]|[33614]|monitor_qapi_event_emit[479]|: {"timestamp": {"seconds": 1488344073,

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-20 Thread Gonglei (Arei)
> > > On 20/02/2017 12:54, Gonglei (Arei) wrote: > >> > >> On 20/02/2017 10:19, Gonglei (Arei) wrote: > >>> Hi Paolo, > >>> > >>>> > >>>> > >>>> On 16/02/2017 02:31, Gonglei (Arei) wrote: > >&

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-20 Thread Gonglei (Arei)
> > On 20/02/2017 10:19, Gonglei (Arei) wrote: > > Hi Paolo, > > > >> > >> > >> On 16/02/2017 02:31, Gonglei (Arei) wrote: > >>> And the below patch works for me, I can support max 255 vcpus for > WS2012 > >>> with hyper-v

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-20 Thread Gonglei (Arei)
Hi Paolo, > > > On 16/02/2017 02:31, Gonglei (Arei) wrote: > > And the below patch works for me, I can support max 255 vcpus for WS2012 > > with hyper-v enlightenments. > > > > diff --git a/target/i386/kvm.c b/target/i386/kvm.c > > index 27fd050..efe

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-15 Thread Gonglei (Arei)
Hi, > > On Sat, 2017-02-11 at 10:39 -0500, Paolo Bonzini wrote: > > > > > > > > > > > > > > On 10/02/2017 10:31, Gonglei (Arei) wrote: > > > > > > > > > > But We tested the same cases on Xen platform and VMware, an

Re: [Qemu-devel] [virtio-dev] Re: [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-15 Thread Gonglei (Arei)
Hi Halil, > > On 02/09/2017 03:29 AM, Gonglei (Arei) wrote: > [..] > > Oh, so much work need to be done. > > > > Halil, Would you mind work together with me to perfect the spec? > > And feel free to add your signed-off-by tag. :) > > > > TBH as a no

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-11 Thread Gonglei (Arei)
Hi Paolo, > > > On 10/02/2017 10:31, Gonglei (Arei) wrote: > > But We tested the same cases on Xen platform and VMware, and > > the guest booted successfully. > > Were these two also tested with enlightenments enabled? TCG surely isn't. > About

Re: [Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-10 Thread Gonglei (Arei)
Hi, > Behalf Of Yan Vugenfirer > > Hi, > > First off all to use more than 64 CPUs on Windows you should use CPU grouping. > Each group can contain maximum 64 CPUs. Here is a good article explaining > possible configurations: >

Re: [Qemu-devel] [virtio-dev] Re: [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-08 Thread Gonglei (Arei)
Hi, > > > On 02/08/2017 07:24 AM, Gonglei (Arei) wrote: > > Hi Halil, > > > > Thanks for your comments firstly. > > > > You are welcome :). Sorry it took so long -- I'm currently > quite busy. > It's fine. > >> > >> On 01/

Re: [Qemu-devel] [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-08 Thread Gonglei (Arei)
> > On 02/08/2017 04:46 AM, Gonglei (Arei) wrote: > > Hi Cornelia, > > > >> > >> On Tue, 7 Feb 2017 12:39:44 +0100 > >> Halil Pasic <pa...@linux.vnet.ibm.com> wrote: > >> > >>> On 01/18/2017 09:22 AM, Gonglei wrote: >

Re: [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-08 Thread Gonglei (Arei)
> > On 02/07/2017 01:59 AM, Gonglei (Arei) wrote: > > Hi, > > > >> From: Michael S. Tsirkin [mailto:m...@redhat.com] > >> Sent: Tuesday, February 07, 2017 2:20 AM > >> Subject: Re: [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add virtio crypto >

Re: [Qemu-devel] [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-07 Thread Gonglei (Arei)
Hi Halil, Thanks for your comments firstly. > > On 01/18/2017 09:22 AM, Gonglei wrote: > > The virtio crypto device is a virtual crypto device (ie. hardware > > crypto accelerator card). Currently, the virtio crypto device provides > > the following crypto services: CIPHER, MAC, HASH, and AEAD.

Re: [Qemu-devel] [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-07 Thread Gonglei (Arei)
Hi Cornelia, > > On Tue, 7 Feb 2017 12:39:44 +0100 > Halil Pasic wrote: > > > On 01/18/2017 09:22 AM, Gonglei wrote: > > > > +\section{Crypto Device}\label{sec:Device Types / Crypto Device} > > > + > > > +The virtio crypto device is a virtual cryptography device as

Re: [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-06 Thread Gonglei (Arei)
gt; On Mon, Feb 06, 2017 at 01:48:09AM +, Gonglei (Arei) wrote: > > > > > +\item The device MUST set \field{max_size} to show the maximum size > of > > > > crypto request the device supports. > > > > > > > > In bytes? > > > > > >

Re: [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-05 Thread Gonglei (Arei)
Hi Stefan, I'm just back from Chinese New year's holiday. > > Subject: Re: [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add virtio crypto > device specification > > On Wed, Jan 18, 2017 at 04:22:36PM +0800, Gonglei wrote: > > The virtio crypto device is a virtual crypto device (ie. hardware > >

Re: [Qemu-devel] [PATCH v16 2/2] virtio-crypto: Add conformance clauses

2017-02-05 Thread Gonglei (Arei)
> > Subject: Re: [Qemu-devel] [PATCH v16 2/2] virtio-crypto: Add conformance > clauses > > On Wed, Jan 18, 2017 at 04:22:37PM +0800, Gonglei wrote: > > Add the conformance targets and clauses for > > virtio-crypto device. > > > > Signed-off-by: Gonglei > > --- > >

Re: [Qemu-devel] [RFC PATCH v3 1/1] virtio crypto device specification: asymmetric crypto service

2017-01-18 Thread Gonglei (Arei)
Hi, > > On Wednesday, January 18, 2017 10:04 AM, Gonglei (Arei) wrote: > > I update the virtio crypto spec to support non-session based crypto > > Operations and your asym service also needs change struct > > virtio_crypto_op_data_req which maybe cause the

Re: [Qemu-devel] [virtio-dev] RE: [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-18 Thread Gonglei (Arei)
> > On 01/17/2017 03:49 AM, Gonglei (Arei) wrote: > > Hi Halil, > > > >> > >> On 01/16/2017 01:43 PM, Gonglei (Arei) wrote: > >>> Hi Michael and others, > >>> > >>> I'd like to redefine struct virtio_crypto_op_data_req is a

Re: [Qemu-devel] [RFC PATCH v3 1/1] virtio crypto device specification: asymmetric crypto service

2017-01-17 Thread Gonglei (Arei)
Hi Xin, > > Subject: RE: [RFC PATCH v3 1/1] virtio crypto device specification: asymmetric > crypto service > > Ping... > Any comments on this part of virtio crypto spec? > I update the virtio crypto spec to support non-session based crypto Operations and your asym service also needs change

Re: [Qemu-devel] [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-16 Thread Gonglei (Arei)
Hi Halil, > > On 01/16/2017 01:43 PM, Gonglei (Arei) wrote: > > Hi Michael and others, > > > > I'd like to redefine struct virtio_crypto_op_data_req is as below: > > > > struct virtio_crypto_op_data_req { > > struct virtio_crypto_op_header head

Re: [Qemu-devel] [PATCH v15 1/2] virtio-crypto: Add virtio crypto device specification

2017-01-16 Thread Gonglei (Arei)
Hi Stefan, > > On Wed, Jan 04, 2017 at 06:03:04PM +0800, Gonglei wrote: > > +The general header of dataq: > > + > > +\begin{lstlisting} > > +struct virtio_crypto_op_header { > > +#define VIRTIO_CRYPTO_CIPHER_ENCRYPT \ > > +VIRTIO_CRYPTO_OPCODE(VIRTIO_CRYPTO_SERVICE_CIPHER, 0x00) > > +#define

Re: [Qemu-devel] [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-16 Thread Gonglei (Arei)
to change the length of struct virtio_crypto_op_data_req.u Is the approach available? Thanks, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Saturday, January 14, 2017 9:21 AM > To: 'Michael S. Tsirkin' > Cc: Halil Pasic; qemu-devel@nongnu.org; virtio-

Re: [Qemu-devel] [PATCH] cryptodev: setiv only when really need

2017-01-15 Thread Gonglei (Arei)
> > From: longpeng > Sent: Saturday, January 14, 2017 2:28 PM > To: Gonglei (Arei) > Cc: Wubin (H); Zhoujian (jay, Euler); qemu-devel@nongnu.org; longpeng > Subject: [PATCH] cryptodev: setiv only when really need > > ECB mode cipher doesn't need IV, if we setiv for it then

Re: [Qemu-devel] [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-13 Thread Gonglei (Arei)
> > On Fri, Jan 13, 2017 at 02:54:29AM +, Gonglei (Arei) wrote: > > > > > > > > On Thu, Jan 12, 2017 at 12:26:24PM +, Gonglei (Arei) wrote: > > > > Hi, > > > > > > > > > > > > > > > > > > On

Re: [Qemu-devel] [PATCH] virtio_crypto: header update

2017-01-13 Thread Gonglei (Arei)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Saturday, January 14, 2017 12:18 AM > To: qemu-devel@nongnu.org > Cc: Gonglei (Arei) > Subject: [PATCH] virtio_crypto: header update > > Update header from latest linux driver. Sessi

Re: [Qemu-devel] [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-12 Thread Gonglei (Arei)
> > On Thu, Jan 12, 2017 at 12:26:24PM +, Gonglei (Arei) wrote: > > Hi, > > > > > > > > > > On 01/04/2017 11:10 AM, Gonglei (Arei) wrote: > > > > Hi all, > > > > > > > > I attach the diff files between v14

Re: [Qemu-devel] [PATCH v8 1/1] crypto: add virtio-crypto driver

2017-01-12 Thread Gonglei (Arei)
> > On Thu, Jan 12, 2017 at 03:10:25PM +0100, Christian Borntraeger wrote: > > On 01/10/2017 01:56 PM, Christian Borntraeger wrote: > > > On 01/10/2017 01:36 PM, Gonglei (Arei) wrote: > > >> Hi, > > >> > >

Re: [Qemu-devel] [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-12 Thread Gonglei (Arei)
Hi, > > On 01/04/2017 11:10 AM, Gonglei (Arei) wrote: > > Hi all, > > > > I attach the diff files between v14 and v15 for better review. > > > Hi, > > only had a quick look. Will try to come back to this later. > That's cool. > > diff --git a

Re: [Qemu-devel] [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-12 Thread Gonglei (Arei)
Ping... Any Comments? Thanks, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Wednesday, January 04, 2017 6:03 PM > To: qemu-devel@nongnu.org; virtio-...@lists.oasis-open.org > Cc: Luonengjun; m...@redhat.com; cornelia.h...@de.ibm.com; > stefa...@r

Re: [Qemu-devel] [PATCH v8 1/1] crypto: add virtio-crypto driver

2017-01-10 Thread Gonglei (Arei)
Hi, > > On 12/15/2016 03:03 AM, Gonglei wrote: > [...] > > + > > +static struct crypto_alg virtio_crypto_algs[] = { { > > + .cra_name = "cbc(aes)", > > + .cra_driver_name = "virtio_crypto_aes_cbc", > > + .cra_priority = 501, > > > This is still higher than the hardware-accelerators (like

Re: [Qemu-devel] Question about add AF_ALG backend for virtio-crypto

2017-01-10 Thread Gonglei (Arei)
> > > > > > > > > > > > > > > > > > On Mon, Jan 09, 2017 at 01:43:10PM +, Stefan Hajnoczi wrote: > > > > > > On Mon, Jan 09, 2017 at 03:04:55PM +0800, Longpeng (Mike) wrote: > > > > > > > I'm one of Gonglei's virtio-crypto project members, and we plan to > add a > > > > > AF_ALG > > > > > > >

<    1   2   3   4   5   6   7   8   9   10   >