qemu: Separate formatting from saving into caps cache
qemu: Separate formatting from saving into caps cache

We will need to use the formatter directly for testing QEMU capabilities
code.

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

fabianfreyer/libvirt,zippy2/libvirt,olafhering/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,libvirt/libvirt,taget/libvirt,eskultety/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,zippy2/libvirt,taget/libvirt,olafhering/libvirt,andreabolognani/libvirt,jfehlig/libvirt,crobinso/libvirt,andreabolognani/libvirt,eskultety/libvirt,crobinso/libvirt,libvirt/libvirt,eskultety/libvirt,datto/libvirt,jardasgit/libvirt,nertpinx/libvirt,nertpinx/libvirt,andreabolognani/libvirt,datto/libvirt,VenkatDatta/libvirt,zippy2/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,crobinso/libvirt,taget/libvirt,datto/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,olafhering/libvirt,jfehlig/libvirt,datto/libvirt,zippy2/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,nertpinx/libvirt,eskultety/libvirt,libvirt/libvirt,andreabolognani/libvirt,taget/libvirt,olafhering/libvirt,taget/libvirt,datto/libvirt,VenkatDatta/libvirt,eskultety/libvirt