From 6acbe4c6f18e7de00481ff30574262b58526de45 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 22 Dec 2011 11:05:00 -0600 Subject: 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 --- v1 -> v2 - Use a table for aliases (Paolo) --- hw/qdev.h | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/qdev.h') diff --git a/hw/qdev.h b/hw/qdev.h index b56747e773..102c5fa4fc 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -78,7 +78,6 @@ typedef struct DeviceClass { ObjectClass parent_class; const char *fw_name; - const char *alias; const char *desc; Property *props; int no_user; -- cgit 1.4.1