专注虚拟化性能优化,硬件显卡网卡虚拟加速,面向容器的轻量虚拟化开发 永远的Linux Geeker!
分类: 虚拟化
2019-01-22 09:03:58
Part Two Guest Installment by virt-manager
1.1 Make sure you are installing a VM with UEFI mode
1.2 Make sure Your HOST is SLES12SP2 and so on
1.3 Still need add a emulated device when installing,
Graphic: spice
Device: qxl
1.4 Add pci host devices above:
03:00.0
1.5. Install driver
1.5.1.1 download file from ""
1.5.2 following below steps
rpm -i nvidia-diag-driver-local-repo-sles123-390.30-1.0-1.x86_64.rpm
zypper refresh
zypper install cuda-drivers
reboot
For verification:
cd /usr/local/cuda-9.1/samples/0_Simple/simpleTemplates
make
/usr/local/cuda-9.1/samples/0_Simple/simpleTemplates/:[0]#
./simpleTemplates
runTest
GPU Device 0: "Tesla V100-PCIE-16GB" with compute capability 7.0
CUDA device [Tesla V100-PCIE-16GB] has 80 Multi-Processors
Processing time: 495.006000 (ms)
Compare OK
runTest
GPU Device 0: "Tesla V100-PCIE-16GB" with compute capability 7.0
CUDA device [Tesla V100-PCIE-16GB] has 80 Multi-Processors
Processing time: 0.203000 (ms)
Compare OK
[simpleTemplates] -> Test Results: 0 Failures
1.5.3
It may need sign nvidia.ko/nvidia-uvm.ko in SLES
We are working on a better solution now
Meanwhile check below:
8.2 Signing Module Object Files (UEFI Secure Boot)
1.6 Display issue
Once you installed Nvidia driver, the vi rt-manager display will lost
connect. You need to ssh login or change to console interface or install
a dedicated vnc server inside vm