[libvirt] [PATCH 10/13] Re-arrange QEMU device alias assignment code