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

[Xen-tools] Question about register value changes during domain suspend


  • To: xen-tools@xxxxxxxxxxxxxxxxxxx
  • From: "shubhraprakash das" <shubhraprakash@xxxxxxxxx>
  • Date: Sat, 16 Feb 2008 18:30:08 -0500
  • Delivery-date: Sat, 16 Feb 2008 15:30:21 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Vc9zWdvp/5r6LtEv5heC7OIrPW95gCKT/467fSdGWe8sz3SsvL5dmx2wpv1zvJKTbFKGOK13hAesh9iieCxu2xo0LjGy8YmGlJR6rW6WGS2Df6p4SX2xs7AnoIU8a8+oJ1cVSR1eKqreG230fpCDKrVz3IheBY+hxh8caeRJrdI=
  • List-id: Xen control tools developers <xen-tools.lists.xensource.com>

Hi,

I am trying to take a checkpoint of a running domain after pausing it
instead of suspending it. I browsed the code in
tools/libxc/xc_linux_save.c and changed the call to
suspend_and_state() to domain_pause(). After doing this, the
checkpoint gives an error while trying to translate the value in
register edx from mfn to pfn. Besides that I also found that the
control register 3 undergoes some translation before it is saved as
part of the checkpoint.

I guess the suspend code changes certain values in the registers in
order to enable the checkpoint to be taken. Can anyone shed some light
on why these changes are required and where in the xend code are these
changes made during suspend.

Thanks,
Shubh

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


 


Rackspace

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