[virt-tools-list] [PATCH 0/2] Show IP address in virt-manager

Dylan Stephano-Shachter dstephanoshachter at gmail.com
Fri Mar 2 14:58:37 UTC 2018


That is interesting. Could you possibly run virt-manager with --debug and
send me any stacktraces you see?

On Mar 2, 2018 7:55 AM, "Michal Privoznik" <mprivozn at redhat.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20180302/49314394/attachment.htm>


More information about the virt-tools-list mailing list