diff options
author | Kevin Wolf | 2013-04-03 12:41:46 +0200 |
---|---|---|
committer | Kevin Wolf | 2013-04-05 18:58:05 +0200 |
commit | 76534da749ceb3b4c13ec09b173bcf6d6c2e36d4 (patch) | |
tree | a3bb27ce98ab5356b05eca7a6960093468763840 /include/block/block_int.h | |
parent | Allow clock_gettime() monotonic clock to be utilized on more OS's (diff) | |
download | qemu-76534da749ceb3b4c13ec09b173bcf6d6c2e36d4.tar.gz qemu-76534da749ceb3b4c13ec09b173bcf6d6c2e36d4.tar.xz qemu-76534da749ceb3b4c13ec09b173bcf6d6c2e36d4.zip |
usb-storage: Forward serial number to scsi-disk
usb-storage takes care to fetch the USB serial number from -drive
options, but it neglected to pass its own 'serial' property to the
scsi-disk it creates. With this patch, the 'serial' qdev property and
the 'serial' option in -drive behave the same and correctly apply the
serial number on both USB and SCSI level.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
0 files changed, 0 insertions, 0 deletions