From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] qemu-dm: add command to flush buffer cache Date: Fri, 13 Jan 2012 13:13:34 +0100 Message-ID: <20120113121334.GA20030@aepfle.de> References: <20120112182222.GA12596@aepfle.de> 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.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, Jan 13, Stefano Stabellini wrote: > I guess it is not possible to send the usual ioreq with type == > IOREQ_TYPE_INVALIDATE because the pager is separate from the hypervisor, > correct? Maybe send_invalidate_req() could be triggerd by the pager in some way? Andres sent a patch to move from domctl to memop. Maybe the paging part of it could be extended to issue another command which just calls send_invalidate_req(). If thats possible, then I assume the upstream qemu does not need changing as well. Olaf