From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: PCI-passthrough on AMD - OpenVox A400P Date: Sun, 14 Apr 2013 13:16:30 -0300 Message-ID: <20130414161630.GA11937@defiant.freesoftware> References: <20130409175823.GA20387@defiant.freesoftware> <1365530785.16420.155.camel@bling.home> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" To: KVM General Return-path: Received: from mout.gmx.net ([212.227.17.22]:59133 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751894Ab3DNQQj (ORCPT ); Sun, 14 Apr 2013 12:16:39 -0400 Received: from mailout-de.gmx.net ([10.1.76.30]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MGlNX-1UNJ013I8H-00DZ24 for ; Sun, 14 Apr 2013 18:16:36 +0200 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 28D343E0086 for ; Sun, 14 Apr 2013 13:16:30 -0300 (ART) Content-Disposition: inline In-Reply-To: <1365530785.16420.155.camel@bling.home> Sender: kvm-owner@vger.kernel.org List-ID: --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tuesday, 09 April 2013 12:06:25 -0600, Alex Williamson wrote: > > I've a cluster (active/passive) with two KVM VM with Asterisk and > > Pacemaker+Corosync. I wonder if anyone tried to use a OpenVox A400P > > card from a virtual machine. > >=20 > > My idea is to have both nodes accessing this card. I don't know if > > it is possible, I wish that in this scenario when a node is > > accessing the card, the other don't use it. > >=20 > > Of course this is a scenario for testing, but I wonder if I can do > > this kind of configuration on the cluster over virtual machines. > >=20 > > Hardware: > > Motherboard: ASUS M2N32-SLI DELUXE ACPI BIOS Revision 0706 > > Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ > >=20 > > The hardware seems to support IOMMU, but it is not enabled: > >=20 > > # dmesg | grep -i iommu > > [ 0.000000] Please enable the IOMMU option in the BIOS setup > > [ 0.654618] PCI-DMA: using GART IOMMU. > > [ 0.654623] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture > >=20 > >=20 > > Software versions: > >=20 > > # uname -a > > Linux ss01 2.6.39-bpo.2-amd64 #1 SMP Thu Aug 4 11:42:06 UTC 2011 x86_64= GNU/Linux > >=20 > > # kvm --version > > QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-5~bpo60+1, Debian), Co= pyright (c) 2003-2008 Fabrice Bellard Hi, Alex. =20 > AFAIK, Athlon64 does not support AMD-Vi, which is the IOMMU support > you'd need. I will investigate this issue and then tell you. > PCI passthrough also only works for VMs running on the same system > where the card is installed, and doesn't offer multiplexing of a > single device. Thanks, The two cluster nodes are running on the same host. On the issue of multiplexing, was mostly a curiosity. For testing, I do not care to have to manually link and unlink the PCI device. Moreover, is having a problem with the mailing list? For some time I did not write and since I was not receiving emails from October last year, I signed up again with the same account that I was using before; but since 9 April that I do not receive emails from the list. Interestingly I got your reply but did not get the email I sent to the list. Today I wrote an email to the Pacemaker list with the same account I used to sign up here, and I received it with no problems. Thanks for your reply. Regards, Daniel --=20 Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAlFq1l4ACgkQZpa/GxTmHTfWYwCgj7PaE+GqR5syB6H1gyubYl6z a4YAn06DldKr3hs6SruxhBYB/pncnJ9a =8/Te -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--