qdev: remove baked in notion of aliases (v2)
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 22 Dec 2011 17:05:00 +0000 (11:05 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 Feb 2012 16:41:07 +0000 (10:41 -0600)
commit6acbe4c6f18e7de00481ff30574262b58526de45
treec3d9c37baaa10d2b0d14973e6cfa452914129bd7
parentd307af795d9fb25680339288a10c9e297e102826
qdev: remove baked in notion of aliases (v2)

Limit them to the device_add functionality.  Device aliases were a hack based
on the fact that virtio was modeled the wrong way.  The mechanism for aliasing
is very limited in that only one alias can exist for any device.

We have to support it for the purposes of compatibility but we only need to
support it in device_add so restrict it to that piece of code.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
v1 -> v2
 - Use a table for aliases (Paolo)
hw/ide/ich.c
hw/lsi53c895a.c
hw/qdev.c
hw/qdev.h
hw/s390-virtio-bus.c
hw/virtio-pci.c