From: Ryan Harper <ryanh@us.ibm.com>
To: Dave Seddon <dave@seddon.ca>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"?
Date: Mon, 11 Jul 2011 13:59:23 -0500 [thread overview]
Message-ID: <20110711185923.GQ1024@us.ibm.com> (raw)
In-Reply-To: <1307430291.28149.126.camel@das-HP-EliteBook-8530w>
* Dave Seddon <dave@seddon.ca> [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
prev parent reply other threads:[~2011-07-11 18:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-07 7:04 [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"? Dave Seddon
2011-06-07 7:35 ` Paolo Bonzini
2011-06-07 8:11 ` Kevin Wolf
2011-06-07 9:02 ` Paolo Bonzini
2011-06-07 8:14 ` Markus Armbruster
2011-06-07 23:26 ` Dave Seddon
2011-06-08 6:29 ` Markus Armbruster
2011-07-11 18:59 ` Ryan Harper [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110711185923.GQ1024@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=dave@seddon.ca \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).