On 01/30/2012 10:08 PM, Anthony Liguori wrote:
+/*
+ * Aliases were a bad idea from the start. Let's keep them
+ * from spreading further.
+ */
+static const char *qdev_class_get_alias(DeviceClass *dc)
+{
+const char *typename = object_class_get_name(OBJECT_CLASS(dc));
+
+if (strcmp(type
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