]> git.proxmox.com Git - mirror_qemu.git/commit
qdev: provide an interface to return canonical path from root (v2)
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 20:29:29 +0000 (14:29 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 15 Dec 2011 15:20:47 +0000 (09:20 -0600)
commitf9fbd2fd0e1ffe666487a072226dd87753db66f9
tree11acf2119ba02c5cbad1f02e28d57754835ffa49
parenta10f07a7d0827eeef920c16b500b50030b7ff651
qdev: provide an interface to return canonical path from root (v2)

The canonical path is the path in the composition tree from the root to the
device.  This is effectively the name of the device.

This is an incredibly unefficient implementation that will be optimized in
a future patch.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c
hw/qdev.h