From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgLhc-0000u7-TP for qemu-devel@nongnu.org; Mon, 11 Jul 2011 14:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgLha-0006ch-Ke for qemu-devel@nongnu.org; Mon, 11 Jul 2011 14:59:32 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:43285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgLha-0006cR-8e for qemu-devel@nongnu.org; Mon, 11 Jul 2011 14:59:30 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e37.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p6BIuPej001108 for ; Mon, 11 Jul 2011 12:56:25 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id p6BIxRVH124716 for ; Mon, 11 Jul 2011 12:59:27 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p6BCwxG7030490 for ; Mon, 11 Jul 2011 06:58:59 -0600 Date: Mon, 11 Jul 2011 13:59:23 -0500 From: Ryan Harper Message-ID: <20110711185923.GQ1024@us.ibm.com> References: <1307430291.28149.126.camel@das-HP-EliteBook-8530w> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307430291.28149.126.camel@das-HP-EliteBook-8530w> Subject: Re: [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dave Seddon Cc: qemu-devel@nongnu.org * Dave Seddon [2011-06-07 02:28]: > Greetings, > > Just wondering if it would be difficult to add the ability to define the > SCSI disk "Device Model", "Serial Number", and "Firmware Version". I've > been using the '-device lsi' successfully to emulate the LSI controller, > but now I want to emulate certain disks too. > > e.g. I've been using this: > --------------------------- > ... > -drive if=none,id=disk00,file=/home/das/documents/qemu/disk00.img.qcow,media=disk,cache=writeback \ > -device lsi \ > -device scsi-disk,drive=disk00,bus=scsi.0 \ > ... > --------------------------- > > > The reason this would be really cool is that tools like smartmontools > seem to match on the "Device Model", and the device-model "QEMU" hasn't > made it into the list yet. > What's the end goal here? Are you really passing an entire disk to the guest and want to have the guest monitor the device? If not, then I suggest just disabling smartmontools since it won't give you meaningful data anyhow. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com