qemu: Bug fixes for usb testing