forked from tiiuae/vhotplug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
103 lines (103 loc) · 2.81 KB
/
config.json
File metadata and controls
103 lines (103 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"usbPassthrough": [
{
"description": "Devices for VM1",
"targetVm": "vm1",
"allow": [
{
"interfaceClass": 3,
"interfaceProtocol": 2,
"description": "HID Mouse"
},
{
"productName": ".*ethernet.*",
"description": "Ethernet devices"
},
{
"vendorId": "067b",
"productId": "23a3",
"description": "Prolific USB-to-Serial Bridge",
"disable": true
},
{
"interfaceClass": 1,
"description": "Audio"
}
],
"deny": [
{
"vendorId": "046d",
"productId": "c52b",
"description": "Logitech, Inc. Unifying Receiver"
},
{
"vendorId": "0b95",
"productId": "1790",
"description": "AX88179 Gigabit Ethernet"
},
{
"interfaceClass": 14,
"description": "Video (USB Webcams)"
}
]
},
{
"description": "Devices for VM2",
"targetVm": "vm2",
"allow": [
{
"deviceClass": 224,
"description": "Wireless Controller"
},
{
"bus": 11,
"port": 22,
"description": "All devices on port 22 bus 11"
}
]
},
{
"description": "Devices for Multiple VMs",
"allowedVms": [
"vm1",
"vm2"
],
"allow": [
{
"interfaceClass": 14,
"description": "Video (USB Webcams)"
},
{
"vendorId": "1050",
"productId": "0407",
"description": "Yubikey"
}
]
}
],
"evdevPassthrough": {
"pcieBusPrefix": "ep",
"targetVm": "vm1"
},
"vms": [
{
"name": "vm1",
"type": "qemu",
"socket": "/tmp/qmp-socket1"
},
{
"name": "vm2",
"type": "crosvm",
"socket": "/tmp/crosvm-socket1"
}
],
"general" : {
"api": {
"enable": true,
"host": "127.0.0.1",
"port": 2000,
"transports": ["tcp", "vsock", "unix"]
},
"crosvm": "/usr/local/bin/crosvm"
}
}