From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGr6F-0006BV-Ad for qemu-devel@nongnu.org; Tue, 03 Sep 2013 09:57:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGr69-0007bi-1W for qemu-devel@nongnu.org; Tue, 03 Sep 2013 09:56:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGr68-0007bc-Ok for qemu-devel@nongnu.org; Tue, 03 Sep 2013 09:56:48 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r83DulGO014501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 3 Sep 2013 09:56:48 -0400 Date: Tue, 3 Sep 2013 15:56:51 +0200 From: Kevin Wolf Message-ID: <20130903135651.GH2683@dhcp-200-207.str.redhat.com> References: <1378216179-8438-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1378216179-8438-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] qmp: Documentation for BLOCK_IMAGE_CORRUPTED List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, stefanha@redhat.com Am 03.09.2013 um 15:49 hat Max Reitz geschrieben: > Add an appropriate entry describing this event and its parameters into > qmp-events.txt. > > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake > --- > v2: > - moved section to keep qmp-events.txt sorted Reviewed-by: Kevin Wolf Don't forget to keep both Stefan and me CCed for block layer patches. This week Stefan handles the queue. Kevin > QMP/qmp-events.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt > index 39b6016..4b24ec9 100644 > --- a/QMP/qmp-events.txt > +++ b/QMP/qmp-events.txt > @@ -18,6 +18,28 @@ Example: > "data": { "actual": 944766976 }, > "timestamp": { "seconds": 1267020223, "microseconds": 435656 } } > > +BLOCK_IMAGE_CORRUPTED > +--------------------- > + > +Emitted when a disk image is being marked corrupt. > + > +Data: > + > +- "device": Device name (json-string) > +- "msg": Informative message (e.g., reason for the corruption) (json-string) > +- "offset": If the corruption resulted from an image access, this is the access > + offset into the image (json-int) > +- "size": If the corruption resulted from an image access, this is the access > + size (json-int) > + > +Example: > + > +{ "event": "BLOCK_IMAGE_CORRUPTED", > + "data": { "device": "ide0-hd0", > + "msg": "Prevented active L1 table overwrite", "offset": 196608, > + "size": 65536 }, > + "timestamp": { "seconds": 1378126126, "microseconds": 966463 } } > + > BLOCK_IO_ERROR > -------------- > > -- > 1.8.3.1 > >