Only one card cannot be used for transparent transmission. The premise for graphics card transparent transmission is that there is an extra graphics card that is not occupied by the host system or other virtual machines.
Opensatck PCI passthrough mode :
Install Openstack and configure nova
Perform the following steps to enable PCI passthrough (take the PCI device with the address 0000:41:00.0 as an example.):
1. Configure nova-scheduler (Controller)
2. Configure nova-api (Controller)**
3. Configure flavor (Controller)
4. Enable PCI passthrough (Compute)
5. Configure PCI device (Compute) in nova.conf
Reference: OpenStack configuration PCI passthrough (PCI passthrough) - short book
Official documentation: OpenStack Docs: Attaching physical PCI devices to guests
K vm graphics card virtualization:
Only supports installation under Linux system
Install KVM
View pci device information
Unbind the graphics card from the host
View the group where the graphics card device is located
Install OVMF
Install the virtual machine and change the virtual machine settings. After installation, use virt-manager to add the graphics card to be transparently transmitted. Or modify the configuration file, or command
reference:
Xen passthrough graphics card virtualization:
Only supports installation under Linux system
PCI Frontend Configuration Configure your DomU
PCI Backend Configuration Configure your Dom0
Hardware addressing access settings
Start and log into your virtual machine DomU
Verify whether PCI Passthrough of DomU is successful
Reference: xen pci-passthrogh_cybertan's blog-CSDN blog
VMWare exsi graphics card virtualization (early versions of exsi also only supported high-end NVIDIA graphics cards):
ESXi is the underlying system of VMware vSphere virtualization. It manages, allocates and schedules resources in virtual machines. After installing ESXi on the physical host (equivalent to installing a dual system under win10, but with limited support for network cards), Only then can you create a virtual machine on the ESXi host through the vSphere Client;
ESXi is installed directly on the physical host, not in the virtual machine in software such as VMware Workstation (exsi installed in the virtual machine cannot directly access the host graphics card)
VMWare workStation is used in personal desktop systems and requires operating system support.
1. At the bottom of the ESXi 6.5 interface, you can see an IP address.
2. Open another computer, enter the IP address in the browser, log in using the account and password you just set, and then enter the Web Client to configure ESXi.
3. Navigator -> Host -> Manage -> Hardware -> PCI Devices on the left side of the page to see each GPU hardware
Add a virtual machine again, Navigator -> Virtual Machines -> Create/Register VM.
4. The various options for installing a virtual machine are basically the same as the steps for adding a virtual machine in the Vmware software. Install the system in the virtual machine, first install VMtools, and then install the graphics card driver.
5. After installing the virtual machine, click Add in Edit Virtual Machine Settings (Virtual Machine Options) and select the PCI device. Check the graphics card you want to pass through to complete the graphics card passthrough.
vmware exsi version iso image: VMware-VMvisor-Installer-6.7.0-8169922.x86_64.iso. When installed on the host machine, a USB disk is required to make a boot disk. (Baidu cloud disk has resources)
License: HV4WC-01087-1ZJ48-031XP-9A843 After entering the web interface, go to Manage-License-Assign License.
Note: exsi cannot be accessed directly like the operating system. It needs to be accessed through the web page through the IP provided by it.
After logging into the web interface, go to Host-Operation-Service-Enable Secure SHELL (SSH), and then you can connect to the IP assigned by dhcp through the shell.
References:
https://blog.csdn.net/masterzxd/article/details/104554384
Official documentation: