Re: [Xen-devel] xen-access write protect Error

2016-09-14 Thread sepanta s
Thanks. I checked my code again to see where I open files but not closing them. The error was due to opening the xc interface (xc_interface_open()) and not closing it via xc_interface_close(). On Mon, Sep 12, 2016 at 2:12 PM, Razvan Cojocaru wrote: > > I am using xen-access to write protect a l

[Xen-devel] xen-access write protect Error

2016-09-10 Thread sepanta s
Hi, I am using xen-access to write protect a lot of gfns of the machine, and listen to each gfn which is going to be written. For each gfn that is accessed for write operation I create a thread to copy its content after a short period of time. I have got the following event as I create a thread for

Re: [Xen-devel] check if a page is modified

2016-08-22 Thread sepanta s
I use xen-access to trace the paegs which are accessed to be wrtitten but when I print out the page content immediately after getting the event in xen-access, its content is unchanged . What should I do?? On Sat, Aug 20, 2016 at 5:13 PM, sepanta s wrote: > Hi, > How can I check if a p

[Xen-devel] check if a page is modified

2016-08-20 Thread sepanta s
Hi, How can I check if a page is dirty or not in xen source code? I am debugging the hvm_hap_nested_page_fault function in hvm.c and want to see when a page fault occurs, see what is written on the page. Does the page_mark_dirty makes a page dirty or not? Regards,

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-08-05 Thread sepanta s
On Fri, Aug 5, 2016 at 10:45 PM, Tamas K Lengyel wrote: > > > On Fri, Aug 5, 2016 at 5:35 AM, sepanta s wrote: > >> >> >> On Tue, Aug 2, 2016 at 8:23 PM, Tamas K Lengyel >> wrote: >> >>> >>> >>> On Tue, Aug 2, 2016 at 12:19

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-08-05 Thread sepanta s
On Tue, Aug 2, 2016 at 8:23 PM, Tamas K Lengyel wrote: > > > On Tue, Aug 2, 2016 at 12:19 AM, sepanta s wrote: > >> >> >> On Sat, Jul 23, 2016 at 3:49 PM, sepanta s wrote: >> >>> >>>>> Hi, >>>>> Is there any sample c

Re: [Xen-devel] page content

2016-08-01 Thread sepanta s
On Mon, Jul 25, 2016 at 1:03 PM, Razvan Cojocaru wrote: > On 07/25/2016 11:29 AM, sepanta s wrote: > > Hi, > > Is there an API in Xen to get the page content of a known gfn ? > > I want to calculate the checksum of the content of the page and wanna > > see if it > &

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-08-01 Thread sepanta s
On Sat, Jul 23, 2016 at 3:49 PM, sepanta s wrote: > >>> Hi, >>> Is there any sample code which I can undestand how to capture the events >>> on the gfns which have p2m_ram_shared enabled ? >>> I couldn't find any ... . >>> I would be gratefu

[Xen-devel] page content

2016-07-25 Thread sepanta s
Hi, Is there an API in Xen to get the page content of a known gfn ? I want to calculate the checksum of the content of the page and wanna see if it is possible ? ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-07-23 Thread sepanta s
> > >> Hi, >> Is there any sample code which I can undestand how to capture the events >> on the gfns which have p2m_ram_shared enabled ? >> I couldn't find any ... . >> I would be grateful if any help , as there is not any documents through >> net to use :( >> >> > Should I just set the ring_page

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-07-11 Thread sepanta s
On Sun, Jul 10, 2016 at 4:50 PM, sepanta s wrote: > > > On Sun, Jun 26, 2016 at 5:15 PM, sepanta s wrote: > >> >> >> >> On Fri, Jun 24, 2016 at 8:10 PM, Tamas K Lengyel >> wrote: >> >>> >>> On Jun 24, 2016 05:19, "Razvan

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-07-10 Thread sepanta s
On Sun, Jun 26, 2016 at 5:15 PM, sepanta s wrote: > > > > On Fri, Jun 24, 2016 at 8:10 PM, Tamas K Lengyel > wrote: > >> >> On Jun 24, 2016 05:19, "Razvan Cojocaru" >> wrote: >> > >> > On 06/24/2016 02:05 PM, George Dunlap wro

Re: [Xen-devel] xc_domain_maximum_gpfn

2016-06-27 Thread sepanta s
On Sun, Jun 26, 2016 at 5:19 PM, sepanta s wrote: > Hi, > what exactly does this module do? > sorry, not module but the function. > I have got about 1 million after calling this function for a domain with 1 > Gigabyte ram and page size 4K. If the output of the function is the

[Xen-devel] xc_domain_maximum_gpfn

2016-06-26 Thread sepanta s
Hi, what exactly does this module do? I have got about 1 million after calling this function for a domain with 1 Gigabyte ram and page size 4K. If the output of the function is the whole gfns in a domain, shouldn't it be equal with (ram-size)/(page-size) ? Is there any API to get the memory range

Re: [Xen-devel] monitor access to pages with a specific p2m_type_t

2016-06-26 Thread sepanta s
On Fri, Jun 24, 2016 at 8:10 PM, Tamas K Lengyel wrote: > > On Jun 24, 2016 05:19, "Razvan Cojocaru" > wrote: > > > > On 06/24/2016 02:05 PM, George Dunlap wrote: > > > On Wed, Jun 22, 2016 at 12:38 PM, sepanta s > wrote: > > >> Hi, &

[Xen-devel] monitor access to pages with a specific p2m_type_t

2016-06-22 Thread sepanta s
Hi, Is it possible to monitor the access on the pages withp2m_type_t p2m_ram_shared? ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] dom0 is not listed in xl list

2016-06-15 Thread sepanta s
Hi, after installing xen 4.7, the output of xl list is empty and dom0 is not found. what could be the problem ? The dmesg content is attached. Xen 4.7.0-rc (XEN) Xen version 4.7.0-rc (root@) (gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4) debug=y Wed Jun 15 17:30:18 IRDT 2016 (XEN) Latest ChangeSet:

Re: [Xen-devel] MEM_SHARING_DEBUG

2016-06-14 Thread sepanta s
On Tue, Jun 14, 2016 at 1:04 PM, Wei Liu wrote: > On Tue, Jun 14, 2016 at 10:51:33AM +0430, sepanta s wrote: > > On Mon, Jun 13, 2016 at 12:59 PM, Wei Liu wrote: > > > > > On Sun, Jun 12, 2016 at 02:37:29PM +0430, sepanta s wrote: > > > > Hi, > > >

Re: [Xen-devel] MEM_SHARING_DEBUG

2016-06-13 Thread sepanta s
On Mon, Jun 13, 2016 at 12:59 PM, Wei Liu wrote: > On Sun, Jun 12, 2016 at 02:37:29PM +0430, sepanta s wrote: > > Hi, > > > > how to does MEM_SHARING_DEBUG works in xen ? > > This function is located at and its internal structure is > > xen/arch/x86/mm/mem_sha

[Xen-devel] MEM_SHARING_DEBUG

2016-06-12 Thread sepanta s
Hi, how to does MEM_SHARING_DEBUG works in xen ? This function is located at and its internal structure is xen/arch/x86/mm/mem_sharing.c debugtrace_printk("*mem_sharing_debug*: %s(): " _f, _

[Xen-devel] memory sharing

2016-04-18 Thread sepanta s
hi, what is the difference between memory sharing in Xen and memory de-duplication ? ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel