<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#070040" bgcolor="#FFFFFF">
    Thanks Jirka,<br>
    <br>
    --xml parameter worked.<br>
    <br>
    <div class="moz-cite-prefix">On 06-11-2015 12:47, Jiri Denemark
      wrote:<br>
    </div>
    <blockquote cite="mid:20151106094726.GA3632@orkuz.home" type="cite">
      <pre wrap="">On Fri, Nov 06, 2015 at 10:57:58 +0300, Fırat KÜÇÜK wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

I want to live migrate a vm from one host to another host. Bu I got this 
error:

error: internal error: process exited while connecting to monitor: 
2015-11-06T07:53:59.006762Z qemu-system-x86_64: Failed to start VNC 
server on `0.0.0.0:3': Failed to bind socket: Address already in use
</pre>
      </blockquote>
      <pre wrap="">
Did you explicitly ask for this port in the domain XML? What does the
<graphics> element in the domain XML look like? In case you explicitly
asked for port 3 I suggest switching to autoport to avoid similar issues
in the future.

</pre>
      <blockquote type="cite">
        <pre wrap="">The same VNC port is in use at the destination host. Is it possible to 
change port address without rebooting the server?
</pre>
      </blockquote>
      <pre wrap="">
Yes, you can change the port number while migrating:

- "virsh dumpxml --migratable VM > VM.xml"
- edit VM.xml and change the port number
- add "--xml VM.xml" option to you virsh migrate command

Jirka
</pre>
    </blockquote>
    <br>
  </body>
</html>