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

[Xen-users] VGA Passthrough with Xen 4.3 and Qemu 1.7 on Debian Jessie



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

the short version: I can't get VGA passthrough working with Xen 4.3
and Qemu 1.7. The VM won't even display a bios screen.

The long version: after successfully running Windows 7 64bit with a
passthrough'd Radeon HD 7870 about 1.5 years with Xen 4.1
(xm/qemu-dm), I decided it was time to upgrade to Jessie's current Xen
packages (4.3).

Unexpectedly, I came across several issues related to switching from
xm to xl and from qemu-dm to qemu, as well as non-functional VGA
passthrough. I found 2 setups that at least would start the VM:

1) Using qemu-dm from Wheezy packages xen-utils-4.1
In this setup I can pass through all 4 PCI devices (USB controller,
VGA card, HDMI audio and audio card), however, none is working. For
the audio card error 10 is reported, for the graphics card error 43.

2) Using qemu
In this setup PCI passthrough works as long as I do not passthrough my
VGA card (the other three are working without problems). As soon as I
passthrough the graphics card, the VM won't even startup at all (vnc
is running but no bios is displayed, only black screen); the logs are
empty, as well (the only line is "Waiting for domain ..." in
/var/log/xen/xl-domain.log).

I tried setting and unsetting the pci_* options in the domain config
file but I had no luck. Here's my current config (left some unrelated
things out) set up for 2) with VGA passthrough (01:00.0):

# qemu
device_model_version="qemu-xen"
device_model_override = '/usr/bin/qemu-system-x86_64'
# qemu-dm
#device_model_version="qemu-xen-traditional"
#device_model_override = '/usr/lib/xen-4.1/bin/qemu-dm'

builder = 'hvm'
viridian = 1
vga = 'stdvga'
pci_msitranslate = 0

#pci = ['0000:00:1d.0','0000:01:00.1','0000:04:04.0']
pci = ['0000:00:1d.0','0000:01:00.0','0000:01:00.1','0000:04:04.0']


Has anyone an idea what I could try?

Thanks,
Volker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlKkbRMACgkQgKD4KXUzSri9vQCgs5mf+tRxONXsP7Mmsc8OWW+e
qmgAnRrlDZHv7CUihp8ekWl7CN2zxw51
=bLW7
-----END PGP SIGNATURE-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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