From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: =?iso-8859-1?q?Question_about_mapping_hvm=8Cs__memory?= =?iso-8859-1?q?_to_dom0?= Date: Mon, 01 Jul 2013 06:37:32 +0100 Message-ID: References: <1747857728.13873212.1372645948621.JavaMail.root@vmware.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1845716353497913435==" Return-path: In-Reply-To: <1747857728.13873212.1372645948621.JavaMail.root@vmware.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: Kai Luo , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1845716353497913435== Content-type: multipart/alternative; boundary="B_3455505455_9014734" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3455505455_9014734 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit The HVM domain is not destroyed while there are still external mappings of its memory. On 01/07/2013 03:32, "Kai Luo" wrote: > Hi: > I am trying to make some source code modifications to map the hvm > memory to dom0,I use the xc_map_foreign_bulk to do this,It works and I export > the hvm's memory to a file. My question is,after mapping the memory I use > xc_domain_destroy to shutdown the running hvm,theoretically the mapped memory > will be scrubbed because xen will scrubbed the hvm's memory before they are > freed to xen hyperviser,however I export the mapped memory after destroying > hvm,finding the content in mapped memory nearly same as formly exported,they > are not scrubbed at all.That confused me.Can you give me any suggestion? > > Thank you > Jone > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel --B_3455505455_9014734 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Question about mapping hvm‘s memory to dom0</T= ITLE> </HEAD> <BODY> <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:11pt= '>The HVM domain is not destroyed while there are still external mappings of= its memory. <BR> <BR> <BR> On 01/07/2013 03:32, "Kai Luo" <<a href=3D"kluo@vmware.com">kluo= @vmware.com</a>> wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Times New Roman"><SPAN STYLE=3D'font-si= ze:12pt'>Hi:<BR>          I am trying to make s= ome source code modifications to map the hvm memory to dom0,I use the xc_map= _foreign_bulk to do this,It works and I export the hvm's memory to a file. M= y question is,after mapping the memory I use xc_domain_destroy to shutdown t= he running hvm,theoretically the mapped memory will be scrubbed because xen = will scrubbed the hvm's memory before they are freed to xen hyperviser,howev= er I export the mapped memory after destroying hvm,finding the content in ma= pped memory nearly same as formly exported,they are not scrubbed at all.That= confused me.Can you give me any suggestion?<BR> <BR> Thank you<BR> Jone<BR> <BR> <BR> </SPAN></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'= font-size:11pt'><BR> <HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"95%"></SPAN></FONT><FONT SIZE=3D"2"><FONT FA= CE=3D"Consolas, Courier New, Courier"><SPAN STYLE=3D'font-size:10pt'>___________= ____________________________________<BR> Xen-devel mailing list<BR> <a href=3D"Xen-devel@lists.xen.org">Xen-devel@lists.xen.org</a><BR> <a href=3D"http://lists.xen.org/xen-devel">http://lists.xen.org/xen-devel</a>= <BR> </SPAN></FONT></FONT></BLOCKQUOTE> </BODY> </HTML> --B_3455505455_9014734-- --===============1845716353497913435== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1845716353497913435==--