Re: Video card passthrough success

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

 



On 2011-05-13 04:25, Luke-Jr wrote:
> Just thought I should pop a note out here that I have been using my
> Radeon 5850 for OpenCL inside KVM (fglrx) successfully for nearly a week now.

Interesting. Do you also get BIOS/early boot outputs? Did you try some
Windows guest as well?

> 
> Commit: c7b3e90e20c512a992865c38db03543a654e5d12
> Motherboard: Intel DQ67SW
> CPU: Intel Core i5-2400
> Host node: Linux 2.6.37-gentoo-r4 (untainted)
> 
> *** Script ***
> #!/bin/bash
> modprobe pci-stub
> for id in 6899 aa50; do
>     echo 1002 $id > /sys/bus/pci/drivers/pci-stub/new_id
> done
> for pci in 0000:01:00.{0,1}; do
>     echo $pci > "/sys/bus/pci/devices/$pci/driver/unbind"
>     echo $pci > /sys/bus/pci/drivers/pci-stub/bind
> done
> exec \
> ii/bin/qemu-system-x86_64 -curses -device pci-assign,host=01:00.0 \
> -drive file=minerG.hdi,if=virtio -m 256 -cpu host -balloon virtio

Based on that ID I assume you passed the host's primary (or even only)
adapter as the guest's primary one, right?

Thanks for sharing this. I think we should create some wiki page to
collect these information. I'll try to look into this later.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


[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