From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: Does KVM PCI Device Assignment allow guests to access firewire? Date: Thu, 29 Jan 2009 02:11:09 +0300 Message-ID: <4980E60D.5080603@msgid.tls.msk.ru> References: <1233119722.11203.11.camel@localhost.localdomain> <20090128151555.GD1759@amit-x200.pnq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Wayne Feick , kvm@vger.kernel.org To: Amit Shah Return-path: Received: from isrv.corpit.ru ([81.13.33.159]:38167 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbZA1XLM (ORCPT ); Wed, 28 Jan 2009 18:11:12 -0500 In-Reply-To: <20090128151555.GD1759@amit-x200.pnq.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Amit Shah wrote: > Hello Wayne, > > On (Tue) Jan 27 2009 [21:15:22], Wayne Feick wrote: >> I recently saw the following: >> >> https://fedoraproject.org/wiki/Features/KVM_PCI_Device_Assignment >> >> This looks like it might allow guests to access a firewire device. Can >> anyone confirm or deny whether that will be the case? > > Is the firewire port on a PCI card? If yes, it *might* work. We've only > tested network device assignment so far; if you have a system with VT-d, > you can give it a try yourself. JFYI... I tried several simple devices here, all worked. But all were without using DMA. Namely, an old wireless card (11Mbps), internal PCI dialup modem (not softmodem, courier sportster 56k), a 6-serial-ports PCI card, and an old USB-1.1 PCI card. Like this: 03:06.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610 (rev 01) (prog-if 02) Subsystem: 3Com Corp, Modem Division Device 00a2 Flags: medium devsel, IRQ 20 I/O ports at ec00 [size=8] Kernel driver in use: serial Kernel modules: 8250_pci With stock kernel-2.6.28 and kvm-83. Sure thing it is less and less interesting since only very few devices does not use DMA nowadays. But I don't have any hardware with IOMMU or VT-D. /mjt