ide: Turn drive serial into a qdev property ide-drive.serial
commit6ced55a57d7f6e647d683b5c41df0c176594f824
authorMarkus Armbruster <armbru@redhat.com>
Tue, 1 Jun 2010 18:32:32 +0000 (1 20:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Jun 2010 09:43:39 +0000 (4 11:43 +0200)
tree01eb5a4c7fcba7e64be32565b90942e176430d57
parentd21357df9a2a6b7e6bb2f579d04877f3bd65c557
ide: Turn drive serial into a qdev property ide-drive.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/ide/core.c
hw/ide/internal.h
hw/ide/qdev.c