From: Tim Deegan Subject: Re: [PATCH] [RFC]: xenpaging: add command to to flush qemu buffer cache via VMCALL Date: Thu, 8 Mar 2012 14:29:36 +0000 Message-ID: <20120308142936.GK64337@ocelot.phlegethon.org> References: 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: Olaf Hering Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 17:15 +0100 on 26 Feb (1330276512), Olaf Hering wrote: > # HG changeset patch > # User Olaf Hering > # Date 1330272880 -3600 > # Node ID e17afed13a35989bdf422b75d44843bfd2fda0f4 > # Parent 3ace34b89ebe3bdd6afb0bca85b0c1270f99c1bb > [RFC]: xenpaging: add command to to flush qemu buffer cache via VMCALL > > Is the approach taken in this patch ok? Can you explain a bit more about what you're trying to do? It looks like you're replacing a xenstore-based flush operation with one that forces Xen to send an invalidation after the next guest hypercall completes. What's the advantage of doing it that way? As Andres points out, if the guest isn't making hypercalls that means you'll never get any flush requests. And even if not, it seems like an abuse of the system. Tim