Re: GPU Pass-through need help.

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

 



On Wed, Feb 9, 2011 at 4:33 PM, Konstantin Khlebnikov
<khlebnikov@xxxxxxxxxx> wrote:
>
> Prasad Joshi wrote:
>
>> I was previously seeing a problem with the ROM BIOS, but I could solve
>> it by passing a correct BIOS file in function assigned_initfn. For now
>> I am using hardcoded file name in the code.
>
> Did you recheck video bios inside guest? (for example in sysfs)
>

For GPU cards on my machine, reading from the /sys/bus/pci/devices/<device>/
rom always give error 'Invalid Argument'. I had to extract the BIOS
using some utilities. The BIOS seems to be correct as I have been able
to pass-through a old Nvidia (NVS 290) and old ATI (RV370 FireGL
V3100) card to Ubuntu Guest OS.

>
> If this is bootstrap vga, guest linux kernel will use bios copy placed at 0xc0000.
> But in my setup qemu can only pass first 32k of option-roms,
> due to curruption at seabios shadow-copying stage.
> (seems like because improper i440fx PAM registers emulation)

I am not sure if it is related to the problem you are facing. The
current SeaBIOS has very limited pci memory space from 0xf0000000  to
0xfec00000 (236MB). This includes everything, prefectable and
non-prefecthable memory. The range is very small for VGA cards to
work. I have modified the memory range on my machine for prefectable
memory.

There is one bug in qemu-kvm code, which acidently detects the
prefectable memory as non-prefectable. I had sent a patch to correct
this behavior yesterday. Hope it gets accepted.

Thanks and Regards,
Prasad
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux