vl: fix "type is NULL" in -vga help
commita99dc9cd611cbaf10edee6260272e299626d0871
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 15 Jul 2024 11:44:20 +0000 (15 15:44 +0400)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 16 Jul 2024 18:04:08 +0000 (16 20:04 +0200)
treeae6326aebd7c9d118e84a9e610da4ccb7635dd22
parent4bba839808bb1c4f500a11462220a687b4d9ab25
vl: fix "type is NULL" in -vga help

Don't pass NULL to module_object_class_by_name(), when the interface is
unavailable.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240715114420.2062870-1-marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
system/vl.c