From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: start_info content for linux Date: Wed, 26 Sep 2012 07:53:25 -0400 Message-ID: <20120926115324.GD7356@phenom.dumpdata.com> References: <5062BDA8.5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5062BDA8.5@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Shuklin Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Sep 26, 2012 at 12:32:40PM +0400, George Shuklin wrote: > Good day. > > I've digging in some strange memory/balloon related bug and I've > really like to see start_info content on linux. I saw in source code > > #ifdef CONFIG_X86_32 > mov %esi,xen_start_info > mov $init_thread_union+THREAD_SIZE,%esp > #else > mov %rsi,xen_start_info > mov $init_thread_union+THREAD_SIZE,%rsp > #endif > jmp xen_start_kernel > > Pointer to start_info stored in linux global variable > xen_start_info, but I can't find way to access it. > > Is any way to get it from linux kernel? (well, except writing your > own module). No. That is the only way. What do you want to get out of the xen_start_kernel structure? > > Thanks. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >