From: Jimi Xenidis Subject: silly questions: struct start_info Date: Fri, 30 Sep 2005 09:50:38 -0400 Message-ID: <17213.17070.981758.653603@kitch0.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org typedef struct start_info { /* THE FOLLOWING ARE FILLED IN BOTH ON INITIAL BOOT AND ON RESUME. */ By resume, do you mean after checkpoint or migration, or every restore? by restore I mean domain context switch. I can understand nr_pages and flags for every restore, but I would not expect the rest to change, do they? unsigned long nr_pages; /* Total pages allocated to this domain. */ unsigned long shared_info; /* MACHINE address of shared info struct. */ u32 flags; /* SIF_xxx flags. */ unsigned long store_mfn; /* MACHINE page number of shared page. */ u16 store_evtchn; /* Event channel for store communication. */ unsigned long console_mfn; /* MACHINE address of console page. */ u16 console_evtchn; /* Event channel for console messages. */ Are any of these pages (*_mfn) part of some protection (read-only) scheme? -JX -- "I got an idea, an idea so smart my head would explode if I even began to know what I was talking about." -- Peter Griffin (Family Guy)