diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-06-24 15:10:38 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-07 14:54:29 +0200 |
commit | 7ab6e7fcce9729d3a85e7e04737bc64a45a08772 (patch) | |
tree | 2afcf9df8ed7b8dca696eba4e5b677d516afbf43 /softmmu/vl.c | |
parent | 0f8198f1b2f3c33df2381c412ad8d8fd219b90b2 (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/vl.c')
-rw-r--r-- | softmmu/vl.c | 4 |
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 * |