All of lore.kernel.org
 help / color / mirror / Atom feed
* When would Xen reset page access rights for a non-migrating guest?
@ 2014-03-19 12:42 Razvan Cojocaru
  2014-03-20 17:03 ` Tim Deegan
  0 siblings, 1 reply; 5+ messages in thread
From: Razvan Cojocaru @ 2014-03-19 12:42 UTC (permalink / raw)
  To: xen-devel@lists.xen.org

Hello,

I have an application that uses libxc (specifically
xc_hvm_set_mem_access()) to protect a bunch of interesting pages - I'm
interested in being notified when writes to these pages happen (via
the mem_event mechanism).

However, it seems that once in a great while, after setting access
rights, something happens that allows unnotified writes to these
pages. Working under the assumption that it might have something to do
the the live-migration mechanism, I've set "nomigrate = 1" in the
guest's configuration file. When that did not work, I even called
xc_domain_disable_migrate() from my application, again to no avail.

I also though it might have something to do with balooning, but the
only memory-related keyword in my guest's configuration file is
"memory = 2048" (no maximum memory specified that would hint towards
).

It probably has something to do with the code in tmem.c
(save/restore). What could cause this?

Any thoughts appreciated. This is Xen 4.3.


Thanks,
Razvan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-20 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 12:42 When would Xen reset page access rights for a non-migrating guest? Razvan Cojocaru
2014-03-20 17:03 ` Tim Deegan
2014-03-20 18:13   ` Razvan Cojocaru
2014-03-20 18:22     ` Andrew Cooper
2014-03-20 18:30       ` Razvan Cojocaru

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.