public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] [VTD][patch 0/3] vt-d support for pci passthrough
@ 2008-05-05 21:35 Kay, Allen M
  2008-05-06  7:39 ` Amit Shah
  2008-05-06 10:27 ` Avi Kivity
  0 siblings, 2 replies; 3+ messages in thread
From: Kay, Allen M @ 2008-05-05 21:35 UTC (permalink / raw)
  To: kvm-devel; +Cc: Chris Wright, Avi Kivity, Ben-Ami Yassour1

Following three patches contains vt-d support for pci passthrough.  It
contains diff's base on Amit's 4/22 passthrough tree.

The hardware environment used for this work is an Intel Weybridge system
(Q35).  The passthrough device is an E1000 NIC. I'm still using irqhook
mechanism for interrupt injection as I had problem with irqchip
machanism.  Following is the command line I used  to start the guest.

/usr/local/bin/qemu-system-x86_64 -boot c -hda /etc/xen/fc5_32.img -m
256 -net none -pcidevice e1000/01:00.0-16 -no-kvm-irqchip

Remaining tasks include:

1) Generated vtd.o with kvm-intel.ko instead of kvm.ko.
2) Make iommu hooks in generic code to be non-Intel specific

Let me know of your feedbacks.  Thanks.

Allen

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

* Re: [RFC] [VTD][patch 0/3] vt-d support for pci passthrough
  2008-05-05 21:35 [RFC] [VTD][patch 0/3] vt-d support for pci passthrough Kay, Allen M
@ 2008-05-06  7:39 ` Amit Shah
  2008-05-06 10:27 ` Avi Kivity
  1 sibling, 0 replies; 3+ messages in thread
From: Amit Shah @ 2008-05-06  7:39 UTC (permalink / raw)
  To: Kay, Allen M; +Cc: Chris Wright, kvm-devel, Avi Kivity, Ben-Ami Yassour1

On Tuesday 06 May 2008 03:05:30 Kay, Allen M wrote:
> Following three patches contains vt-d support for pci passthrough.  It
> contains diff's base on Amit's 4/22 passthrough tree.
>
> The hardware environment used for this work is an Intel Weybridge system
> (Q35).  The passthrough device is an E1000 NIC. I'm still using irqhook
> mechanism for interrupt injection as I had problem with irqchip
> machanism.  Following is the command line I used  to start the guest.

Can you tell me what the problem with in-kernel irqchip is? Last time you 
mentioned there was a warning that came up when the guest exited. That 
shouldn't have stopped it from working, though

> /usr/local/bin/qemu-system-x86_64 -boot c -hda /etc/xen/fc5_32.img -m
> 256 -net none -pcidevice e1000/01:00.0-16 -no-kvm-irqchip
>
> Remaining tasks include:
>
> 1) Generated vtd.o with kvm-intel.ko instead of kvm.ko.
> 2) Make iommu hooks in generic code to be non-Intel specific

This is a good idea but will need collaboration with a lot of vendors.

> Let me know of your feedbacks.  Thanks.
>
> Allen

Amit

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

* Re: [RFC] [VTD][patch 0/3] vt-d support for pci passthrough
  2008-05-05 21:35 [RFC] [VTD][patch 0/3] vt-d support for pci passthrough Kay, Allen M
  2008-05-06  7:39 ` Amit Shah
@ 2008-05-06 10:27 ` Avi Kivity
  1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2008-05-06 10:27 UTC (permalink / raw)
  To: Kay, Allen M; +Cc: Chris Wright, kvm-devel, Ben-Ami Yassour1

Kay, Allen M wrote:
> Following three patches contains vt-d support for pci passthrough.  It
> contains diff's base on Amit's 4/22 passthrough tree.
>
> The hardware environment used for this work is an Intel Weybridge system
> (Q35).  The passthrough device is an E1000 NIC. I'm still using irqhook
> mechanism for interrupt injection as I had problem with irqchip
> machanism.  Following is the command line I used  to start the guest.
>
> /usr/local/bin/qemu-system-x86_64 -boot c -hda /etc/xen/fc5_32.img -m
> 256 -net none -pcidevice e1000/01:00.0-16 -no-kvm-irqchip
>
> Remaining tasks include:
>
> 1) Generated vtd.o with kvm-intel.ko instead of kvm.ko.
> 2) Make iommu hooks in generic code to be non-Intel specific
>   

Eventually we will want to make it even non-x86 specific; ia64 will 
probably be able to share, and maybe ppc someday.

That needn't be done at once, though.

Your mail client mangles the patches, please attach or use git send-email.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

end of thread, other threads:[~2008-05-06 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 21:35 [RFC] [VTD][patch 0/3] vt-d support for pci passthrough Kay, Allen M
2008-05-06  7:39 ` Amit Shah
2008-05-06 10:27 ` Avi Kivity

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