From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zueqk-0005uj-Gq for qemu-devel@nongnu.org; Fri, 06 Nov 2015 06:06:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zueqf-00084y-KX for qemu-devel@nongnu.org; Fri, 06 Nov 2015 06:06:30 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:36113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zueqf-000843-FK for qemu-devel@nongnu.org; Fri, 06 Nov 2015 06:06:25 -0500 Received: by wmww144 with SMTP id w144so27533545wmw.1 for ; Fri, 06 Nov 2015 03:06:24 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20151106090952.GA2459@work-vm> References: <1446747083-18205-1-git-send-email-dgilbert@redhat.com> <20151106034846.GC29481@in.ibm.com> <20151106090952.GA2459@work-vm> Date: Fri, 6 Nov 2015 16:36:24 +0530 Message-ID: From: Bharata B Rao Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v9 00/56] Postcopy implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, liang.z.li@intel.com, "qemu-devel@nongnu.org" , luis@cs.umu.se, Bharata B Rao , "amit.shah@redhat.com" , Paolo Bonzini , David Gibson On Fri, Nov 6, 2015 at 2:39 PM, Dr. David Alan Gilbert wrote: > * Bharata B Rao (bharata@linux.vnet.ibm.com) wrote: >> On Thu, Nov 05, 2015 at 06:10:27PM +0000, Dr. David Alan Gilbert (git) wrote: >> > From: "Dr. David Alan Gilbert" >> > >> > This is the 9th cut of my version of postcopy. >> > >> > The userfaultfd linux kernel code is now in the upstream kernel >> > tree, and so 4.3 can be used without modification. >> > >> > This qemu series can be found at: >> > https://github.com/orbitfp7/qemu.git >> > on the wp3-postcopy-v9 tag >> > >> > Testing status: >> > * Tested heavily on x86 >> > * Smoke tested on aarch64 (so it does work on different page sizes) >> >> Tested minimally on ppc64 with back and forth postcopy migration of >> unloaded pseries guest within the localhost - works as expected. >> >> However I am seeing a failure in one case. I am not sure if this is >> a user error or a real issue in postcopy migration. If I switch to postcopy >> migration immediately after starting the migration, I see the migration >> failing with error: >> >> qemu-system-ppc64: qemu_savevm_send_packaged: Unreasonably large packaged state: 25905005 > > I put an arbitrary limit of 16MB (see MAX_VM_CMD_PACKAGED_SIZE in include/sysemu/sysemu.h) > on the size of the data accepted into the packaged blob. How big is the htab data likely to be? HTAB size is a variable and depends on maxmem size. It will be 1/128 th of maxmem. So for a 32G guest, HTAB will be 256M in size. Regards, Bharata.