PCI Passthrough: Difference between revisions
Jump to navigation
Jump to search
m (→AMD) |
No edit summary |
||
Line 1: | Line 1: | ||
To enable PCI passthrough, you need to configure: | To enable PCI passthrough, you need to configure: | ||
==INTEL== | == INTEL == | ||
<br> edit: <source lang="bash"> | <br> edit: <source lang="bash"> | ||
#vi /etc/default/grub | #vi /etc/default/grub | ||
</source> change | </source> change <source lang="bash"> | ||
<source lang="bash"> | |||
GRUB_CMDLINE_LINUX_DEFAULT="quiet" | GRUB_CMDLINE_LINUX_DEFAULT="quiet" | ||
</source> | </source> to <source lang="bash"> | ||
to | |||
<source lang="bash"> | |||
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" | GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" | ||
</source> | </source> then <source lang="bash"> | ||
then | |||
<source lang="bash"> | |||
# update-grub | # update-grub | ||
# reboot | # reboot | ||
</source> | </source> | ||
Then run "dmesg | grep -e DMAR -e IOMMU" from the command line. If there is no output, then something is wrong. | |||
==AMD== | ==AMD== |
Revision as of 15:24, 30 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
Then run "dmesg | grep -e DMAR -e IOMMU" from the command line. If there is no output, then something is wrong.
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