]> xenbits.xensource.com Git - libvirt.git/commit
graphics: Cleanup port policy
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 12 Mar 2012 15:50:39 +0000 (16:50 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Mar 2012 08:48:25 +0000 (09:48 +0100)
commit2e4defdca795ad5825b57e345bddf714506d6038
treeed7893e703125f344d4a982f1f1bfd131433a4aa
parent19c7980ee6ca94308313b440fd39f308b4ae844e
graphics: Cleanup port policy

Even though we say in documentation setting (tls-)port to -1 is legacy
compat style for enabling autoport, we're roughly doing this for VNC.
However, in case of SPICE auto enable autoport iff both port & tlsPort
are equal -1 as documentation says autoport plays with both.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_process.c