[libvirt PATCH 4/6] qemu: use a switch when building device addresses