From: Jens Axboe Subject: Re: [PATCH] Add serial number support for virtio_blk, V4a Date: Tue, 9 Jun 2009 14:42:24 +0200 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 Cc: john cooper , KVM list , qemu-devel@nongnu.org, Christoph Hellwig To: Rusty Russell Return-path: Received: from brick.kernel.dk ([93.163.65.50]:35432 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755051AbZFIMmW (ORCPT ); Tue, 9 Jun 2009 08:42:22 -0400 Content-Disposition: inline In-Reply-To: <200906092149.44087.rusty@rustcorp.com.au> Sender: kvm-owner@vger.kernel.org List-ID: 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