Results 1 to 1 of 1

Thread: PCI Passthrough to Paravirtualized Ubuntu 12.04 Guest on XenServer 6.1

  1. #1
    Join Date
    Oct 2009
    Beans
    11

    PCI Passthrough to Paravirtualized Ubuntu 12.04 Guest on XenServer 6.1

    Hi, I'm trying to pass a CUDA GPU through to a paravirtualized Ubuntu 12.04 DomU guest on XenServer 6.1.
    I already got this working when the guest is HVM, but I would like to use PV to test VM-to-VM data transfer bandwidth in PV mode.
    I think the problem might be with the kernel I'm using in the PV guest.

    I can do `lspci` and I get:
    Code:
    00:00.0 3D controller: NVIDIA Corporation GK104GL [Tesla K10] (rev a1)
    But when I do `sudo nvidia-smi` I get:
    Code:
    [ 1282.314459] nvidia 0000:00:00.0: device not available (can't reserve [mem 0xd0000000-0xd0ffffff])
    [ 1282.314543] pci 0000:00:00.0: device not available (can't reserve [mem 0xd0000000-0xd0ffffff])
    FATAL: Error inserting nvidia_319 (/lib/modules/3.8.0-34-generic/updates/dkms/nvidia_319.ko): No such device
    NVIDIA: failed to load the NVIDIA kernel module.
    NVIDIA-SMI has failed because it couldn't communicate with NVIDIA driver. Make sure that latest NVIDIA driver is installed and running.
    Here's what I get when I do `grep XEN /boot/config-3.8.0-34-generic`
    Code:
    CONFIG_XEN=y
    CONFIG_XEN_DOM0=y
    CONFIG_XEN_PRIVILEGED_GUEST=y
    CONFIG_XEN_PVHVM=y
    CONFIG_XEN_MAX_DOMAIN_MEMORY=500
    CONFIG_XEN_SAVE_RESTORE=y
    # CONFIG_XEN_DEBUG_FS is not set
    CONFIG_PCI_XEN=y
    CONFIG_XEN_PCIDEV_FRONTEND=m
    CONFIG_XEN_BLKDEV_FRONTEND=y
    CONFIG_XEN_BLKDEV_BACKEND=m
    CONFIG_NETXEN_NIC=m
    CONFIG_XEN_NETDEV_FRONTEND=y
    CONFIG_XEN_NETDEV_BACKEND=m
    CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
    CONFIG_HVC_XEN=y
    CONFIG_HVC_XEN_FRONTEND=y
    CONFIG_XEN_WDT=m
    CONFIG_XEN_FBDEV_FRONTEND=m
    CONFIG_XEN_BALLOON=y
    CONFIG_XEN_SELFBALLOONING=y
    CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
    CONFIG_XEN_SCRUB_PAGES=y
    CONFIG_XEN_DEV_EVTCHN=m
    CONFIG_XEN_BACKEND=y
    CONFIG_XENFS=m
    CONFIG_XEN_COMPAT_XENFS=y
    CONFIG_XEN_SYS_HYPERVISOR=y
    CONFIG_XEN_XENBUS_FRONTEND=y
    CONFIG_XEN_GNTDEV=m
    CONFIG_XEN_GRANT_DEV_ALLOC=m
    CONFIG_SWIOTLB_XEN=y
    CONFIG_XEN_TMEM=y
    CONFIG_XEN_PCIDEV_BACKEND=m
    CONFIG_XEN_PRIVCMD=m
    CONFIG_XEN_ACPI_PROCESSOR=y
    CONFIG_XEN_MCE_LOG=y
    CONFIG_XEN_HAVE_PVMMU=y
    Is the problem that my config says `CONFIG_XEN_PCIDEV_FRONTEND=m` instead of `CONFIG_XEN_PCIDEV_FRONTEND=y`?
    What does "m" mean, module? Do I not have the correct module installed?
    Last edited by jpthompson23; December 25th, 2013 at 02:07 AM.

Tags for this Thread

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
  •