PCI Passthrough: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→AMD) |
||
Line 21: | Line 21: | ||
==AMD== | ==AMD== | ||
Edit: | |||
<source lang="bash"> | <source lang="bash"> | ||
#vi /etc/default/grub | # vi /etc/default/grub | ||
</source> | </source> | ||
Change: | |||
<source lang="bash"> | <source lang="bash"> | ||
GRUB_CMDLINE_LINUX_DEFAULT="quiet" | GRUB_CMDLINE_LINUX_DEFAULT="quiet" | ||
</source> | </source> | ||
To: | |||
<source lang="bash"> | <source lang="bash"> | ||
GRUB_CMDLINE_LINUX_DEFAULT="quiet | GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on" | ||
</source> | </source> | ||
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