[libvirt PATCH] qemu: Fix domain ID allocation