usb-storage: Turn drive serial into a qdev property usb-storage.serial
commitc3a90cb120e3b274eb87e65fbdd15d4328e8685f
authorMarkus Armbruster <armbru@redhat.com>
Fri, 17 Jun 2011 08:52:36 +0000 (17 10:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Jun 2011 15:09:31 +0000 (23 17:09 +0200)
tree0548543c068a0e920b591dab421df9ce849f74c2
parentf3dc0051dcd68b395861b6f1f3d5a900d44bd767
usb-storage: Turn drive serial into a qdev property usb-storage.serial

It needs to be a qdev property, because it belongs to the drive's
guest part.  Precedence: commit a0fef654 and 6ced55a5.

Bonus: info qtree now shows the serial number.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-msd.c