hello,
i hope i did not sent it twice since im not sure if the first one
was posted.
okay now to the problem
im trying to get a vm with vga passthrough running but i get
always this
error:Â Error: pci: PCI Backend and pci-stub don't own device
0000:00:02.0
The PC contains an Intel DQ67SW mainboard (q67 chipset) and an
i5-2400s.
according to xm dmesg | grep I/O
(XEN) I/O virtualisation enabled
Âvt-d is active.
im using kernel 3.1.0-0301rc9-generic x86_64 with
CONFIG_XEN_PCIDEV_BACKEND=m
and i loaded the module with following options in
/etc/modprobe.d/xen-pciback
options xen-pciback passthrough=1
dmesg shows that with
[ÂÂ 15.566815] xen-pciback: backend is passthrough
and this is my config file for the vm:
import os, re
arch = os.uname()[4]
if re.search('64', arch):
ÂÂÂ arch_libdir = 'lib64'
else:
ÂÂÂ arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 6144
# Should be at least 2KB per MB of domain memory, plus a few MB
per vcpu.
shadow_memory = 32
name = "xenwin7"
vif = [ 'type=ioemu, bridge=virbr0' ]
acpi = 1
apic = 1
#disk = [ 'phy:/dev/sdb,hda,w' ]
#disk = [ 'phy:/dev/sdb,hda,w', 'phy:/dev/cdrom,hdc:cdrom.r' ]
#disk = [ '
file:/home/xen/xenwin7.img,hda,w',
'
file:/home/xen/windows7.iso,hdc:$
disk = [ '
file:/home/martin/xenwin7.img,hda,w',
'phy:/dev/cdrom,hdc:cdrom,r' ]
device_model = '
/usr/' + arch_libdir +
'/xen/bin/qemu-dm'
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''
serial='pty'
usbdevice='tablet'
gfx_passthru=1
pci=['00:02.0']
this is the lspci output of the videocard.
00:02.0 VGA compatible controller: Intel Corporation 2nd
Generation Core Processor Family Integrated Graphics Controller
(rev 09) (prog-if 00 [VGA controller])
ÂÂÂÂÂÂÂ Subsystem: Intel Corporation Device 2008
ÂÂÂÂÂÂÂ Flags: bus master, fast devsel, latency 0, IRQ 307
ÂÂÂÂÂÂÂ Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
ÂÂÂÂÂÂÂ Memory at d0000000 (64-bit, prefetchable) [size=256M]
ÂÂÂÂÂÂÂ I/O ports at f000 [size=64]
ÂÂÂÂÂÂÂ Expansion ROM at <unassigned> [disabled]
ÂÂÂÂÂÂÂ Capabilities: <access denied>
ÂÂÂÂÂÂÂ Kernel driver in use: i915
ÂÂÂÂÂÂÂ Kernel modules: i915
i really hope you can give me an idea where to continue.
best wishes and thanks in advance.
martin