From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUvys-00064c-BN for qemu-devel@nongnu.org; Wed, 24 Apr 2013 05:27:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUvyq-0006bu-At for qemu-devel@nongnu.org; Wed, 24 Apr 2013 05:27:14 -0400 Received: from mail-qa0-x230.google.com ([2607:f8b0:400d:c00::230]:42466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUvyq-0006bi-6x for qemu-devel@nongnu.org; Wed, 24 Apr 2013 05:27:12 -0400 Received: by mail-qa0-f48.google.com with SMTP id bn16so423051qab.14 for ; Wed, 24 Apr 2013 02:27:11 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5177A563.3000900@redhat.com> Date: Wed, 24 Apr 2013 11:26:59 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Adding Disk-Level Introspection to QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Richter Cc: Stefan Hajnoczi , qemu-devel Il 23/04/2013 20:31, Wolfgang Richter ha scritto: > On Tue, Apr 23, 2013 at 2:21 PM, Stefan Hajnoczi > wrote: > > The tracing subsystem is geared towards tracepoint instrumentation > rather than binary dumps. > > Can you share some specific applications? > > > Well, my main application is in exposing a "cloud-inotify" service by > interpreting > sector writes in real-time and publishing the updates as file system > manipulations. > By using introspection we don't need agents running inside the guest. > > Example: guest writes to sector 5786907; I reverse-map that sector and > notice > it belongs to '/etc/passwd' within that guest; I immediately emit a message > (currently using Redis pub-sub functionality) to any interested > subscribers that > '/etc/passwd' changed within this guest running on a certain host within the > datacenter. If you are okay with writes being "bundled" and you are able to handle reordered writes within a small timeframe (usually 0.1-1s), then you can use drive-mirror with an NBD destination. Paolo