public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Does KVM PCI Device Assignment allow guests to access firewire?
@ 2009-01-28  5:15 Wayne Feick
  2009-01-28 15:15 ` Amit Shah
  0 siblings, 1 reply; 7+ messages in thread
From: Wayne Feick @ 2009-01-28  5:15 UTC (permalink / raw)
  To: kvm

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? 

Specifically, I currently run Linux as my desktop and Windows in a
VMware guest for software like Adobe Premiere. This arrangement lets me
do video editing, but not video capture from firewire since VMware
doesn't support it. If KVM allows me to run a Windows guest that will be
able to capture video from the firewire port, I'll be switching away
from VMware.

Please CC me directly in any reply since I don't subscribe to this list.

Thanks,
Wayne.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does KVM PCI Device Assignment allow guests to access firewire?
  2009-01-28  5:15 Does KVM PCI Device Assignment allow guests to access firewire? Wayne Feick
@ 2009-01-28 15:15 ` Amit Shah
  2009-01-28 17:05   ` Wayne Feick
  2009-01-28 23:11   ` Michael Tokarev
  0 siblings, 2 replies; 7+ messages in thread
From: Amit Shah @ 2009-01-28 15:15 UTC (permalink / raw)
  To: Wayne Feick; +Cc: kvm

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.

Amit.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does KVM PCI Device Assignment allow guests to access firewire?
  2009-01-28 15:15 ` Amit Shah
@ 2009-01-28 17:05   ` Wayne Feick
  2009-01-28 18:52     ` Nikola Ciprich
  2009-01-29  3:49     ` David S. Ahern
  2009-01-28 23:11   ` Michael Tokarev
  1 sibling, 2 replies; 7+ messages in thread
From: Wayne Feick @ 2009-01-28 17:05 UTC (permalink / raw)
  To: Amit Shah; +Cc: kvm

On Wed, 2009-01-28 at 20:45 +0530, 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.
> 
> Amit.

Thanks for the response, Amit. Yes, firewire tends to sit on the PCI
bus. Looking at the reported flags for my notebook CPU (Core 2 T7200) I
don't see vt-d so I guess it won't work on this system.

I've only started playing with non-VMware virtualization recently, and
I'm fast learning that not all Intel CPUs are equal when it comes to
virtualization support.

Wayne.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does KVM PCI Device Assignment allow guests to access firewire?
  2009-01-28 17:05   ` Wayne Feick
@ 2009-01-28 18:52     ` Nikola Ciprich
  2009-01-28 18:58       ` Glauber Costa
  2009-01-29  3:49     ` David S. Ahern
  1 sibling, 1 reply; 7+ messages in thread
From: Nikola Ciprich @ 2009-01-28 18:52 UTC (permalink / raw)
  To: Wayne Feick; +Cc: Amit Shah, kvm, nikola.ciprich

Hi Wayne,
You should be looking for "vmx" flag in cpuinfo.
Your CPU should support it, so You should be fine unless
it's disabled in BIOS.
BR
nik

On Wed, Jan 28, 2009 at 09:05:36AM -0800, Wayne Feick wrote:
> On Wed, 2009-01-28 at 20:45 +0530, 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.
> > 
> > Amit.
> 
> Thanks for the response, Amit. Yes, firewire tends to sit on the PCI
> bus. Looking at the reported flags for my notebook CPU (Core 2 T7200) I
> don't see vt-d so I guess it won't work on this system.
> 
> I've only started playing with non-VMware virtualization recently, and
> I'm fast learning that not all Intel CPUs are equal when it comes to
> virtualization support.
> 
> Wayne.
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does KVM PCI Device Assignment allow guests to access firewire?
  2009-01-28 18:52     ` Nikola Ciprich
@ 2009-01-28 18:58       ` Glauber Costa
  0 siblings, 0 replies; 7+ messages in thread
From: Glauber Costa @ 2009-01-28 18:58 UTC (permalink / raw)
  To: Nikola Ciprich; +Cc: Wayne Feick, Amit Shah, kvm, nikola.ciprich

On Wed, Jan 28, 2009 at 4:52 PM, Nikola Ciprich <extmaillist@linuxbox.cz> wrote:
> Hi Wayne,
> You should be looking for "vmx" flag in cpuinfo.
> Your CPU should support it, so You should be fine unless
> it's disabled in BIOS.
> BR
> nik

No. vmx and vt-d are different things.

vmx is needed to run kvm, vt-d, for kvm+passthrough.

-- 
Glauber  Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does KVM PCI Device Assignment allow guests to access firewire?
  2009-01-28 15:15 ` Amit Shah
  2009-01-28 17:05   ` Wayne Feick
@ 2009-01-28 23:11   ` Michael Tokarev
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Tokarev @ 2009-01-28 23:11 UTC (permalink / raw)
  To: Amit Shah; +Cc: Wayne Feick, kvm

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does KVM PCI Device Assignment allow guests to access firewire?
  2009-01-28 17:05   ` Wayne Feick
  2009-01-28 18:52     ` Nikola Ciprich
@ 2009-01-29  3:49     ` David S. Ahern
  1 sibling, 0 replies; 7+ messages in thread
From: David S. Ahern @ 2009-01-29  3:49 UTC (permalink / raw)
  To: Wayne Feick; +Cc: kvm



Wayne Feick wrote:
> On Wed, 2009-01-28 at 20:45 +0530, 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.
>>
>> Amit.
> 
> Thanks for the response, Amit. Yes, firewire tends to sit on the PCI
> bus. Looking at the reported flags for my notebook CPU (Core 2 T7200) I
> don't see vt-d so I guess it won't work on this system.
> 
> I've only started playing with non-VMware virtualization recently, and
> I'm fast learning that not all Intel CPUs are equal when it comes to
> virtualization support.

Handy reference for Intel processors and the features each specific
model has:
http://www.intel.com/products/processor_number/index.htm


david

> 
> Wayne.
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-29  3:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28  5:15 Does KVM PCI Device Assignment allow guests to access firewire? Wayne Feick
2009-01-28 15:15 ` Amit Shah
2009-01-28 17:05   ` Wayne Feick
2009-01-28 18:52     ` Nikola Ciprich
2009-01-28 18:58       ` Glauber Costa
2009-01-29  3:49     ` David S. Ahern
2009-01-28 23:11   ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox