On Fri, 16 Nov 2018 at 17:09, Michal Skrivanek <[email protected]>
wrote:

>
>
> > On 16 Nov 2018, at 13:21, Tomasz Baranski <[email protected]> wrote:
> >
> > On 18/11/16 11:39, Michal Skrivanek wrote:
> >>
> >>
> >>> On 16 Nov 2018, at 11:22, Tomasz Barański <[email protected]> wrote:
> >>>
> >>> Hello, wise people!
> >>>
> >>> As a part of BZ1615830[1] 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.
> >>
> >> app_list
> >
> > ??
> > How is app_list used to fill in fields like `vnc_port` or `cpu_name`?
>
> oh sorry, I though you still talk about the guest agent info only
> VmDynamic::updateRuntimeData()
>
>
Look at VmsMonitoring::flush() method. The VmDynamic, VmStatistics and
other fields are stored to the DB there.


> >
> >>
> >>>
> >>> 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()
> >>
> >> HTH,
> >> michal
> >>
> >>> Any pointers to relevant code appreciated.
> >>>
> >>>
> >>> Tomo
> >>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1615830
> >>> _______________________________________________
> >>> Devel mailing list -- [email protected]
> >>> To unsubscribe send an email to [email protected]
> >>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> >>> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> >>> List Archives:
> https://lists.ovirt.org/archives/list/[email protected]/message/DASVREOUEKMRWGQ4IBGHFSBTF2XMBF3C/
> >>
> _______________________________________________
> Devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/[email protected]/message/LSX5JCRZ6FR7EXABX32XWWSYOY25XWX3/
>
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/GWO7LQ2FAKTIYKXOYMFSPDE7EQIWT2B4/

Reply via email to