From: Gerd Hoffmann Subject: vnc port selection Date: Thu, 21 Aug 2008 18:37:35 +0200 Message-ID: <48AD99CF.6070004@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: qemu-devel@nongnu.org Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org Hi folks, Xen's qemu-dm version has a '-vncunused' command line switch which asks the internal vnc server to pick any unused tcp port to listen on. The actual port is communicated to the outside world via xenstore. I'm looking for a reasonable way to implement that functionality in upstream qemu. First, I think it shouldn't be a separate command line switch but an option for the existion -vnc switch. Second, we need a way to communicate the port picked which isn't xen-specific. Obvious choice is a monitor info subcommand. Comments? Other suggestions? cheers, Gerd -- http://kraxel.fedorapeople.org/xenner/