summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-08 13:11:33 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:40 -0600
commit458fb6792d834474c6b289738b6bf9601fad87ab (patch)
tree52267a01f5e1349ff53f0ce514efbdd0263b0c7f /vl.c
parent4d6e3ac5d411c461d0fb4b1cd2ace854963c9e30 (diff)
downloadqemu-458fb6792d834474c6b289738b6bf9601fad87ab.tar.gz
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 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 09a0ec5cb1..a242a11c44 100644
--- a/vl.c
+++ b/vl.c
@@ -5779,7 +5779,7 @@ int main(int argc, char **argv, char **envp)
}
if (machine->compat_props) {
- qdev_prop_register_compat(machine->compat_props);
+ qdev_prop_register_global_list(machine->compat_props);
}
machine->init(ram_size, boot_devices,
kernel_filename, kernel_cmdline, initrd_filename, cpu_model);