This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] xen save problem

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xen save problem
From: "Nathan" <nath.perry@xxxxxxxxx>
Date: Sun, 9 Aug 2009 03:48:59 -0600
Delivery-date: Sun, 09 Aug 2009 02:49:34 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:subject :date:mime-version:content-type:x-priority:x-msmail-priority :importance:x-mailer:x-mimeole; bh=/MZf3+saTvy0TIdcWcGzm8CqiXl5XINgIzhmyJFndHk=; b=XG7VoMGYoYQ5LkdMXRRCL0JtzIAKQBKy2roeRB/brZH5fQt7dxgxdYjMi1IOVmMzDf f5gVz/uQitArJjxNCn5wd7hbQqwClwzMwfHYjF1jC/TBFh7uqtGcOpDeVfPV0cl40RLf fTXkW1Rp0NPeXxsnVSUmKCdu4rpuBf6Mem+m4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:mime-version:content-type :x-priority:x-msmail-priority:importance:x-mailer:x-mimeole; b=gho3FI34eKvxv9GuhR9ch/7RdqYFvcRNXtrkp1T/5QEUZ994wYq8Qgh7oZO5aPtflQ 3YJ7Y0rioJtcM/84Cm/yGrxyFraA5WHRPPBnyufUTY9XpAxfJ2GA2h2DnfS66LWN/MrY DzD/MewuyOWR6z+2+GArZp7sqW/NYxaUQsGrY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, everyone,
Thanks for your attention, I'm new to xen-devel and now have a weird problem. I implemented a very easy live save/migration program, which works OK for PV-domains. But for HVM domains, it only works for the first time.
So if I run the program for the first time:
myxm save vm-name test.dat
everything is OK. then after I restore the domain using:
xm restore test.dat
and run the program again:
myxm save vm-name test.dat
the program will output an error message : timed out waiting for qemu to switch buffers
which is due to line 218 in function qemu_flip_buffer, file xc_save.c
I debuged the program, and found that at first, xs_read function returns NULL but variable len is set to 7, then it tries to read again and timeout. I compared my own program with xen built-in xc_save.c, xc_domain_save.c files and found nothing. Do you have any idea why this happens, or is there any difference between a new HVM domain and a restored HVM domain ? I'm using xen-3.3 on ubuntu 8.10.
Thanks very much
Nathan Perry
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xen save problem, Nathan <=