PCI Passthrough: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
mNo edit summary
Line 21: Line 21:
==AMD==  
==AMD==  


edit:  
Edit:  


<source lang="bash">
<source lang="bash">
#vi /etc/default/grub
# vi /etc/default/grub
</source>  
</source>  


change
Change:
<source lang="bash">
<source lang="bash">
GRUB_CMDLINE_LINUX_DEFAULT="quiet"  
GRUB_CMDLINE_LINUX_DEFAULT="quiet"  
</source>
</source>
to
To:
<source lang="bash">
<source lang="bash">
GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=pt iommu=1"  
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"  
</source>
</source>
then <source lang="bash">
Then:
<source lang="bash">
# update-grub
# update-grub
# echo "options kvm allow_unsafe_assigned_interrupts=1" > /etc/modprobe.d/kvm_iommu_map_guest.conf  
# echo "options kvm allow_unsafe_assigned_interrupts=1" > /etc/modprobe.d/kvm_iommu_map_guest.conf  

Revision as of 19:37, 3 August 2013

To enable PCI passthrough, you need to configure:

INTEL


edit:

#vi /etc/default/grub

change

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

then

# update-grub
# reboot

AMD

Edit:

# vi /etc/default/grub

Change:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

To:

GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"

Then:

# update-grub
# echo "options kvm allow_unsafe_assigned_interrupts=1" > /etc/modprobe.d/kvm_iommu_map_guest.conf 
# reboot