]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: vnc: error out for invalid port number
authorPavel Hrdina <phrdina@redhat.com>
Tue, 12 May 2015 16:18:14 +0000 (18:18 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 13 May 2015 08:24:36 +0000 (10:24 +0200)
commitafaffeb873c69912ba6443e5638abd057f00f1cc
tree8fdb81b63116531543b2c8d49c83fa713d381318
parentabac12b5859f3fb9ece58357c9dd968724e5173c
qemu: vnc: error out for invalid port number

In the XML we have the vnc port number, but QEMU takes on command line
a vnc screen number, it's port-5900.  We should fail with error message
that only ports in range [5900,65535] are valid.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1164966

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_command.c