From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCHv3 0/2] xen/privcmd: support for paged-out frames Date: Wed, 5 Sep 2012 14:57:28 -0400 Message-ID: <20120905185728.GA14981@phenom.dumpdata.com> References: <1346331492-15027-1-git-send-email-david.vrabel@citrix.com> <20120830200509.GA12955@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andres Lagar-Cavilla Cc: Konrad Rzeszutek Wilk , xen-devel@lists.xensource.com, David Vrabel List-Id: xen-devel@lists.xenproject.org On Thu, Aug 30, 2012 at 04:12:03PM -0400, Andres Lagar-Cavilla wrote: > On Aug 30, 2012, at 4:05 PM, Konrad Rzeszutek Wilk wrote: > > >> I think this should probably get a "Tested-by" Andres or someone else > >> who uses paging before being applied. > > > > How do I test it? Is there an easy explanation/tutorial Andres? > > I have a unit test lying somewhere but I'll need a day to dig it out. If you can send that that would be super.. > > Or you can start an hvm, pause it, fire up xenpaging with debug output so it tells you what it paged out, and then trace libxc as you xc_map_foreign_bulk a known batch of evicted pfns. On the first try it should get rc == -1, errno == ENOENT, error field for the pfn == ENOENT. On the second try it should all be dandy. > This works well with Xen 4.1 or should I use Xen 4.2? > Thanks > Andres