Re: Question about the Gsettings and dconf and Design document.

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

 



On 11/16/2015 02:17 PM, Avaneendra Alugupalli wrote:
> hi
>  I am trying to understand the code for virt-manager and found that during the
> config object create, gets the connections / uris using the Gsettings API. and
> these are the entries in dconf database.
> 
> forchild inself._settings.list_children():
> childschema =self._root +"."+child
> self._settingsmap[child] =Gio.Settings.new(childschema)
> 
> 
> returns connections/uris as "qemu:///system" and "lxc:///". From the 
> 
> I can see that data
> <https://github.com/virt-manager/virt-manager/tree/master/data>/org.virt-manager.virt-manager.gschema.xml
> makes 
> default entry for these fields. How ever am unable to track who is updating 
> the connections/uris to "qemu:///system" and "lxc:///" strings.

The functions that add/remove/list the URIs in config.py are add_conn,
remove_conn, list_conn_uris respectively. They are called from engine.py

> Also is there any architecture/ design document to understand the code at very
> higher
> level?.

No unfortunately :/

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux