How to enable or check Intel "VT-d" in a GCP VM

4/17/2020

I am using nested virtualization in GCP. I can achieve it by adding the support of Intel "VT-x" via following the Google provided document: https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances.

Now I am looking at how to add the nested GPU support via Pass Through, it requires the support of Intel "VT-d". How to check whether my GCP VM supports it and how to enable it?

I read previous question. Someone mentioned:

If VT-d is enabled, Linux will configure DMA Remapping at boot time. The easiest way to find this is to look in dmesg for DMAR entries. If you don't see errors, then VT-d is enabled.

I tried it and I didn't find any DMAR related message in the dmesg (only a few lines for DMA). Does it mean my GCP VM doesn't support VT-d. If so, is there a way to achieve it or it is impossible?

-- chen lin
google-compute-engine
gpu
intel
kubernetes
virtualization

0 Answers