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

[Xen-devel] xen save problem

  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Nathan" <nath.perry@xxxxxxxxx>
  • Date: Sun, 9 Aug 2009 03:48:59 -0600
  • Delivery-date: Sun, 09 Aug 2009 02:49:34 -0700
  • 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=
  • Importance: Normal
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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



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