Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-14 Thread Michael S. Tsirkin
On Tue, Jul 14, 2015 at 03:02:44PM +0200, Igor Mammedov wrote: > On Mon, 13 Jul 2015 23:14:37 +0300 > "Michael S. Tsirkin" wrote: > > > On Mon, Jul 13, 2015 at 08:55:13PM +0200, Igor Mammedov wrote: > > > On Mon, 13 Jul 2015 09:55:18 +0300 > > > "Michael S. Tsirkin" wrote: > > > > > > > On Fri,

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-14 Thread Igor Mammedov
On Mon, 13 Jul 2015 23:14:37 +0300 "Michael S. Tsirkin" wrote: > On Mon, Jul 13, 2015 at 08:55:13PM +0200, Igor Mammedov wrote: > > On Mon, 13 Jul 2015 09:55:18 +0300 > > "Michael S. Tsirkin" wrote: > > > > > On Fri, Jul 10, 2015 at 12:12:36PM +0200, Igor Mammedov wrote: > > > > On Thu, 9 Jul 2

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-13 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 08:55:13PM +0200, Igor Mammedov wrote: > On Mon, 13 Jul 2015 09:55:18 +0300 > "Michael S. Tsirkin" wrote: > > > On Fri, Jul 10, 2015 at 12:12:36PM +0200, Igor Mammedov wrote: > > > On Thu, 9 Jul 2015 16:46:43 +0300 > > > "Michael S. Tsirkin" wrote: > > > > > > > On Thu,

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-13 Thread Igor Mammedov
On Mon, 13 Jul 2015 09:55:18 +0300 "Michael S. Tsirkin" wrote: > On Fri, Jul 10, 2015 at 12:12:36PM +0200, Igor Mammedov wrote: > > On Thu, 9 Jul 2015 16:46:43 +0300 > > "Michael S. Tsirkin" wrote: > > > > > On Thu, Jul 09, 2015 at 03:43:01PM +0200, Paolo Bonzini wrote: > > > > > > > > > > >

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-12 Thread Michael S. Tsirkin
On Fri, Jul 10, 2015 at 12:12:36PM +0200, Igor Mammedov wrote: > On Thu, 9 Jul 2015 16:46:43 +0300 > "Michael S. Tsirkin" wrote: > > > On Thu, Jul 09, 2015 at 03:43:01PM +0200, Paolo Bonzini wrote: > > > > > > > > > On 09/07/2015 15:06, Michael S. Tsirkin wrote: > > > > > QEMU asserts in vhost

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-10 Thread Igor Mammedov
On Thu, 9 Jul 2015 16:46:43 +0300 "Michael S. Tsirkin" wrote: > On Thu, Jul 09, 2015 at 03:43:01PM +0200, Paolo Bonzini wrote: > > > > > > On 09/07/2015 15:06, Michael S. Tsirkin wrote: > > > > QEMU asserts in vhost due to hitting vhost backend limit > > > > on number of supported memory region

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-09 Thread Michael S. Tsirkin
On Thu, Jul 09, 2015 at 03:43:01PM +0200, Paolo Bonzini wrote: > > > On 09/07/2015 15:06, Michael S. Tsirkin wrote: > > > QEMU asserts in vhost due to hitting vhost backend limit > > > on number of supported memory regions. > > > > > > Describe all hotplugged memory as one continuos range > > >

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-09 Thread Paolo Bonzini
On 09/07/2015 15:06, Michael S. Tsirkin wrote: > > QEMU asserts in vhost due to hitting vhost backend limit > > on number of supported memory regions. > > > > Describe all hotplugged memory as one continuos range > > to vhost with linear 1:1 HVA->GPA mapping in backend. > > > > Signed-off-by: I

Re: [Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-09 Thread Michael S. Tsirkin
On Thu, Jul 09, 2015 at 01:47:21PM +0200, Igor Mammedov wrote: > QEMU asserts in vhost due to hitting vhost backend limit > on number of supported memory regions. > > Describe all hotplugged memory as one continuos range > to vhost with linear 1:1 HVA->GPA mapping in backend. > > Signed-off-by: I

[Qemu-devel] [PATCH v4 4/7] pc: fix QEMU crashing when more than ~50 memory hotplugged

2015-07-09 Thread Igor Mammedov
QEMU asserts in vhost due to hitting vhost backend limit on number of supported memory regions. Describe all hotplugged memory as one continuos range to vhost with linear 1:1 HVA->GPA mapping in backend. Signed-off-by: Igor Mammedov --- hw/virtio/vhost.c | 47 +++