-
由 Chao Peng 提交于
commit f8c75b24 (vnc: Initialization stubs) removed CONFIG_VNC in vl.c code. However qemu_find_opts("vnc") is NULL when vnc is configured out. Crash will happen in qemu_opts_foreach() before stub vnc_init_func() is called. This patch add it back. Cc: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: NEduardo Habkost <ehabkost@redhat.com> Signed-off-by: NChao Peng <chao.p.peng@linux.intel.com> Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
a663fbd9