
------=_Part_25149657_1736335356.1458892135971 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ----- Original Message -----
From: "zhangjian" <zhangjian2011@cn.fujitsu.com> To: users@ovirt.org Sent: Friday, March 25, 2016 5:13:28 AM Subject: [ovirt-users] How to connect a VM with a port =3D -1
Hi guys,
I created a VM in ovirt, and I found it a port =3D -1, How can I connect = to it using like remote-viewer.
-------------- console.vv
[virt-viewer] type=3Dspice host=3DXXX.XXX.XXX.XXX port=3D-1 password=3DJ4xu1swd59A5 # Password is valid for 120 seconds. delete-this-file=3D1 fullscreen=3D0 title=3Dtest:%d toggle-fullscreen=3Dshift+f11 ... ... ... --------------
I usually use the following command to connect to my VM when it has a positive value=E3=80=82 remote-viewer spice://XXX.XXX.XXX.XXX:590X Hi,=20
-1 is what Engine sends to trigger auto allocation of spice ports from libv= irt on the virtualization Host.=20 Once the VM is booted, Vdsm should report the port allocated by libvirt to = Engine.=20 Does this happen consistently or just sporadically? Which version of packag= es are you using?=20 Bests,=20 --=20 Francesco Romani=20 RedHat Engineering Virtualization R & D=20 Phone: 8261328=20 IRC: fromani=20 ------=_Part_25149657_1736335356.1458892135971 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div><br></div><hr id=3D"zwchr"><bloc= kquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:= 5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;fo= nt-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"zhangji= an" <zhangjian2011@cn.fujitsu.com><br><b>To: </b>users@ovirt.org<br><= b>Sent: </b>Friday, March 25, 2016 5:13:28 AM<br><b>Subject: </b>[ovirt-use= rs] How to connect a VM with a port =3D -1<br><div><br></div> =20 =20 =20 =20 Hi guys,<br><br><br> I created a VM in ovirt, and I found it a port =3D -1, How can I connect to it using like remote-viewer.<br><br> --------------<br> console.vv<br><br> [virt-viewer]<br> type=3Dspice<br> host=3DXXX.XXX.XXX.XXX<br> port=3D-1<br> password=3DJ4xu1swd59A5<br> # Password is valid for 120 seconds.<br> delete-this-file=3D1<br> fullscreen=3D0<br> title=3Dtest:%d<br> toggle-fullscreen=3Dshift+f11<br> ...<br> ...<br> ...<br> --------------<br><br> I usually use the following command to connect to my VM when it has a =20 positive value=E3=80=82<br> remote-viewer <a class=3D"moz-txt-link-freetext" href=3D"spice://XXX.XX= X.XXX.XXX:590X" target=3D"_blank">spice://XXX.XXX.XXX.XXX:590X</a></blockqu= ote><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 virtual= ization Host.<br></div><div>Once the VM is booted, Vdsm should report the p= ort 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><di= v>-- <br></div><div><span name=3D"x"></span>Francesco Romani<br>RedHat Engi= neering Virtualization R & D<br>Phone: 8261328<br>IRC: fromani<span nam= e=3D"x"></span><br></div></div></body></html> ------=_Part_25149657_1736335356.1458892135971--