Commit ccb63de3 authored by Committed by Anthony Liguori
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 <firstname.lastname@example.org> Signed-off-by: Anthony Liguori <email@example.com>
Showing with 5 additions and 2 deletions