[libvirt] [PATCH 11/25] qemu: Refactor helpers for USB device attachment