From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME0er-0004wQ-Gb for qemu-devel@nongnu.org; Tue, 09 Jun 2009 08:42:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME0eq-0004v6-JE for qemu-devel@nongnu.org; Tue, 09 Jun 2009 08:42:28 -0400 Received: from [199.232.76.173] (port=48540 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME0eq-0004uq-Ev for qemu-devel@nongnu.org; Tue, 09 Jun 2009 08:42:28 -0400 Received: from brick.kernel.dk ([93.163.65.50]:55085 helo=kernel.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ME0ep-0004eP-Q4 for qemu-devel@nongnu.org; Tue, 09 Jun 2009 08:42:27 -0400 Date: Tue, 9 Jun 2009 14:42:24 +0200 From: Jens Axboe Message-ID: <20090609124224.GJ11363@kernel.dk> References: <4A1F6130.9070705@redhat.com> <4A26E607.3070901@redhat.com> <200906092149.44087.rusty@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906092149.44087.rusty@rustcorp.com.au> Subject: [Qemu-devel] Re: [PATCH] Add serial number support for virtio_blk, V4a List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rusty Russell Cc: john cooper , qemu-devel@nongnu.org, KVM list , Christoph Hellwig On Tue, Jun 09 2009, Rusty Russell wrote: > From: john cooper > > This patch extracts the opaque data from pci i/o > region 0 via the added VIRTIO_BLK_F_IDENTIFY > field. By convention this data takes the form of > that returned by an ATA IDENTIFY DEVICE command, > however the driver (except for structure size) > makes no interpretation of the data. The structure > data is copied wholesale to userspace via a > HDIO_GET_IDENTITY ioctl command (eg: hdparm -i ). Added! -- Jens Axboe