aboutsummaryrefslogtreecommitdiff
path: root/softmmu
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-06-24 15:10:38 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-07-07 14:54:29 +0200
commit7ab6e7fcce9729d3a85e7e04737bc64a45a08772 (patch)
tree2afcf9df8ed7b8dca696eba4e5b677d516afbf43 /softmmu
parent0f8198f1b2f3c33df2381c412ad8d8fd219b90b2 (diff)
qdev: device module support
Hook module loading into the places where we need it when building devices as modules. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200624131045.14512-4-kraxel@redhat.com
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/vl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 3e15ee2435..5acb65d7f4 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -1772,8 +1772,8 @@ static bool vga_interface_available(VGAInterfaceType t)
assert(t < VGA_TYPE_MAX);
return !ti->class_names[0] ||
- object_class_by_name(ti->class_names[0]) ||
- object_class_by_name(ti->class_names[1]);
+ module_object_class_by_name(ti->class_names[0]) ||
+ module_object_class_by_name(ti->class_names[1]);
}
static const char *