patches and low-level development discussion
 help / color / mirror / code / Atom feed
24dac6562cf2f7d34d459fd0f3c8ac303ed75b58 blob 657 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
= 007 USB Virtual Machine
:page-parent: Architecture Decision Records
:page-grand_parent: About Spectrum OS

// SPDX-FileCopyrightText: 2022 Unikie
// SPDX-License-Identifier: GFDL-1.3-no-invariants-or-later OR CC-BY-SA-4.0

== Status

Proposed

== Context

Certain VMs will need access to specific USB devices, but with passthrough from
the host we can only pass through whole USB controllers, not individual devices.

== Decision

USB controllers will be passed through to a VM with authorization controls
inside the VMs to forward a specific USB device using USBIP.

== Consequences

We need to modify the upstream USBIP daemon to support authorization.
debug log:

solving 24dac65 ...
found 24dac65 in https://spectrum-os.org/lists/archives/spectrum-devel/20220906135533.576642-1-evgeniia.nikolaenko@unikie.com/
found 3bdf78b in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 3bdf78be918d91dfe6e1be48de003dbf141f1f8b	Documentation/decisions/007-usb-virtual-machines.adoc

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20220906135533.576642-1-evgeniia.nikolaenko@unikie.com/
diff --git a/Documentation/decisions/007-usb-virtual-machines.adoc b/Documentation/decisions/007-usb-virtual-machines.adoc
index 3bdf78b..24dac65 100644

Checking patch Documentation/decisions/007-usb-virtual-machines.adoc...
Applied patch Documentation/decisions/007-usb-virtual-machines.adoc cleanly.

index at:
100644 24dac6562cf2f7d34d459fd0f3c8ac303ed75b58	Documentation/decisions/007-usb-virtual-machines.adoc

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).