public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Dominik Csapak <d.csapak@proxmox.com>,
	Noel Ullreich <n.ullreich@proxmox.com>
Subject: Re: [pve-devel] [PATCH pve-docs v8 1/1] update the PCI(e) docs
Date: Fri, 21 Jul 2023 16:10:54 +0200	[thread overview]
Message-ID: <1f934670-d29f-4d84-a72f-72b8232db8d8@proxmox.com> (raw)
In-Reply-To: <687011da-f90f-f3b7-b8cb-44be27762191@proxmox.com>

On 20/07/2023 10:09, Dominik Csapak wrote:
> On 6/26/23 14:41, Noel Ullreich wrote:
>> @@ -75,13 +93,15 @@ to the xref:sysboot_edit_kernel_cmdline[kernel commandline].
>>   .Kernel Modules
>>     You have to make sure the following modules are loaded. This can be achieved by
>> -adding them to `'/etc/modules''
>> +adding them to `'/etc/modules''. In kernels newer than 6.2 ({pve} 8 and onward)
>> +the 'vfio_virqfd' module is part of the 'vfio' module, therefore loading
>> +'vfio_virqfd' in {pve} 8 and newer is not necessary.
>>     ----
>>    vfio
>>    vfio_iommu_type1
>>    vfio_pci
>> - vfio_virqfd
>> + vfio_virqfd #not needed if on kernel 6.2 or newer
>>   ----
> 
> i'd add some comment (does such a thing exists in asciidoc?) or something
> so that we can remove that part with e.g. pve 9.x
> since thats only relevant as long as we're supporting 7.x

yes, can use // at start of line in asciidoc for comments, like:

// TODO: adapt/remove/... with Proxmox VE 9

You naturally need to position it outside of the code block though, else
it's verbatim text.

>>   # qm set VMID -hostpci0 02:00,device-id=0x10f6,sub-vendor-id=0x0000
>>   ----
>>   -
>> -Other considerations
>> -^^^^^^^^^^^^^^^^^^^^
>> -
>> -When passing through a GPU, the best compatibility is reached when using
>> -'q35' as machine type, 'OVMF' ('EFI' for VMs) instead of SeaBIOS and PCIe
>> -instead of PCI. Note that if you want to use 'OVMF' for GPU passthrough, the
>> -GPU needs to have an EFI capable ROM, otherwise use SeaBIOS instead.
>> -
>>   SR-IOV
>>   ~~~~~~
>>   -Another variant for passing through PCI(e) devices, is to use the hardware
>> +Another variant for passing through PCI(e) devices is to use the hardware
>>   virtualization features of your devices, if available.
>>   +{{Note | To use SR-IOV, platform support is especially important. It may be necessary
>> +to enable this feature in the BIOS/UEFI first, or to use a specific PCI(e) port
>> +for it to work. In doubt, consult the manual of the platform or contact its
>> +vendor.}}
> 
> this syntax does not work here with the html nor the pdf renderer, maybe
> some bad copy&paste ?

Yeah, this looks like mediawiki syntax,rather use the Asciidoc admonition
syntax, in a new paragraph:

NOTE: To use SR-IOV, platform support is especially important. ...

https://asciidoc-py.github.io/userguide.html#X28




  reply	other threads:[~2023-07-21 14:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26 12:41 [pve-devel] [PATCH pve-docs v8 0/1] " Noel Ullreich
2023-06-26 12:41 ` [pve-devel] [PATCH pve-docs v8 1/1] " Noel Ullreich
2023-07-20  8:09   ` Dominik Csapak
2023-07-21 14:10     ` Thomas Lamprecht [this message]
2023-07-03 12:07 ` [pve-devel] [PATCH pve-docs v8 0/1] " Noel Ullreich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1f934670-d29f-4d84-a72f-72b8232db8d8@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=n.ullreich@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal