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

Re: [Xen-devel] VGA passthrough is not working



16Gb this is BAR1.
This is example my VM config:
builder='hvm'
memory = 16000
name = "xen-hvm-cheap1"
vcpus=8
acpi=0
disk = [
          'file:/opt/VM/cheap1_glinux-1.img,hda,w',
          'file:/opt/VM/cheap1_glinux-2.img,hdb,w'
        ]
 xen_platform_pci = 1

on_reboot   = 'restart'
on_crash    = 'restart'
device_model_version = 'qemu-xen-traditional'
boot="c"
vnc=1
vnclisten="0.0.0.0"
vncdisplay=1
vncunused=1
vncpasswd=''
stdvga=0
serial='pty'
monitor=1
gfx_passthru=0
pci=['03:00.0' ]
Xen 4.3 start this VM, but Xen 4.4 is not starting VM.

Qemu work whith VGA passthru, but it is can`t assigment  mem...

09.06.2014 15:51, Gordan Bobic пишет:
Your Nvidia card as a 16GB IOMEM region? I've never an Nvidia card that maps more than 256MB. Can qemu (traditional or upstream) even handle this?

Gordan

On 06/09/2014 12:39 PM, Maxim Gordeev wrote:
Hi!

I have is trouble of VGA passthrough!
My server: SuperMicro, Motherboard: X9DRG-qf. Latest version BIOS(custom
BIOS for X9DRG-QF motherboard which set MMIO Base Address to 38BITS)
CPU: 2xE5-2690v2
RAM: 64G
GPU card: PCIe Nvidia Tesla K40(12G Ram)
OS: Debian 7
Kernel: 3.14-1-amd64
HyperVisor: (XEN) Xen version 4.4.1-pre (root@xxxxxxxxxxxxx) (gcc
(Debian 4.8.3-2) 4.8.3) debug=n Fri Jun  6 12:56:42 CDT 2014. Also I try
use version 4.3 from offical repositories.

I trying use passthru GPU card into Virtual Machine, but this is not
possible...
Guest do not start and get me message:
pt_pci_write_config: [00:04:0] Warning: Guest attempt to set address
to unused Base Address Register. [Offset:14h][Length:4]
pt_pci_write_config: Internal error: Invalid write emulation return
value[-1]. I/O emulator exit.
This is Xen 4.4.


I try use Xen 4.3 and my VM start, but lspci message:
 >> Region 0: Memory at c5000000 (32-bit, non-prefetchable) [disabled]
[size=16M]
 >> Region 1: Memory at <unassigned> (64-bit, prefetchable) [size=16G]
 >> Region 3: Memory at 381c00000000 (64-bit, prefetchable) [disabled]
[size=32M]

Please, look at attach file:
1. nvidia-installer.log - xen 4.3
2. lspci_itoVM - xen 4.3
3. lspci_NVIDIA - xen 4.3 This is lspci output into real hardware
SuperMicro.


BUT! ATI Firepro s10000 is nice work!

Ati is having 6Gb RAm.

k40 work only in 64bit map io PCI


Nvidia K40 work only 64bit map io PCI.
I tried to disable this parametrs in BIOS(Memory Mapped I/O above 4GB).
But I received of mistake on my server.


What is going on?
Are you have workaround?
Please, help!

Thanks!

--
Best regards,Maxim!


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



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

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

 


Rackspace

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