[libvirt] [PATCH 08/10] qemu: Refactor helpers for USB device attachment