diff options
author | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2017-03-20 17:58:51 +0400 |
---|---|---|
committer | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2017-03-26 19:22:30 +0400 |
commit | daecaea038587b28304f83fb5930b5d870bacde3 (patch) | |
tree | b91cecfd6ae81698a54de793e2a738f175034944 /tests/bhyvexml2argvdata/bhyvexml2argv-input-xhci-tablet.args | |
parent | 9bf6b9dfa343673086a1f4faf19e790b94bc709a (diff) | |
download | libvirt-daecaea038587b28304f83fb5930b5d870bacde3.tar.gz |
bhyve: add xhci tablet support
Along with video and VNC support, bhyve has introduced USB tablet
support as an input device. This tablet is exposed to a guest
as a device on an XHCI controller.
At present, tablet is the only supported device on the XHCI controller
in bhyve, so to make things simple, it's allowed to only have a
single XHCI controller with a single tablet device.
In detail, this commit:
- Introduces a new capability bit for XHCI support in bhyve
- Adds an XHCI controller and tabled support with 1:1 mapping
between them
- Adds a couple of unit tests
Diffstat (limited to 'tests/bhyvexml2argvdata/bhyvexml2argv-input-xhci-tablet.args')
-rw-r--r-- | tests/bhyvexml2argvdata/bhyvexml2argv-input-xhci-tablet.args | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-input-xhci-tablet.args b/tests/bhyvexml2argvdata/bhyvexml2argv-input-xhci-tablet.args new file mode 100644 index 0000000000..b1c0c94d03 --- /dev/null +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-input-xhci-tablet.args @@ -0,0 +1,9 @@ +/usr/sbin/bhyve \ +-c 1 \ +-m 214 \ +-u \ +-H \ +-P \ +-s 0:0,hostbridge \ +-s 2:0,xhci,tablet \ +-s 3:0,ahci-hd,/tmp/freebsd.img bhyve |