From: Razvan Cojocaru Subject: [PATCH V6 0/3] Vm_event memory introspection helpers Date: Wed, 15 Jul 2015 11:45:46 +0300 Message-ID: <1436949949-4628-1-git-send-email-rcojocaru@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: jun.nakajima@intel.com, wei.liu2@citrix.com, kevin.tian@intel.com, keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, george.dunlap@eu.citrix.com, andrew.cooper3@citrix.com, eddie.dong@intel.com, Aravind.Gopalakrishnan@amd.com, jbeulich@suse.com, tlengyel@novetta.com, suravee.suthikulpanit@amd.com, boris.ostrovsky@oracle.com, ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org This series addresses reviews addressed to V5. All patches have at least one ack, and the modifications are minor. Patch 2/3 has not been modified at all, and the only modification in patch 3/3 is that it now uses vzalloc() / vfree() instead of xzalloc_array() / xfree(), and both patch 3/3 and 1/3 now set the allocated data to NULL after freeing it on domain destruction paths. Patch 1/3 does has slightly more modifications, however they are mostly cosmetic (the only non-cosmetic one is that the patch now bypasses a hvm_copy_from_guest_phys() call that did no harm but was unnecessary). As discussed, I've kept the better-safe-than-sorry approach of freeing allocated data on both domain destruction paths and vm_event_cleanup(), based on the comments in shadow_final_teardown(), which imply that it is theoretically possible to end up on a domain destruction path without domain_kill() being called (and domain_kill() does the vm_event_cleanup()). [PATCH V6 1/3] xen/mem_access: Support for memory-content hiding [PATCH V6 2/3] xen/vm_event: Support for guest-requested events [PATCH V6 3/3] xen/vm_event: Deny register writes if refused by vm_event reply Thanks in advance for your reviews, Razvan