On 03/02/2018 07:27 AM, Dylan Stephano-Shachter wrote:
> I have added a feature to show a VM's first IP address next to the VM state 
> (Running, etc.). This feature can be toggled in the preferences menu and is 
> disabled by default. It uses the qemu-guest agent to query the IP address.
> 
> Dylan Stephano-Shachter (2):
>   show the first ip address of running vms
>   add preferences option to enable 'show first ip'
> 
>  data/org.virt-manager.virt-manager.gschema.xml |  6 ++++++
>  ui/preferences.ui                              | 15 +++++++++++++++
>  virtManager/config.py                          |  8 ++++++++
>  virtManager/domain.py                          | 16 ++++++++++++++++
>  virtManager/engine.py                          |  7 +++++++
>  virtManager/manager.py                         | 19 +++++++++++++++----
>  virtManager/preferences.py                     |  9 +++++++++
>  7 files changed, 76 insertions(+), 4 deletions(-)
> 

Interestingly, this made a machine I have not to be displayed in the
list of domains. The domain is running, qemu-ga is installed and running
and domain has an IP address:


virsh # domifaddr fedora --source agent
 Name       MAC address          Protocol     Address
-------------------------------------------------------------------------------
 lo         00:00:00:00:00:00    ipv4         127.0.0.1/8
 -          -                    ipv6         ::1/128
 ens3       52:54:00:a4:6f:91    ipv4         192.168.122.37/24
 -          -                    ipv6         fe80::ee48:d373:fc65:fce0/64
 virbr0     52:54:00:1f:be:17    ipv4         192.168.124.1/24
 virbr0-nic 52:54:00:1f:be:17    N/A          N/A


Michal

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

Reply via email to