[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Cannot make VGA Passthrough with Xen 4.4.1


  • To: xen-users@xxxxxxxxxxxxx
  • From: "Manuel R. Campos" <manurcr@xxxxxxxxx>
  • Date: Mon, 19 Sep 2016 20:05:43 +0200
  • Delivery-date: Mon, 19 Sep 2016 18:06:55 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hello to everybody,

I have in my system this Xen version, I decided to use the one from repos. Right now I'm using a Debian 8 (Kernel 4.1.21) with an i7-4700EQ (I can use Vt-d and is enabled by dmesg) with 16 GB of RAM. I installed Xen with the Terminal using apt-get install xen-linux-system-amd64 xen-tools. I made the change in the grub for the RAM, dom0 has 1GB and 1 vcpu. No autoballoon and the file xendomains is also changed. After the restart I have the dom0 without problems. I wanna make a VGA PT but I don't find a good tutorial over the Internet and in this system is not possible to use the qemu-xen-traditional. I put here the configuration of the VM:

builder = "hvm"
name = "viewer"
viridian = 1

memory = 4096

vcpus = 4
disk =['file:/home/manu/imageRecorder/xenwinview7.img, hda, w']
device_model_version = 'qemu-xen'
pci = ['0a:00.0']
pci_permissive = 1
monitor = 1
pci_power_mgmt = 1
xen_platform_pci = 1
pci_msitranslate = 1
viridian = 1
hpet = 1
acpi = 1
apic = 1
pae = 1
nx = 1
localtime = 1
usbdevice = "tablet"
vnc = 1
vncdisplay = 4
vncunused = 0
vnclisten = "0.0.0.0"
_on_poweroff_ = 'destroy'
_on_reboot_ = 'restart'
_on_crash_ = 'restart'
boot = 'd'


Until here, I have a couple of problems. The VM runs good but the PCI PT had to be with a script. First I enable the xen-pciback and then I make assignable the Ethernet ports, then I attach them to the VM. It is not the best solution but it works. And then I'd like to make the VGA PT but following the tutorial from Xen, I don't know how should be the option "XEN_PCIDEV_BACKEND" in my config file from the boot, because now is a 'm'. So, when I make (I know this is not good, for that I'm here) a "xl pci-assignable-add 00:02.0". Here sometimes I get a reboot, sometimes doesn't. And if that works, and I type "xl pci-attach viewer 00:02.0" I cannot bind it for some reason.

Can anybody help me?

Thanks in advance.



--
Un saludo. Best regards. Viele Grüße. 

Manuel R. Campos Roldán
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.