mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
AssigningDevices changed
Initial version
This commit is contained in:
parent
6f5cc62978
commit
2706038766
25
AssigningDevices.md
Normal file
25
AssigningDevices.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
layout: wiki
|
||||||
|
title: AssigningDevices
|
||||||
|
permalink: /wiki/AssigningDevices/
|
||||||
|
---
|
||||||
|
|
||||||
|
In order to assign a whole PCI/e device to a VM one should use ```qvm-pci``` tool. E.g.
|
||||||
|
|
||||||
|
``` {.wiki}
|
||||||
|
lspci
|
||||||
|
```
|
||||||
|
|
||||||
|
Find the BDF address of the device you want to assign, and then:
|
||||||
|
|
||||||
|
``` {.wiki}
|
||||||
|
qvm-pci -a <bdf> <vmname>
|
||||||
|
```
|
||||||
|
|
||||||
|
E.g. assuming 00:1a.0 is a BDF of the device I want to assign to "personal" domain:
|
||||||
|
|
||||||
|
``` {.wiki}
|
||||||
|
qvm-pci -a 00:1a.0 personal
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that one can only assign full PCI or PCI Express devices. This means one cannot assign single USB devices -- only the whole USB controller with whatever USB devices connected to it. This limit is imposed by PC and VT-d architecture.
|
Loading…
Reference in New Issue
Block a user