diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-08 13:11:33 +0100 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:40 -0600 |
| commit | 458fb6792d834474c6b289738b6bf9601fad87ab (patch) | |
| tree | 52267a01f5e1349ff53f0ce514efbdd0263b0c7f /hw/qdev.c | |
| parent | 4d6e3ac5d411c461d0fb4b1cd2ace854963c9e30 (diff) | |
| download | focaccia-qemu-458fb6792d834474c6b289738b6bf9601fad87ab.tar.gz focaccia-qemu-458fb6792d834474c6b289738b6bf9601fad87ab.zip | |
qdev: make compat stuff more generic
This patch renames the compat properties into global properties and makes them more generic. The compatibility stuff is only one of multiple possible users now. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
| -rw-r--r-- | hw/qdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.c b/hw/qdev.c index 13c9fe236a..b6bd4aeabd 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -103,7 +103,7 @@ DeviceState *qdev_create(BusState *bus, const char *name) dev->parent_bus = bus; qdev_prop_set_defaults(dev, dev->info->props); qdev_prop_set_defaults(dev, dev->parent_bus->info->props); - qdev_prop_set_compat(dev); + qdev_prop_set_globals(dev); QLIST_INSERT_HEAD(&bus->children, dev, sibling); if (qdev_hotplug) { assert(bus->allow_hotplug); |