]> git.proxmox.com Git - mirror_qemu.git/commit - qmp.c
vnc: auto assian an id when calling change vnc qmp interface
authorGonglei <arei.gonglei@huawei.com>
Thu, 5 Feb 2015 09:43:35 +0000 (17:43 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Feb 2015 07:47:59 +0000 (08:47 +0100)
commitf7801c5ce42250bf1e84d21bceb1802cfe4485e8
tree23882625034553fd23aa0dd5efc019d6f5f95460
parent2779672fa3f0680e63ecfd3ee2d6ff360ce948a2
vnc: auto assian an id when calling change vnc qmp interface

Only in this way, change vnc qmp interface can take effect,
because qemu_opts_find(&qemu_vnc_opts, id) will return NULL
in vnc_display_open(), It can't connect successfully vnc
server forever.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qmp.c