3.9.1 Connecting USB devices
USB devices can be connected with the -usbdevice commandline option
or the usb_add
monitor command. Available devices are:
mouse
- Virtual Mouse. This will override the PS/2 mouse emulation when activated.
tablet
- Pointer device that uses absolute coordinates (like a touchscreen).
This means qemu is able to report the mouse position without having
to grab the mouse. Also overrides the PS/2 mouse emulation when activated.
disk:
file- Mass storage device based on file (see disk_images)
host:
bus.addr- Pass through the host device identified by bus.addr
(Linux only)
host:
vendor_id:product_id- Pass through the host device identified by vendor_id:product_id
(Linux only)
wacom-tablet
- Virtual Wacom PenPartner tablet. This device is similar to the
tablet
above but it can be used with the tslib library because in addition to touch
coordinates it reports touch pressure.
keyboard
- Standard USB keyboard. Will override the PS/2 keyboard (if present).