Discussion:
[pve-devel] [PATCH docs 1/2] fix quoting
Dominik Csapak
2018-12-05 10:16:00 UTC
Permalink
it seems the parser cannot handle the end of the quoting with '),' after
it, so `'), does not get detected as the end of the quote

Signed-off-by: Dominik Csapak <***@proxmox.com>
---
qm-pci-passthrough.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc
index 8ea05ab..ebb6422 100644
--- a/qm-pci-passthrough.adoc
+++ b/qm-pci-passthrough.adoc
@@ -190,7 +190,7 @@ configuration, for example by executing:
# qm set VMID -hostpci0 00:02.0
----

-If your device has multiple functions (e.g., ``00:02.0`' and ``00:02.1`'),
+If your device has multiple functions (e.g., ``00:02.0`' and ``00:02.1`' ),
you can pass them through all together with the shortened syntax ``00:02`'

There are some options to which may be necessary, depending on the device
--
2.11.0
Dominik Csapak
2018-12-05 10:16:01 UTC
Permalink
and add a 'see also' chapter for the wiki with a link to the old
pci passthrough documentation (which i will change to contain
examples and other steps not suited for the reference documentation)

Signed-off-by: Dominik Csapak <***@proxmox.com>
---
qm-pci-passthrough.adoc | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc
index ebb6422..f51dbcc 100644
--- a/qm-pci-passthrough.adoc
+++ b/qm-pci-passthrough.adoc
@@ -1,6 +1,9 @@
[[qm_pci_passthrough]]
PCI(e) Passthrough
------------------
+ifdef::wiki[]
+:pve-toplevel:
+endif::wiki[]

PCI(e) passthrough is a mechanism to give a virtual machine control over
a PCI device from the host. This can have some advantages over using
@@ -356,3 +359,12 @@ Example configuration with an `Intel GVT-g vGPU` (`Intel Skylake 6700k`):

With this set, {pve} automatically creates such a device on VM start, and
cleans it up again when the VM stops.
+
+ifdef::wiki[]
+
+See Also
+~~~~~~~~
+
+* link:/wiki/Pci_passthrough[PCI Passthrough Examples]
+
+endif::wiki[]
--
2.11.0
Thomas Lamprecht
2018-12-05 12:19:35 UTC
Permalink
Post by Dominik Csapak
it seems the parser cannot handle the end of the quoting with '),' after
it, so `'), does not get detected as the end of the quote
---
qm-pci-passthrough.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc
index 8ea05ab..ebb6422 100644
--- a/qm-pci-passthrough.adoc
+++ b/qm-pci-passthrough.adoc
# qm set VMID -hostpci0 00:02.0
----
-If your device has multiple functions (e.g., ``00:02.0`' and ``00:02.1`'),
+If your device has multiple functions (e.g., ``00:02.0`' and ``00:02.1`' ),
you can pass them through all together with the shortened syntax ``00:02`'
There are some options to which may be necessary, depending on the device
applied, thanks!

Loading...