Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox Cookbook

You're reading from   Proxmox Cookbook Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783980901
Length 318 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Installing Proxmox 2. Getting to Know the Proxmox GUI FREE CHAPTER 3. Cluster and VM Management 4. Network Configurations 5. Firewall Configurations 6. Storage Configurations 7. Backup and Restore 8. Updating and Upgrading Proxmox 9. Monitoring Proxmox 10. Advanced Configurations for VMs 11. The CLI Command Reference Index

Configuring a PCI passthrough


In Proxmox, it is possible to passthrough PCI devices directly into a VM. In this section, we will see how to configure and verify a PCI passthrough.

How to do it…

The following steps describe how to enable and configure the PCI passthrough in Proxmox:

  1. Log in to the Proxmox node through SSH or directly through a console.

  2. Open the grub configuration file by using an editor:

    # nano /etc/default/grub
    
  3. Make changes to the GRUB_CMDLINE_LINUX_DEFAULT="quiet" line by using these suggestions.

    For Intel CPUs, make the following change:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

    For AMD CPUs, make the following change:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
  4. Save the changes and exit the editor.

  5. Run the following command to update grub:

    # update-grub
    
  6. If you're using an AMD CPU, add the following line in the /etc/modprobe.d/kvm_iommu_map_guest.conf configuration file:

    options kvm allow_unsafe_assigned_interrupt=1

    Tip

    Ensure that the VM is not set to auto start after a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image