spiegel_podman/cmd/podman/machine
Victor Toso c23963d7a8 machine: qemu: add usb host passthrough
QEMU usb-host driver which is the one for passthrough, supports two
options for selecting an USB devices in the host to provide it to the
VM:
 - Bus and Device number the device is plugged
 - Vendor and Product information of the USB devices

    https://qemu-project.gitlab.io/qemu/system/devices/usb.html

This commit allows a user to configure podman machine with either of
options, with new --usb command line option for podman machine init.

Examples
  podman machine init tosovm4 --usb vendor=13d3,product=5406
  podman machine init tosovm3 --usb bus=1,devnum=4 --usb bus=1,devnum=3

This commit also allows a user to change the USBs configured with
--usb command line option for podman machine set.

Note that this commit does not handle host device permissions nor
verify that the USB devices exists.

Signed-off-by: Victor Toso <victortoso@redhat.com>
2023-11-08 23:38:53 +01:00
..
os Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
client9p.go Log gvproxy and server9 to file on log-level=debug 2023-10-31 10:14:06 -04:00
info.go Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
init.go machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
inspect.go Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
list.go New machines should show Never as LastUp 2023-09-28 14:16:26 -04:00
machine.go Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
machine_unix.go Fix podman machine on Windows 2022-06-30 16:21:59 -05:00
machine_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
machine_windows.go Fix podman machine on Windows 2022-06-30 16:21:59 -05:00
os.go Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
rm.go Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
server9p.go Change to using gopsutil for cross-OS process ops 2023-10-31 10:14:06 -04:00
set.go machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
ssh.go Use ActiveServiceDestination in ssh remoteConnectionUsername 2023-09-21 11:56:19 +01:00
start.go Plumbing to run machine tests with hyperv 2023-09-14 15:57:35 -05:00
stop.go Consume OCI images for machine image 2023-11-02 10:23:14 -05:00