qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "


From: Ryan Harper
Subject: Re: [Qemu-devel] qemu - SCSI disk "Device Model", "Serial Number", and "Firmware Version"?
Date: Mon, 11 Jul 2011 13:59:23 -0500
User-agent: Mutt/1.5.6+20040907i

* Dave Seddon <address@hidden> [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
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]