spiegel_podman/pkg/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
..
applehv machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
compression Refactor key machine objects 2023-11-07 08:30:44 -06:00
define Refactor key machine objects 2023-11-07 08:30:44 -06:00
e2e Refactor key machine objects 2023-11-07 08:30:44 -06:00
hyperv machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
ocipull Refactor key machine objects 2023-11-07 08:30:44 -06:00
os Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
provider Build applehv for Intel Macs 2023-09-29 22:42:22 -04:00
qemu machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
wsl machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
cleanup.go Machine: Teardown on init failure 2023-10-12 09:26:06 -04:00
config.go machine: qemu: add usb host passthrough 2023-11-08 23:38:53 +01:00
config_test.go pkg/machine: add missing build tags to tests 2022-07-04 18:09:30 +02:00
connection.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
errors.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
fcos.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
fcos_test.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
fedora_unix.go WSL refactoring 2023-01-23 10:48:32 -06:00
fedora_windows.go WSL refactoring 2023-01-23 10:48:32 -06:00
gvproxy.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
ignition.go podman machine: disable zincati update service 2023-09-28 13:01:52 -05:00
ignition_darwin.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_freebsd.go pkg: Build pkg/machine on FreeBSD 2022-08-13 07:53:34 +01:00
ignition_linux.go fix #17244: use /etc/timezone where timedatectl is missing on Linux 2023-01-30 00:36:37 +09:00
ignition_schema.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
ignition_windows.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
keys.go Fail if ssh key exists 2023-08-04 09:13:50 -05:00
machine_common.go fix: adjust helper string in machine_common 2023-11-03 21:24:05 +01:00
machine_unix.go Podman machine AppleHV pass number 3 2023-07-13 09:06:34 -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 Initial addition of 9p code to Podman 2023-10-31 10:14:02 -04:00
ports.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
ports_unix.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
ports_windows.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
pull.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
sockets.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
ssh.go fix(ssh): start machine failed to start with exit status 255 2023-06-16 19:39:38 +08:00
update.go Set machine docker.sock according to rootful flag 2023-05-14 23:56:15 -05:00
volumes.go Podman machine AppleHV pass number 3 2023-07-13 09:06:34 -05:00