scsi: Turn drive serial into a qdev property scsi-disk.serial
commita0fef654f6dec1348a074a17a6b809d0ba77b34e
authorMarkus Armbruster <armbru@redhat.com>
Tue, 1 Jun 2010 18:32:34 +0000 (1 20:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Jun 2010 09:43:39 +0000 (4 11:43 +0200)
treee14ac64b467198aefe20207b72fbe05bf47acea8
parent03432407256b8e39d76c9e6cd39dc553e7b646d8
scsi: Turn drive serial into a qdev property scsi-disk.serial

It needs to be a qdev property, because it belongs to the drive's
guest part.

Bonus: info qtree now shows the serial number.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c