Virtual Devices for Protocol-Specific Host and Peripheral Interfaces