From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory Date: Mon, 13 Apr 2015 17:25:21 +0100 Message-ID: <552BEDF1.7070209@citrix.com> References: <1428941353-18673-1-git-send-email-dslutz@verizon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1428941353-18673-1-git-send-email-dslutz@verizon.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz , xen-devel@lists.xen.org Cc: Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , Shriram Rajagopalan , Yang Hongyang List-Id: xen-devel@lists.xenproject.org On 13/04/15 17:09, Don Slutz wrote: > If QEMU has called on xc_domain_setmaxmem to add more memory for > option ROMs, domain restore needs to also increase the memory. > > Signed-off-by: Don Slutz hvmloader has no interaction with xc_domain_restore(). It is xl's job to propagate the current memory as part of migration. If qemu has had to bump it up, this should be reflected in the domain config file. The migration path should not be hacked up to fix a higher level toolstack bug. ~Andrew