-
由 Chris Lalancette 提交于
Per subject; if autoport is in use for a host, the current virDomainGraphicsDefFormat code always emits "port=-1", even if a port is assigned to the host; this leaves no way for a client to find the VNC port assigned to the host in question. This patches fixes it by putting the vncport in place if there is one, and only putting "-1" if we fail that test.
6f17fb28