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

RE: [Xen-users] Tracking DomU memory


  • To: "Security Initiative Team" <passrete@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Mon, 9 Oct 2006 12:31:29 +0200
  • Delivery-date: Mon, 09 Oct 2006 03:33:59 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Acbri8bUCOqdrVZtTHqMwyw14HLvgwAAW9Ag
  • Thread-topic: [Xen-users] Tracking DomU memory

What do you ACTUALLY want to do?
 
log-dirty doesn't log to a file - it keeps track of "dirty" pages in a list in memory, but doesn't actually store it in a file [ever, at all].
 
do_mmu_update is possibly a good place to hook into, but it depends on what you want to do... [And it's non-trivial code, so beware of complications from changing it].
 
You may want to look at ptwr_emulated_update, as that's used when the do_mmu_update() hypercall isn't used to update a page-table-entry.
 
--
Mats


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Security Initiative Team
Sent: 08 October 2006 02:22
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Tracking DomU memory

Hi,

To track the memory being used by an application running in DomU,
is it better to make tweaks in Dom0 or the hypervisor layer?

Is it possible to just put some hooks in the do_mmu_update hypercall?

Also, how does one enable log-dirty shadow mode?
Does this actually createa log file somewhere?

-Craig


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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