From: "T S" Subject: xc_linux_save(): which context does it get invoked? Date: Fri, 24 Mar 2006 10:45:10 -0800 Message-ID: References: <7f1eacdd0603240720g2dee921cyb6676b54ecd9cdc3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: In-Reply-To: <7f1eacdd0603240720g2dee921cyb6676b54ecd9cdc3@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hello, Thanks to Ewan Mellor, I managed to get some understanding of the flow of events when "xm save" is called. But I still don't understand which kernel is doing what. In my setup, i have the hypervisor and on top of it there is Dom-0 and a Guest kernels running. From Dom-0, I invoke "xm save" on Guest. This results in calling some python code which (A) waits in one thread to see in xenstore 'suspend' value for control/shutdown, and (B) calls xc_save() in another thread. xc_save() calls xc_linux_save(). My question: Does (B) get executed in Dom-0 or Hyperviser? If I change xc_linux_save.c, should I compile xen, xen0, or xenU kernel to see the effect? thanks, - Ts _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/