public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luke-Jr" <luke@dashjr.org>
To: kvm@vger.kernel.org
Subject: Video card passthrough success
Date: Thu, 12 May 2011 22:25:17 -0400	[thread overview]
Message-ID: <201105122225.22514.luke@dashjr.org> (raw)

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.

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

             reply	other threads:[~2011-05-13  2:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-13  2:25 Luke-Jr [this message]
2011-05-13  6:30 ` Video card passthrough success Jan Kiszka
2011-05-13 13:26   ` Luke-Jr
2011-05-20  2:56   ` Luke-Jr
2011-05-26 10:41     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201105122225.22514.luke@dashjr.org \
    --to=luke@dashjr.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox