[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-tools
Subject:    [Xen-tools] Question about register value changes during domain
From:       "shubhraprakash das" <shubhraprakash () gmail ! com>
Date:       2008-02-16 23:30:08
Message-ID: d1985a60802161530w5ae37be5k799e4961efc4fe27 () mail ! gmail ! com
[Download RAW message or body]

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@lists.xensource.com
http://lists.xensource.com/xen-tools
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic