OSDN Git Service

scsi-disk: let the user customize vendor and product name
authorDmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Sat, 7 Jul 2012 05:03:35 +0000 (22:03 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 Jul 2012 15:44:09 +0000 (17:44 +0200)
commit353815aa6d706b1960fbeb75c4fd2bef7b23ed3e
tree3d481de0194e202d93f5c75a5f807bef46c9d133
parent2a025ae454c361fb03aadf88e8a2f678b80b38e6
scsi-disk: let the user customize vendor and product name

This patch adds two new properties vendor and product to SCSI disks.
These options let the user customize the inquiry data returned by the
disk.

Signed-off-by: Yan Vugenfirer <yan@ravellosystems.com>
Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
[ Use vendor and product property names, avoid "if" statements. - PB ]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi-disk.c