Re: [PATCH] conf: use const virDomainDef pointers

2025-04-11 Thread Michal Prívozník via Devel
On 4/10/25 16:48, Roman Bogorodskiy wrote: > Some virDomainNet* functions use virDomainDef pointers even though they > don't modify the domain config, so switch to const pointers there. > > This also allows to use the const pointer again in > bhyveBuildNetArgStr() after it was changed in e1e40b503

[PATCH] conf: use const virDomainDef pointers

2025-04-10 Thread Roman Bogorodskiy
Some virDomainNet* functions use virDomainDef pointers even though they don't modify the domain config, so switch to const pointers there. This also allows to use the const pointer again in bhyveBuildNetArgStr() after it was changed in e1e40b5035. Signed-off-by: Roman Bogorodskiy --- src/bhyve/