[libvirt] [REPOST PATCHv2 2/2] qemu: Use the correct vm def on cold attach