From: Thomas Lamprecht Date: Mon, 19 Jun 2023 06:41:02 +0000 (+0200) Subject: qm mappings: stylistic fixes X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=d772991e62c090034653e4d4eccd6b445d6ca502 qm mappings: stylistic fixes Signed-off-by: Thomas Lamprecht --- diff --git a/qm.adoc b/qm.adoc index 4e9c8b5..2f9afe2 100644 --- a/qm.adoc +++ b/qm.adoc @@ -1538,11 +1538,11 @@ Creating such a mapping can be done with the {pve} web GUI under `Datacenter` in the relevant tab in the `Resource Mappings` category, or on the cli with ---- -# pvesh create /cluster/mapping/TYPE OPTIONS +# pvesh create /cluster/mapping/ ---- -Where `TYPE` is the hardware type (currently either `pci` or `usb`) and -`OPTIONS` are the device mappings and other configuration parameters. +Where `` is the hardware type (currently either `pci` or `usb`) and +`` are the device mappings and other configuration parameters. Note that the options must include a map property with all identifying properties of that hardware, so that it's possible to verify the hardware did @@ -1577,26 +1577,26 @@ which exact virtual function is passed through. You can assign such a device to a guest either with the GUI or with ---- -# qm set ID -hostpci0 NAME +# qm set ID -hostpci0 ---- for PCI devices, or ---- -# qm set ID -usb0 NAME +# qm set -usb0 ---- for USB devices. -Where `ID` is the guests id and `NAME` is the chosen name for the created +Where `` is the guests id and `` is the chosen name for the created mapping. All usual options for passing through the devices are allowed, such as `mdev`. -To create mappings `Mapping.Modify` on `/mapping/TYPE/NAME` is necessary -(where `TYPE` is the device type and `NAME` is the name of the mapping). +To create mappings `Mapping.Modify` on `/mapping//` is necessary +(where `` is the device type and `` is the name of the mapping). -To use these mappings, `Mapping.Use` on `/mapping/TYPE/NAME` is necessary (in -addition to the normal guest privileges to edit the configuration). +To use these mappings, `Mapping.Use` on `/mapping//` is necessary +(in addition to the normal guest privileges to edit the configuration). Managing Virtual Machines with `qm` ------------------------------------