runqemu: don't specify IP when starting a VNC server

Whilst qemu doesn't appear to support opening sockets on IPv6 yet, future-proof
the script by just specifying a port and letting qemu work out the rest.

(From OE-Core rev: abf8975bce4bf5d05dbb186d5089f0c3fe07eefb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2015-11-05 17:13:22 +00:00 committed by Richard Purdie
parent 3b95964bc1
commit 11a9c24d6c
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ while true; do
SLIRP_ENABLED="yes" SLIRP_ENABLED="yes"
;; ;;
"publicvnc") "publicvnc")
SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -vnc 0.0.0.0:0" SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -vnc :0"
;; ;;
*-image*) *-image*)
[ -z "$ROOTFS" ] || \ [ -z "$ROOTFS" ] || \