XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to passthrough multiple GPU in one Guest VM

    Scheduled Pinned Locked Moved Compute
    6 Posts 2 Posters 2.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jcapagcuan-svi
      last edited by

      Hi,

      I have a host that has 8 NVIDIA Tesla K80 GPUs. Whenever I launch a VM, I can passthrough 1 GPU for each VM. I wanted to passthrough more than 1 GPU to a guest VM, is that possible?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        This is called "vGPUs" 🙂

        https://xcp-ng.org/docs/cli_reference.html#gpu-commands

        I'm not entirely sure it works out of the box in XCP-ng due to some package license restriction with nvidia/citrix.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jcapagcuan-svi @olivierlambert
          last edited by

          @olivierlambert thanks for the info. I tried the xe cli commands and tried adding another GPU in a VM that already has a GPU, but its not allowing me. I'm getting Cannot create a virtual GPU that is incompatible with the existing types on the VM.. Seems if the only available vgpu-type is passthrough, you cannot add more than one gpu in that VM.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            That because maybe we don't have the "right" package. I'm curious: can you test with Citrix Hypervisor?

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jcapagcuan-svi @olivierlambert
              last edited by

              I think Citrix will require me a license to do GPU passthrough.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                You might get a free trial to play with it 🙂

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post