[libvirt] Re: [PATCH 2/3] qemu: Break out function to check if we can create/define/restore