From: Ian Campbell Subject: Re: [BUG] failed to resume device model after save a HVM guest Date: Tue, 11 Jun 2013 11:11:23 +0100 Message-ID: <1370945483.24512.289.camel@zakaz.uk.xensource.com> References: <201306081131041140368@gmail.com> <20130609203827.GB29824@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130609203827.GB29824@zion.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: Wei Liu Cc: rwxybh , xen-devel List-Id: xen-devel@lists.xenproject.org On Sun, 2013-06-09 at 21:38 +0100, Wei Liu wrote: > On Sat, Jun 08, 2013 at 11:31:05AM +0800, rwxybh wrote: > > XEN Version: 4.3-rc3 > > > > HVM GUEST: centos 6.3 + PV drivers > > > > operation: xl save -c centos63 mem.img This (-c) does a checkpoint suspend -- was that what you wanted? I'm not 100% certain that checkpointing doesn't require in-guest support which CentOS 6 may well lack. > > Saving to /root/mem.img new xl format (info 0x0/0x0/711) > > xc: Saving memory: iter 0 (last sent 0 skipped 0): 1048575/1048575 100% > > libxl: error: libxl.c:419:libxl__domain_resume: failed to resume device model for domain 4:-6 > > > > The error code -6 is ERROR_INVAL in libxl. In that case you seemed to > have garbage in your xenstore entry. So please also provide xenstore > content with 'xenstore-ls -fp'. Also I think any files /var/log/xen/*NAME* (where NAME is the domain's name) would be useful. In particular the ones relating to the device model. Ian.