Re: [Qemu-devel] [RFC PATCH 0/2] virtio-mmio: add irqfd support for vhost-net based on virtio-mmio

2014-11-06 Thread Li Liu
On 2014/11/6 9:59, Shannon Zhao wrote: > > > On 2014/11/5 16:43, Eric Auger wrote: >> On 10/27/2014 12:23 PM, Li Liu wrote: >>> >>> >>> On 2014/10/27 17:37, Peter Maydell wrote: >>>> On 25 October 2014 09:24, john.liuli wr

Re: [Qemu-devel] [RFC PATCH 0/2] virtio-mmio: add irqfd support for vhost-net based on virtio-mmio

2014-10-27 Thread Li Liu
On 2014/10/27 17:37, Peter Maydell wrote: > On 25 October 2014 09:24, john.liuli wrote: >> To get the interrupt reason to support such VIRTIO_NET_F_STATUS >> features I add a new register offset VIRTIO_MMIO_ISRMEM which >> will help to establish a shared memory region between qemu and >> virtio-

Re: [Qemu-devel] [RFC PATCH 2/2] Assign a new irq handler while irqfd enabled

2014-10-27 Thread Li Liu
On 2014/10/26 19:56, Michael S. Tsirkin wrote: > On Sat, Oct 25, 2014 at 04:24:54PM +0800, john.liuli wrote: >> From: Li Liu >> >> This irq handler will get the interrupt reason from a >> shared memory. And will be assigned only while irqfd >> ena

Re: [Qemu-devel] [RFC PATCH 0/2] virtio-mmio: add irqfd support for vhost-net based on virtio-mmio

2014-10-27 Thread Li Liu
On 2014/10/26 19:52, Michael S. Tsirkin wrote: > On Sat, Oct 25, 2014 at 04:24:52PM +0800, john.liuli wrote: >> From: Li Liu >> >> This set of patches try to implemet irqfd support of vhost-net >> based on virtio-mmio. >> >> I had posted a mail to talki

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-10-23 Thread Li Liu
der to > emulate them in Vhost and bypass Qemu... but AFAIK ioeventfd can only work > with "write" registers. > Any idea for a long term solution ? > Yes, how to emulate mis-x is the point and I also sleep on it. Anyone have good ideas? Li. > best regards. > Rémy >

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-10-17 Thread Li Liu
> > Thanks a lot in advance. > Best regards. > Rémy > > > > De : kvmarm-boun...@lists.cs.columbia.edu > [mailto:kvmarm-boun...@lists.cs.columbia.edu] De la part de Yingshiuan Pan > Envoyé : vendredi 15 août 2014 09:25 > À : Li Liu > Cc : kvm...@lists.cs.columb

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] qemu-char: fix terminal crash when using "-monitor stdio -nographic"

2014-09-15 Thread Li Liu
On 2014/9/15 20:57, Michael Tokarev wrote: > 15.09.2014 16:50, Michael Tokarev пишет: >> 09.09.2014 15:19, john.liuli wrote: >>> From: Li Liu >>> >>> Eeay to reproduce, just try "qemu -monitor stdio -nographic" >>> and type "quit"

Re: [Qemu-devel] [PATCH 1/2] vl: Fix the confused logic for '-m' option

2014-09-11 Thread Li Liu
On 2014/9/12 13:58, zhanghailiang wrote: > It should be valid for the follow configure: > -m 256,slots=0 > -m 256,maxmem=256M > -m 256,slots=0,maxmem=256M > -m 256,slots=x,maxmem=y where x > 0 and y > 256M > > Fix the confused code logic and use error_report instead of fprintf. > > Printing th

Re: [Qemu-devel] [PATCH] qemu-char: fix terminal crash when using "-monitor stdio -nographic"

2014-09-08 Thread Li Liu
On 2014/9/5 17:31, Gerd Hoffmann wrote: > On Fr, 2014-09-05 at 11:04 +0200, Markus Armbruster wrote: >> Li Liu writes: >> >>> Ping, any more comments? Thanks. >> >> I'd like to hear Gerd's opinion (cc'ed). >> >>>>> But i

Re: [Qemu-devel] [PATCH] qemu-char: fix terminal crash when using "-monitor stdio -nographic"

2014-09-04 Thread Li Liu
Ping, any more comments? Thanks. On 2014/8/27 15:40, Li Liu wrote: > > > On 2014/8/27 14:44, Markus Armbruster wrote: >> "john.liuli" writes: >> >>> From: Li Liu >>> >>> Eeay to reproduce, just try "qemu -monitor stdio -no

Re: [Qemu-devel] [PATCH] numa: fix qerror_report_err not free issue

2014-08-29 Thread Li Liu
On 2014/8/30 13:26, Michael Tokarev wrote: > 30.08.2014 07:36, john.liuli wrote: >> From: Li Liu >> >> All qerror_report_err returned none NULL pointers need to >> be freed, otherwise will cause memory leaking. >> >> Although this place did not cause re

Re: [Qemu-devel] [PATCH v2 1/2] device_tree.c: redirect load_device_tree err message to stderr

2014-08-28 Thread Li Liu
Could this patchset apply to -trivial, thank you! Best regards, Li. On 2014/8/26 14:38, john.liuli wrote: > From: Li Liu > > Reviewed-by: Peter Crosthwaite > Signed-off-by: Li Liu > --- > changes v1 -> v2: > 1) fix indent issue as peter suggested. > 2) dump all er

Re: [Qemu-devel] [PATCH] qemu-char: fix terminal crash when using "-monitor stdio -nographic"

2014-08-27 Thread Li Liu
On 2014/8/27 14:44, Markus Armbruster wrote: > "john.liuli" writes: > >> From: Li Liu >> >> Eeay to reproduce, just try "qemu -monitor stdio -nographic" >> and type "quit", then the terminal will be crashed. >> >&

Re: [Qemu-devel] [PATCH 0/6] add dumpdts ability to convert dtb to dts

2014-08-25 Thread Li Liu
On 2014/8/25 20:22, Peter Maydell wrote: > On 25 August 2014 05:00, john.liuli wrote: >> From: Li Liu >> >> This patchset let qemu can convert dtb file to dts for two demands: >> >> Some archtectures may generate the dtb file dynamically through >> qemu

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-14 Thread Li Liu
0, Li Liu wrote: > > > On 2014/8/13 19:25, Nikolay Nikolaev wrote: >> On Wed, Aug 13, 2014 at 12:10 PM, Nikolay Nikolaev >> wrote: >>> On Tue, Aug 12, 2014 at 6:47 PM, Nikolay Nikolaev >>> wrote: >>>> >>>> Hello, >>>&

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-13 Thread Li Liu
On 2014/8/13 19:25, Nikolay Nikolaev wrote: > On Wed, Aug 13, 2014 at 12:10 PM, Nikolay Nikolaev > wrote: >> On Tue, Aug 12, 2014 at 6:47 PM, Nikolay Nikolaev >> wrote: >>> >>> Hello, >>> >>> >>> On Tue, Aug 12, 2014 at 5:41 AM,

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-13 Thread Li Liu
On 2014/8/13 17:10, Nikolay Nikolaev wrote: > On Tue, Aug 12, 2014 at 6:47 PM, Nikolay Nikolaev > wrote: >> >> Hello, >> >> >> On Tue, Aug 12, 2014 at 5:41 AM, Li Liu wrote: >>> >>> Hi all, >>> >>> Is anyone there can

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-12 Thread Li Liu
On 2014/8/12 23:47, Nikolay Nikolaev wrote: > Hello, > > > On Tue, Aug 12, 2014 at 5:41 AM, Li Liu wrote: >> >> Hi all, >> >> Is anyone there can tell the current status of vhost-net on kvm-arm? >> >> Half a year has passed from Isa Ansharulla

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-12 Thread Li Liu
On 2014/8/12 15:29, Eric Auger wrote: > On 08/12/2014 04:41 AM, Li Liu wrote: >> Hi all, >> >> Is anyone there can tell the current status of vhost-net on kvm-arm? >> >> Half a year has passed from Isa Ansharullah asked this question: >> http://www.spinics.

[Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-11 Thread Li Liu
Hi all, Is anyone there can tell the current status of vhost-net on kvm-arm? Half a year has passed from Isa Ansharullah asked this question: http://www.spinics.net/lists/kvm-arm/msg08152.html I have found two patches which have provided the kvm-arm support of eventfd and irqfd: 1) [RFC PATCH 0