From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: VNC server for KVM VM Date: Fri, 14 Aug 2009 17:12:49 -0500 Message-ID: <4A85E161.2010009@codemonkey.ws> References: <20090814205839.GA32226@defiant.freesoftware.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: dbareiro@gmx.net, KVM General Return-path: Received: from mail-qy0-f196.google.com ([209.85.221.196]:56512 "EHLO mail-qy0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755235AbZHNWMv (ORCPT ); Fri, 14 Aug 2009 18:12:51 -0400 Received: by qyk34 with SMTP id 34so1390972qyk.33 for ; Fri, 14 Aug 2009 15:12:52 -0700 (PDT) In-Reply-To: <20090814205839.GA32226@defiant.freesoftware.org> Sender: kvm-owner@vger.kernel.org List-ID: Daniel Bareiro wrote: > Hi all! > > I'm using the following syntax to launch a VM: > > $KVM -hda ${DISK_PATH}/aprender00-raiz -hdb ${DISK_PATH}/aprender00-space \ > -m 3584 -boot c -smp 4 -net nic,vlan=0,macaddr=00:16:3e:00:00:61,model=virtio \ > -net tap -daemonize -vnc :3 -k es -localtime -monitor \ > telnet:localhost:4003,server,nowait -serial telnet:localhost:4043,server,nowait > > > But when I doing a shutdown logged on the VM, apparently the port > associated to VNC server remains active when trying boot it again: > > inet_listen: bind(ipv4,0.0.0.0,5903): Address already in use > inet_listen: FAILED > I expect the qemu process enver expected. Regards, Anthony Liguori