[Pkg-libvirt-maintainers] Bug#1075718: Subject: Re: Bug#1075718: libvirt-clients: virsh domif-setlink fails to update state
Robert
rlx-deb4ogy at sethdepot.org
Sat Aug 3 15:00:59 BST 2024
Hi,
I encountered the same bug, just that also the first invocation failed.
So I could not bring up the network at all.
I found the following workaround, in case anybody else also struggles
with this:
- Execute command with argument "--print-xml", e.g.
virsh domif-setlink ViRogue up --print-xml > domif-up.xml
- Edit domif-up.xml and fix double "state" tags in "link" entry
- Apply XML to running VM, e.g.
virsh update-device ViRogue domif-up.xml --live
Thank you!
More information about the Pkg-libvirt-maintainers
mailing list