<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    hi, Romani<br>
    <br>
    <br>
    Thank for your help.<br>
    <br>
    &gt; Does this happen consistently or just sporadically? Which
    version of packages are you using?<br>
    <br>
    This issue happen consistently.<br>
    <br>
    VDSM Packages:<br>
    vdsm-xmlrpc-4.16.36-1.el6ev.noarch<br>
    vdsm-python-4.16.36-1.el6ev.noarch<br>
    vdsm-jsonrpc-4.16.36-1.el6ev.noarch<br>
    vdsm-python-zombiereaper-4.16.36-1.el6ev.noarch<br>
    vdsm-yajsonrpc-4.16.36-1.el6ev.noarch<br>
    vdsm-cli-4.16.36-1.el6ev.noarch<br>
    vdsm-4.16.36-1.el6ev.x86_64<br>
    <br>
    <br>
    <br>
    Regards<br>
    kenn<br>
    <br>
    <br>
    <div class="moz-cite-prefix">在 2016年03月25日 15:48, Francesco Romani
      写道:<br>
    </div>
    <blockquote
      cite="mid:435975980.25149658.1458892135972.JavaMail.zimbra@redhat.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div><br>
        </div>
        <hr id="zwchr">
        <blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
          </b>"zhangjian" <a class="moz-txt-link-rfc2396E" href="mailto:zhangjian2011@cn.fujitsu.com">&lt;zhangjian2011@cn.fujitsu.com&gt;</a><br>
          <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a><br>
          <b>Sent: </b>Friday, March 25, 2016 5:13:28 AM<br>
          <b>Subject: </b>[ovirt-users]  How to connect a VM with a
          port = -1<br>
          <div><br>
          </div>
          Hi guys,<br>
          <br>
          <br>
          I created a VM in ovirt, and I found it a port = -1, How can I
          connect to it using like remote-viewer.<br>
          <br>
          --------------<br>
          console.vv<br>
          <br>
          [virt-viewer]<br>
          type=spice<br>
          host=XXX.XXX.XXX.XXX<br>
          port=-1<br>
          password=J4xu1swd59A5<br>
          # Password is valid for 120 seconds.<br>
          delete-this-file=1<br>
          fullscreen=0<br>
          title=test:%d<br>
          toggle-fullscreen=shift+f11<br>
          ...<br>
          ...<br>
          ...<br>
          --------------<br>
          <br>
          I usually use the following command to connect to my VM when
          it has a positive value。<br>
          remote-viewer <a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="spice://XXX.XXX.XXX.XXX:590X" target="_blank">spice://XXX.XXX.XXX.XXX:590X</a></blockquote>
        <div><br>
        </div>
        <div>Hi,<br>
        </div>
        <div><br>
        </div>
        <div>-1 is what Engine sends to trigger auto allocation of spice
          ports from libvirt on the virtualization Host.<br>
        </div>
        <div>Once the VM is booted, Vdsm should report the port
          allocated by libvirt to Engine.<br>
        </div>
        <div><br>
        </div>
        <div>Does this happen consistently or just sporadically? Which
          version of packages are you using?<br>
        </div>
        <div><br>
          <br>
        </div>
        <div>Bests,<br>
        </div>
        <div><br>
        </div>
        <div>-- <br>
        </div>
        <div><span name="x"></span>Francesco Romani<br>
          RedHat Engineering Virtualization R &amp; D<br>
          Phone: 8261328<br>
          IRC: fromani<span name="x"></span><br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>