use the virsh desc domain as the only storage for the VM notes and other metadata instead of file used now.
[x] implement use of metadata functions instead of current use of files
[x] drop the need for 'sg' in code and requirements
[x] create script for transforming data from files into new metadata format
[x] update configure-fast-vm to not ask about note storage and allow it to rather ask for conversion
Identified cons of this change:
reading data from libvirt will always be slower than from files (50-70% time increase in reading metadata) - this is heavily used in fast-vm list where the slowdown is visible (on my testing machine from 0.7s to 1.1s with 10 VMs)
use the
virsh desc domain
as the only storage for the VM notes and other metadata instead of file used now.configure-fast-vm
to not ask about note storage and allow it to rather ask for conversionIdentified cons of this change:
fast-vm list
where the slowdown is visible (on my testing machine from 0.7s to 1.1s with 10 VMs)