[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: [Question] Should libvirt update live xml accordingly when guest mac is changed?
From:       Michal Prívozník <mprivozn () redhat ! com>
Date:       2022-09-26 14:24:41
Message-ID: 51ee0163-101a-b133-b3be-8de86d7d59ac () redhat ! com
[Download RAW message or body]

On 8/30/22 05:22, Fangge Jin wrote:
> Hi
> 
> I met an issue when testing trustGuestRxFilters:
> Attach a macvtap interface with trustGuestRxFilters='yes' to vm, then
> change interface mac address in vm.
> Should libvirt update interface mac in live vm xml accordingly? If not,
> vm network will be broken after
> managedsaving and restoring vm.
> 
> BR,
> Fangge Jin

The MAC is updated accordingly. It's just that it does not survive
save+restore (and thus possibly migration). This is a bug in libvirt,
please file one. What we could do is just before resuming vCPUs, we
could query-rx-filters for those <interface/>s where trustGuestRxFilters
is enabled and change MAC, just like we do when NIC_RX_FILTER_CHANGED
event is delivered.

Michal

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic