From: Ian Jackson Subject: Re: [PATCH RFC V3 4/5] xen, libxc: Request page fault injection via libxc Date: Thu, 24 Jul 2014 13:33:44 +0100 Message-ID: <21456.64808.652842.986896@mariner.uk.xensource.com> References: <1406118884-16628-1-git-send-email-rcojocaru@bitdefender.com> <1406118884-16628-4-git-send-email-rcojocaru@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1406118884-16628-4-git-send-email-rcojocaru@bitdefender.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: Razvan Cojocaru Cc: kevin.tian@intel.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, eddie.dong@intel.com, xen-devel@lists.xen.org, JBeulich@suse.com, andres@lagarcavilla.org, jun.nakajima@intel.com List-Id: xen-devel@lists.xenproject.org Razvan Cojocaru writes ("[PATCH RFC V3 4/5] xen, libxc: Request page fault injection via libxc"): > Added new XEN_DOMCTL_set_pagefault_info hypercall, used by libxc's > new xc_domain_set_pagefault_info() function to set per-domain page > fault injection information. All a call does is set per-domain info, > and nothing actually happens until VMENTRY time, and then only if > all conditions are met (the guest is in user mode, the set value > matches CR3, and there are no other pending traps). > This mechanism allows bringing in swapped-out pages for inspection. Can this objective not be achieved without a hypervisor change, by a suitable control interface to the paging daemon ? Ian.