From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: Video card passthrough success Date: Fri, 13 May 2011 08:30:38 +0200 Message-ID: <4DCCD00E.3020706@web.de> References: <201105122225.22514.luke@dashjr.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCD0908DD3C08E16D0CFCDD7C" Cc: kvm@vger.kernel.org To: Luke-Jr Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:37355 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752168Ab1EMGb3 (ORCPT ); Fri, 13 May 2011 02:31:29 -0400 In-Reply-To: <201105122225.22514.luke@dashjr.org> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCD0908DD3C08E16D0CFCDD7C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wee= k now. Interesting. Do you also get BIOS/early boot outputs? Did you try some Windows guest as well? >=20 > Commit: c7b3e90e20c512a992865c38db03543a654e5d12 > Motherboard: Intel DQ67SW > CPU: Intel Core i5-2400 > Host node: Linux 2.6.37-gentoo-r4 (untainted) >=20 > *** 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=3D01:00.0 \ > -drive file=3DminerG.hdi,if=3Dvirtio -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 --------------enigCD0908DD3C08E16D0CFCDD7C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3M0BEACgkQitSsb3rl5xQzAQCgvNMBmDWTOYR5xv6nuN7jd8Q6 S0wAoLRY2tf6TUiIkCfWG6yLO8lkN3Yr =Q26c -----END PGP SIGNATURE----- --------------enigCD0908DD3C08E16D0CFCDD7C--