Howto - auto detect USB driver for QEMU

Autodetect (single) usb /dev/sdX device:

$(lsblk -o NAME,TRAN | grep usb | awk ‘{print “/dev/” $1}’)

Whole command for boot:

sudo qemu-system-x86_64 -hda $(lsblk -o NAME,TRAN | grep usb | awk ‘{print “/dev/” $1}’) -boot order=d -m 2048 -enable-kvm -cpu host -smp 4

You can simply use one of those:
Persistent block device naming - ArchWiki

Added qemukvm, usb, virtualization