diff options
author | Chao Peng <chao.p.peng@linux.intel.com> | 2016-06-16 09:59:10 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-06-17 10:42:21 -0300 |
commit | a663fbd9e2f65fae81018d81f231ad79510cf9fb (patch) | |
tree | 5e6377cc87b796e3aad8a1fcecb41fbae166eee1 /target-sh4/cpu-qom.h | |
parent | f9a8b5530d438f836f9697639814f585aaec554d (diff) | |
download | qemu-a663fbd9e2f65fae81018d81f231ad79510cf9fb.zip qemu-a663fbd9e2f65fae81018d81f231ad79510cf9fb.tar.gz qemu-a663fbd9e2f65fae81018d81f231ad79510cf9fb.tar.bz2 |
vnc: Wrap vnc initialization code with CONFIG_VNC
commit f8c75b2486 (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: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-sh4/cpu-qom.h')
0 files changed, 0 insertions, 0 deletions