Skip to content

Use virsh nwfilter-define to reload filters#16

Merged
bborbe merged 4 commits intobborbe:masterfrom
trading-for-ben:fix/nwfilter-virsh-reload
Feb 22, 2026
Merged

Use virsh nwfilter-define to reload filters#16
bborbe merged 4 commits intobborbe:masterfrom
trading-for-ben:fix/nwfilter-virsh-reload

Conversation

@trading-for-ben
Copy link
Copy Markdown
Contributor

Fix perpetual diffs on nwfilter XML files.

Problem: libvirt adds UUID/comments/reorders attributes when it loads filters, causing BW to see diffs even though the filters are functionally identical.

Solution: Trigger virsh nwfilter-define when the source template changes. This lets libvirt format the on-disk XML however it wants.

After this PR merges, bw apply hm.nuke will be clean - no more nwfilter prompts.

trading-for-ben and others added 4 commits February 22, 2026 17:42
When nwfilter XML files change, trigger virsh nwfilter-define to reload them.
This avoids perpetual diffs caused by libvirt adding UUID/comments to the files.
@bborbe bborbe merged commit 0603572 into bborbe:master Feb 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants