[PATCH 0/4] libvirt_recover_xattrs: Improve usability for libvirt development

Peter Krempa pkrempa at redhat.com
Wed Dec 2 10:43:07 UTC 2020


I run into scenarios where I forget to destroy a VM which has a new WIP
qemu capability. Starting a libvirtd which doesn't support it yet makes
the libvirt vanish, thus after manually killing it libvirtd doesn't
clear the xattrs, making it impossible to start the VM.

libvirt_recover_xattrs fixes this, but is unusable unless you want to
turn off all VMs.

Peter Krempa (4):
  libvirt_recover_xattrs: Avoid backticks for subshell
  libvirt_recover_xattrs: Use only the correct xattr prefix
  libvirt_recover_xattrs: Add unsafe operation mode
  libvirt_recover_xattrs: Allow fixing multiple PATHs

 tools/libvirt_recover_xattrs.sh | 64 ++++++++++++++++++++++-----------
 1 file changed, 43 insertions(+), 21 deletions(-)

-- 
2.28.0




More information about the libvir-list mailing list