qemu-devel
[Top][All Lists]
Advanced

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

Re: RFC: extending QGA guest-network-get-interfaces


From: Michal Prívozník
Subject: Re: RFC: extending QGA guest-network-get-interfaces
Date: Wed, 24 Nov 2021 16:15:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

On 11/24/21 15:00, Marc-André Lureau wrote:
> Hi
> 
> Or Shoval filed two RFE for guest-network-get-interfaces:
> - "Guest agent should report the interface Permanent address"
> https://bugzilla.redhat.com/show_bug.cgi?id=2025303
> <https://bugzilla.redhat.com/show_bug.cgi?id=2025303>

As I've replied in the BZ, this is something that Libvirt can improve
on. What happens when guest changes a MAC address is that
NIC_RX_FILTER_CHANGED event is emitted and libvirt processes it (mostly
to update guest XML, but not limited only to that). But, Libvirt does
not forward this event further to users. Therefore, if a mgmt app on the
top of Libvirt wants to keep track of MAC addresses, it can't do that
simply.

> - "Guest agent should report interfaces from non root network
> namespaces"  https://bugzilla.redhat.com/show_bug.cgi?id=2025296
> <https://bugzilla.redhat.com/show_bug.cgi?id=2025296>

This is a bit tricky to achieve. There's no easy way to list all nsids
(they don't form a hierarchy like other NSs). We could traverse all
mount points (be aware of mount namespaces), all PIDs (be aware of PID
namespaces) and hope we covered all net NSs (a net namespace can have no
nsid).

IOW, network NSs behave different to other namespaces.

Michal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]