[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Question about mapping hvmÅs memory to dom0


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, keir.xen@xxxxxxxxx
  • From: Kai Luo <kluo@xxxxxxxxxx>
  • Date: Sun, 30 Jun 2013 22:58:17 -0700 (PDT)
  • Delivery-date: Mon, 01 Jul 2013 05:58:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac52HRUS5Xdm9jxnqEC3Kpj8SaDpdNJmOj3p
  • Thread-topic: [Xen-devel] Question about mapping hvm?s memory to dom0

    Thank you Keir,I added some printk code in do_domctl() of domctl.c to check whether the xc_domain_destroy works,which gives the printk lines I added,so the domain_kill is also called after I map the hvm's memory.Do you mean after the domain destroyed, the memory is still held by hvm instead of returning to xen?


From: "Keir Fraser" <keir.xen@xxxxxxxxx>
To: "Kai Luo" <kluo@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sent: Monday, July 1, 2013 1:37:32 PM
Subject: Re: [Xen-devel] Question about mapping hvmÅs memory to dom0

The HVM domain is not destroyed while there are still external mappings of its memory.


On 01/07/2013 03:32, "Kai Luo" <kluo@xxxxxxxxxx> 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.