Closed dashmage closed 9 months ago
(by andreashamacher) This can be achieved with existing methods. configure the sysconfig charm via grub-config-flags e.g. GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT nvme_core.multipath=0 console=tty0 modprobe.blacklist=nouveau modprobe.blacklist=nvidiafb iommu=pt vfio_iommu_type1.allow_unsafe_interrupts=1 pci-stub.ids=10de:20b0 vfio-pci.ids=10de:20b0 console=ttyS1"
also in case this is in conjunction with openstack the nova-compute charm has a config-parameter pci-passthrough-whitelist which is required to be set to make gpu passthrough work
Changing Status to "Invalid"
To enable gpu passthrough operator needs to pass two parameters to the kernel that are not currently supported by the charm.
vfio-pci.ids
and
module_blacklist
They both need to be added to GRUB_CMDLINE_LINUX_DEFAULT
Imported from Launchpad using lp2gh.
date created: 2019-10-17T14:09:18Z
owner: peppepetra
assignee: andreashamacher
the launchpad url