[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxc: reset ctx->completed on each domain restore


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Guido Günther <agx@xxxxxxxxxxx>
  • Date: Wed, 5 Oct 2011 20:14:13 +0200
  • Delivery-date: Wed, 05 Oct 2011 11:23:22 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,
When using current libvirt git with libxenlight 4.1.1 restoring a domain
the second time like:

virsh save foo foo.img
virsh restore foo.img
virsh destroy foo
virsh restore foo.img

fails like:

xc: detail: xc_domain_restore start: p2m_size = 100000
xc: debug: batch 0
xc: debug: Use old firmware ioport from the checkpoint
xc: detail: Writing 0 bytes of QEMU data to /var/lib/xen/qemu-resume.733
xc: error: error zeroing magic pages (22 = Das Argument ist ungültig): Internal 
error
xc: detail: Restore exit with rc=1

Note the absence of any:

xc: debug: batch 1024

lines that are there on successful resumes. The attached patch fixes
this for me on 4.1.1. However current xen hg fails the same way and
since the static structs are gone I wonder what's causing it there. Any
ideas would be welcome!
Cheers,
 -- Guido

Attachment: 0001-xc_domain_restore-reset-the-completed-flag.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.