Received: from eggs.gnu.org ([2001:4830:134:3::10]:38869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMYgN-00089x-Of for qemu-devel@nongnu.org; Wed, 06 Dec 2017 07:20:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMYgJ-0000vF-NX for qemu-devel@nongnu.org; Wed, 06 Dec 2017 07:20:11 -0500 References: <20171206120000.63822-1-borntraeger@de.ibm.com> <0b60c788-0470-1fa0-390c-472d75aef0dc@redhat.com> <8c5f5393-9191-fdae-e852-196163d42d50@de.ibm.com> <48792114-6784-249d-0e5f-3b1f1ace7a75@redhat.com> From: David Hildenbrand Message-ID: Date: Wed, 6 Dec 2017 13:19:56 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH/RFC] s390x: split memory into 4TB chunks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Cornelia Huck Cc: qemu-devel , qemu-s390x , Halil Pasic , Alexander Graf , Thomas Huth , Richard Henderson , Paolo Bonzini >>>> This will most certainly break migration, no? >>> >>> Probably yes. Thats why the patch has RFC. I was looking for ideas. >> >> As other architectures might also run into this problem, wonder if >> >> a) bumping up KVM_MEM_MAX_NR_PAGES makes sense. > > The original limitation comes from the fact that this define is used to limit > the number of bits in the dirty bitmap as some architectures do not provide > bitops beyond 2^32. Then my question would be if we can bump it up for all architectures that support it. > >> b) as I said, transparently handle it in kvm slot handling code. > > adding Paolo to check what he thinks. >> >>>> >>>> 1. I remember the name being used for migration, I might be wrong. >>>> 2. Migration of guests > 4TB is certainly broken ;) >>>> >>>> I wonder if this should rather be handled in the kvm_slot code. >>>> (silently create an manage two slots) >>> >> >> > -- Thanks, David / dhildenb