Commit ccb63de3 authored by Committed by Anthony LiguoriBrowse files
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 <email@example.com> Signed-off-by: Anthony Liguori <firstname.lastname@example.org>