Rate This Document
Findability
Accuracy
Completeness
Readability

Enabling Device Passthrough

Enabling device passthrough involves activating CCA and SMMU security features, as well as enabling kernel features. This is applicable to scenarios that require confidential virtualization or secure isolation.

  • Currently, CCA device passthrough does not support Stage 1 SMMU, meaning it cannot prevent malicious devices from accessing unauthorized memory within the VM.
  • The CCA device passthrough function does not support device authentication.

Adding Boot Parameters to the Host

  1. Open the grub.cfg file.
    vim /boot/efi/EFI/openEuler/grub.cfg
  2. Press i to enter the insert mode and add the following parameters to the HOST OS location:
    vfio_pci.disable_idle_d3=1 

  3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.

Enabling the SMMU in the BIOS

  1. Log in to the BIOS. For details, see "Accessing the BIOS" in TaiShan Server BIOS Parameter Reference (Kunpeng 920 Processor).
  2. Choose Advanced > MISC Config > Support Smmu.
  3. Set Support Smmu to Enabled and press F10 to save the settings and exit.