On 18/11/16 11:39, Michal Skrivanek wrote:
> On 16 Nov 2018, at 11:22, Tomasz Barański <tbaransk(a)redhat.com> wrote:
> Hello, wise people!
> As a part of BZ1615830 I want to add information about qemu guest agent
> to engine's DB. I have some trouble figuring out some details.
> 1. VDSM seems to be using QGA, but it does not report any information about
> it. Am I right?
what do you mean to report any information? There are guest agent reported fields which
are either there or not
One such field is appsList which returns the agent itself (well, it’s fake for qemu-ga,
but the agent string is always put there)
Oh, appsList, I didn't look into stats.
Thanks, I guess that's what I was looking for.
> I only found a mention about it in `xml` field in JSON returned by
> `VM.getInfo` (and `Host.getVMFullList`): a `virtio` channel as
> documented in libvirt.
virtio channels are always there for both agents
> 2. How does the engine puts data into `vm_dynamic` table? I can't find any
> usage for `InsertVmDynamic` procedure.
How is app_list used to fill in fields like `vnc_port` or `cpu_name`?
> > 3. Also, it's not clear to me how (whether?) the engine consumes output of
> > VM.getInfo/Host.getVMFullList.
> it does not in 4.2+ clusters, see FullListAdapter::getVmFullList()
> > Any pointers to relevant code appreciated.
> > Tomo
> >  https://bugzilla.redhat.com/show_bug.cgi?id=1615830
> > _______________________________________________
> > Devel mailing list -- devel(a)ovirt.org
> > To unsubscribe send an email to devel-leave(a)ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> > List Archives: