[libvirt] [PATCH] qemu: Use the same def when attaching device live and config