From: Wei Liu Subject: Re: [PATCH for 4.6 2/2] xl/libxl: disallow restoring guest with vNUMA configured Date: Tue, 8 Sep 2015 16:27:40 +0100 Message-ID: <20150908152740.GA21123@zion.uk.xensource.com> References: <1441720597-10920-1-git-send-email-wei.liu2@citrix.com> <1441720597-10920-3-git-send-email-wei.liu2@citrix.com> <21998.62265.159173.798603@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZZKoC-0005W1-MD for xen-devel@lists.xenproject.org; Tue, 08 Sep 2015 15:27:44 +0000 Content-Disposition: inline In-Reply-To: <21998.62265.159173.798603@mariner.uk.xensource.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: Ian Jackson Cc: Xen-devel , Wei Liu , Ian Campbell , andrew.cooper3@citrix.com List-Id: xen-devel@lists.xenproject.org On Tue, Sep 08, 2015 at 03:39:53PM +0100, Ian Jackson wrote: > Wei Liu writes ("[PATCH for 4.6 2/2] xl/libxl: disallow restoring guest with vNUMA configured"): > > This is due to restoring a guest uses another path different from the > > creation path and migration v2 frame record doesn't contain node > > information. > > The effect of this would be that you could do `xl save' but that `xl > restore' would later fail. > > Surely that's not right. > Right. My brain was working backward -- I discovered this thing in restore code. I will modify save code instead. One thing is that libxl__domain_save doesn't have domain config available to look at. I guess I can query hypervisor to know if vNUMA is configured. Wei. > Ian.