I’m having issues trying to use virsh to edit configurations. It seems like no matter what change I make, I get the following error:
error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng
Error validating value
Extra element os in interleave
Element domain failed to validate content
This happens even if I do something like:
sudo virsh edit qube
- Change vcpu value to 1 less than it was before
:wq
I’m able to get the above to persist into the next sudo virsh edit qube
by using i
to turn off validation after getting the error, but then get the same error when changing it back to the previous value, implying that an unmodified config doesn’t even pass validation.
While some changes persist when using i
to turn off validation, others don’t, like adding permissive='yes'
to a hostdev
. I’m aware that this specific example can be done with qvm-pci attach -o permissive=True
, it’s just the only one I’ve specifically noticed not persisting so far.