Results 1 to 4 of 4

Thread: KVM GPU sharing or pass-thru support?

  1. #1
    Join Date
    Apr 2013
    Beans
    2

    KVM GPU sharing or pass-thru support?

    I'm looking for a solution for sharing or pass-thru my GPU to VM with Ubuntu KVM.
    Can Ubuntu KVM support GPU sharing or pass-thru? How can I do that?
    Is specific GPU required?

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: KVM GPU sharing or pass-thru support?

    For PCI passthrough to work you need to have the following things....

    A CPU that supports VT-d or AMD-Vi.
    A motherboard that supports VT-d or AMD-Vi.
    BIOS that supports VT-d or AMD-Vi.
    A graphics card that supports VGA passthrough.

    If you have all of these then yes, you can set up PCI passthrough with KVM on Ubuntu.

    You may want to take a look at this thread...
    http://ubuntuforums.org/showthread.php?t=2111175
    Cheesemill

  3. #3
    Join Date
    Apr 2013
    Beans
    2

    Re: KVM GPU sharing or pass-thru support?

    Thanks for the information.
    But I checked the thread. All the success in the thread are for xen.
    http://ubuntuforums.org/showthread.php?t=2111175
    And is there solution for sharing GPU between VMs at the same time like VMware does?

  4. #4
    Join Date
    Apr 2008
    Beans
    129
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: KVM GPU sharing or pass-thru support?

    Quote Originally Posted by tree chang View Post
    Thanks for the information.
    But I checked the thread. All the success in the thread are for xen.
    http://ubuntuforums.org/showthread.php?t=2111175
    And is there solution for sharing GPU between VMs at the same time like VMware does?
    While I'm using Xen, there are reports that kvm will work too. Here is a short howto, though not Ubuntu specific: http://www.overclock.net/t/1205216/g...#post_19770787.

    I've posted a howto using Xen on Linux Mint (Ubuntu-based) here: http://forums.linuxmint.com/viewtopic.php?f=42&t=112013. Perhaps you like to try Xen? Even if you use kvm, the hardware advise and the links posted in this howto may be helpful.

    As someone above already wrote: You need compatible hardware and BIOS. Don't even think about trying if any of the mentioned requirements are not met. This is true for both Xen and kvm.
    LM16 64bit (Ubuntu 13.10) with Xen hypervisor 4.3 and Windows 7 Pro 64 bit guest using VGA passthrough

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •