Hi James,

If the OS can detect the card then it can be passed-through. There's a very 
nice article on how to achieve that: 
https://lab.piszki.pl/cloudstack-kvm-and-running-vm-with-vgpu/

Let me know if it works for you, am quite curious about it.

Regards
Alex

 


-----Original Message-----
From: James Steele <[email protected]> 
Sent: 01 October 2021 17:01
To: [email protected]
Subject: AMD graphics PCI passthrough possible?

Hi all,

we have added some Ubuntu 20.04 hosts which have an AMD ATI Radeon Pro WX 5100 
fitted inside.
We would like to passthrough the Radeon PCI device to KVM guests.

IOMMU has been setup correctly and the Radeon card is showing as a VFIO-PCI 
device. lspci -k shows:


d9:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Ellesmere [Radeon Pro WX 5100]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon Pro 
WX 5100]
        Kernel driver in use: vfio-pci
        Kernel modules: amdgpu
d9:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI 
Audio [Radeon RX 470/480 / 570/580/590]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio 
[Radeon RX 470/480 / 570/580/590]
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel


CloudStack has native NVIDIA support, where Compute Offerings can have NVIDIA 
devices specified.
Is support for AMD coming? Has anyone managed to get AMD passthrough working?

Does anything need to be specified perhaps in: 
/etc/cloudstack/agent/agent.properties ???

Thanks, Jim

Reply via email to