<div dir="ltr"><div><div><div><div><div>I made this discussion a private one by mistake, so it's time for some storytelling:<br><br></div><b>Christophe Fergeau wrote:</b><br>> <span class="gmail-im"></span>For what it's worth, this patch series<br>
<a target="_blank" rel="noreferrer" href="https://www.redhat.com/archives/libvir-list/2016-March/msg00993.html">https://www.redhat.com/archives/libvir-list/2016-March/msg00993.html</a><br>
would have allowed not to have to implement this both for VNC and SPICE.<br>
Not sure why it did not land so far, I'll have to read back the old<br>
thread/check with Fidencio.<br><br></div><b>>I wrote: </b><br> The host setter for SPICE from the patch list isn't working. If the
 machine is running and the host is already set, you get this error:<br><div> "Failed
 to set domain configuration: XML error: graphics listen attribute 
127.0.0.1 must match address attribute of first listen element (found 
0.0.0.0)"<br></div>You either have to set both addresses at the 
same time (what I did in my patch) or maybe remove the <listen 
type="address"> child, but I haven't tried.<br><br>Actually, you can get the same error on VNC as well, so both setters from the list aren't good. :(<br><br></div><b>>Cristophe Fergeau wrote:</b><br>Ah right, I remember these checks being added in libvirt. If you only<br>
set a <listen addr> node when there is no listen="xx" attribute, do you<br>
know if a listen="xx" attribute is automatically added?<br>
<br>
I expect that if the XML has both attributes, changing only the <listen<br>
addr> node and not the listen="xx" attribute is going to cause the same<br>
error?<br><br></div><b>>I wrote:</b><br><div>Yes and yes.<br>Changing only the <listen addr> node when the listen attribute is present causes the same error.<br><br>When setting the  <listen addr> node, if there is no listen attribute, the listen attribute is automatically added.<br></div>Should I try to do this ?<br><br><br><br><br></div><div>Sorry for the mistake and let's continue finding a solution ! :)<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 18, 2016 at 6:37 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<span class=""><br>
On Mon, Jul 18, 2016 at 04:36:40PM +0300, Visarion Alexandru wrote:<br>
> Learn to set the address that vnc is listening on.<br>
<br>
</span>For what it's worth, this patch series<br>
<a href="https://www.redhat.com/archives/libvir-list/2016-March/msg00993.html" rel="noreferrer" target="_blank">https://www.redhat.com/archives/libvir-list/2016-March/msg00993.html</a><br>
would have allowed not to have to implement this both for VNC and SPICE.<br>
Not sure why it did not land so far, I'll have to read back the old<br>
thread/check with Fidencio.<br>
<span class="HOEnZb"><font color="#888888"><br>
Christophe<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Visarion-Mingopol Alexandru-Viorel<div><div>Telefon : 0729614060</div></div><div>Best Bucuresti</div></div></div></div></div>
</div>