diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-06-20 11:35:18 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-07-05 11:23:29 +0200 |
commit | a8686a9b2b347d0619141e950221c4d6d0311d0b (patch) | |
tree | 0e41513d813d57577210b5e10518ffab250156ee /hw/s390-virtio-bus.h | |
parent | 343f85685ce3f9613c13e4d0f884698194b6a4f6 (diff) |
virtio-blk: Turn drive serial into a qdev property
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: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/s390-virtio-bus.h')
-rw-r--r-- | hw/s390-virtio-bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390-virtio-bus.h b/hw/s390-virtio-bus.h index 0c412d08e1..f1bece738b 100644 --- a/hw/s390-virtio-bus.h +++ b/hw/s390-virtio-bus.h @@ -42,6 +42,7 @@ typedef struct VirtIOS390Device { uint8_t feat_len; VirtIODevice *vdev; BlockConf block; + char *block_serial; NICConf nic; uint32_t host_features; virtio_serial_conf serial; |