* Dave Seddon <d...@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 ry...@us.ibm.com