commit | ccb63de38e63bd8cdcd3db7aeaebc8a34a02ded8 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Jul 15 13:43:34 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Jul 16 17:28:53 2009 -0500 |
tree | 58e9685597139fe064b1a20f39bdb81f4d0915bc | |
parent | 96cc181089a532f9f4e6cf6858daf1f04d06cfc5 [diff] |
qdev: add user-specified identifier to devices. Add id field to DeviceState. Make "info qtree" print it. This helps users and management apps identifying devices in monitor output, which is especially useful with otherwise identical devices such as two virtio disks. This patch doesn't add a way to set the id, followup patches will do. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>