Hello all, As per my understanding xc_core_arch_map_p2m retuns the set of physical page frames. Likewise, which function in the control interface returns the set of active virtual pages i.e all the active PTE''s in domU? Thanks, Bhavani _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
There is no such function. You iterate over the p2m, getting type information for each page it points at. This way you discover which pages contains PTEs. -- Keir On 13/11/08 00:55, "bhavani krishnan" <bhavi63@yahoo.com> wrote:> Hello all, > > As per my understanding xc_core_arch_map_p2m retuns the set of physical page > frames. Likewise, which function in the control interface returns the set of > active virtual pages i.e all the active PTE''s in domU? > > Thanks, > Bhavani > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks Keir! So, how do you get the type information for each page? Thanks, Bhavani --- On Thu, 11/13/08, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> From: Keir Fraser <keir.fraser@eu.citrix.com> > Subject: Re: [Xen-devel] Control Interface Question > To: bhavi63@yahoo.com, xen-devel@lists.xensource.com > Date: Thursday, November 13, 2008, 7:39 AM > There is no such function. You iterate over the p2m, getting > type > information for each page it points at. This way you > discover which pages > contains PTEs. > > -- Keir > > On 13/11/08 00:55, "bhavani krishnan" > <bhavi63@yahoo.com> wrote: > > > Hello all, > > > > As per my understanding xc_core_arch_map_p2m retuns > the set of physical page > > frames. Likewise, which function in the control > interface returns the set of > > active virtual pages i.e all the active PTE''s in > domU? > > > > Thanks, > > Bhavani > > > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
xc_get_pfn_type_batch(). K. On 17/11/08 22:32, "bhavani krishnan" <bhavi63@yahoo.com> wrote:> Thanks Keir! > So, how do you get the type information for each page? > > Thanks, > Bhavani > > > --- On Thu, 11/13/08, Keir Fraser <keir.fraser@eu.citrix.com> wrote: > >> From: Keir Fraser <keir.fraser@eu.citrix.com> >> Subject: Re: [Xen-devel] Control Interface Question >> To: bhavi63@yahoo.com, xen-devel@lists.xensource.com >> Date: Thursday, November 13, 2008, 7:39 AM >> There is no such function. You iterate over the p2m, getting >> type >> information for each page it points at. This way you >> discover which pages >> contains PTEs. >> >> -- Keir >> >> On 13/11/08 00:55, "bhavani krishnan" >> <bhavi63@yahoo.com> wrote: >> >>> Hello all, >>> >>> As per my understanding xc_core_arch_map_p2m retuns >> the set of physical page >>> frames. Likewise, which function in the control >> interface returns the set of >>> active virtual pages i.e all the active PTE''s in >> domU? >>> >>> Thanks, >>> Bhavani >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, I am getting the following error while trying to create domU images using xen-create-image. My dom0 is booting perfectly. Any ideas what the error could be? Creating swap image: /home/xen/domains/xen1.example.com/swap.img /bin/dd: opening `/home/xen/domains/xen1.example.com/swap.img'': No such file or directory Done Creating disk image: /home/xen/domains/xen1.example.com/disk.img /bin/dd: opening `/home/xen/domains/xen1.example.com/disk.img'': No such file or directory Done The disk image creation failed to create /home/xen/domains/xen1.example.com/swap.img. aborting Thanks, Bhavani _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, Some days back, I was able to see detailed messages like page faults etc being logged into /var/log/messages i.e all the printk events were being logged. Since I rebooted the system, I can no longer see these detailed events. I am not sure what settings I changed but I need the logging to be enabled to the level of page faults. Please let me know how to enable it again. Thanks, Bhavani _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel