Re: [PATCH] Ignore listen attribute of <graphics> for type network listens

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Laine Stump" <laine@xxxxxxxxx>
> To: libvir-list@xxxxxxxxxx
> Cc: "Francesco Romani" <fromani@xxxxxxxxxx>, "Ján Tomko" <jtomko@xxxxxxxxxx>
> Sent: Thursday, February 26, 2015 4:28:13 PM
> Subject: Re:  [PATCH] Ignore listen attribute of <graphics> for type network listens
> 
> On 02/26/2015 10:11 AM, Francesco Romani wrote:
> > Hi,

[...]
> > When we connect to display through oVirt, before to fire up we set up the
> > password through virDomainUpdateDeviceFlags. This fails for me on libvirt
> > 1.2.13
> > from master with Commit 6992994
> >
> > Let me summarize the flow:
> >
> > we create and feed createXML with:
> >
> >                 <graphics autoport="yes" keymap="en-us" passwd="*****"
> >                 passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
> >                 type="spice">
> >                         <channel mode="secure" name="main"/>
> >                         <channel mode="secure" name="inputs"/>
> >                         <channel mode="secure" name="cursor"/>
> >                         <channel mode="secure" name="playback"/>
> >                         <channel mode="secure" name="record"/>
> >                         <channel mode="secure" name="display"/>
> >                         <channel mode="secure" name="usbredir"/>
> >                         <channel mode="secure" name="smartcard"/>
> >                         <listen network="vdsm-ovirtmgmt" type="network"/>
> >                 </graphics>
> >
> > we get back using domainGetXmlDesc:
> 
> This is where the error is caused - you need to add the inactive flag to
> this call

Sorry, I forgot to point out that oVirt uses transient domains, so to use the
inactive flag is surprising to me. I'm not sure that will work for us.
I need to check the docs and play with it for a bit.

Thanks,

-- 
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]