All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Fjellstrom <tfjellstrom@shaw.ca>
To: kvm@vger.kernel.org
Subject: Re: Status of pci passthrough work?
Date: Sun, 28 Sep 2008 19:09:26 -0600	[thread overview]
Message-ID: <200809281909.26934.tfjellstrom@shaw.ca> (raw)
In-Reply-To: <200809281240.32545.amit.shah@redhat.com>

On Sunday 28 September 2008, Amit Shah wrote:
> * On Saturday 27 Sep 2008 13:27:46 Thomas Fjellstrom wrote:
> > On Saturday 27 September 2008, Han, Weidong wrote:
> > > Thomas Fjellstrom wrote:
> > > > On Saturday 27 September 2008, Han, Weidong wrote:
> > > >> Hi Thomas,
> > > >>
> > > >> the patches of passthrough/VT-d on kvm.git are already checked in.
> > > >> With Amit's userspace patches, you can assign device to guest. You
> > > >> can have a try.
> > > >
> > > > Does that mean I need VT-d support in hardware? All I have to test
> > > > with right now is an AMD Phenom X4  with a 780g+sb700 system. Don't
> > > > think it has an iommu, and I'd find it odd if the intel VT-d code
> > > > "just worked" on amd's hardware.
> > >
> > > Yes, currently you need VT-d support in hardware to assign device.
> >
> > So I take it the PV-DMA (or pv-dma doesn't do what I think it does...) or
> > the other 1:1 device pass through work isn't working right now?
>
> pvdma does work, but the most recent patches aren't yet published (I should
> do that). It will work for simple devices.
>
> 1:1 will also work.

Once the trees are updated?

> > It's something I'd really like to use, but I don't have access to a
> > platform with a hardware iommu. Though I might be able to pick up a
> > replacement board for my new server with the SB750 southbridge which
> > supposedly has AMD's new iommu hardware in it, but I haven't seen any
> > evidence that kvm or linux supports it.
>
> Linux 2.6.27 onwards supports AMD IOMMU. kvm (and device assignment)
> support for AMD IOMMU doesn't exist yet, but work is planned to start soon.

What does the kernel supporting it help a person wanting to use it to pass 
through devices to guests if kvm doesn't support it? Also, what would the 
kernel use it for in that case?

> > > >> Thomas Fjellstrom wrote:
> > > >>> I'm very interested in being able to pass a few devices through to
> > > >>> kvm guests. I'm wondering what exactly is working now, and how I
> > > >>> can start testing it?
> > > >>>
> > > >>> the latest kvm release doesn't seem to include any support for it
> > > >>> in userspace, so I can't test it with that...
>
> The userspace patch is undergoing pre-merge revisions.
>
> I'll send out an email once I get my git trees synced up to my working
> revisions.
>
> In the meantime, you can use the patches from the list.

Its rather hard to find the patches from before I joined the list, most 
archives don't keep attachments.

> --
> 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

Thanks for the heads up, and all the work on this stuff :)

-- 
Thomas Fjellstrom
tfjellstrom@shaw.ca

  reply	other threads:[~2008-09-29  1:09 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-27  2:20 Status of pci passthrough work? Thomas Fjellstrom
2008-09-27  6:43 ` Han, Weidong
2008-09-27  7:12   ` Thomas Fjellstrom
2008-09-27  7:44     ` Han, Weidong
2008-09-27  7:57       ` Thomas Fjellstrom
2008-09-28  7:10         ` Amit Shah
2008-09-29  1:09           ` Thomas Fjellstrom [this message]
2008-10-03  6:30             ` Amit Shah
2008-12-15 14:40               ` xming
2008-09-27 12:46 ` Jan C. Bernauer
2008-09-27 15:40   ` Thomas Fjellstrom
2008-09-27 15:55     ` Jan C. Bernauer
2008-09-27 16:07       ` Thomas Fjellstrom
2008-09-27 18:01         ` Thomas Fjellstrom
2008-09-27 18:26           ` Jan C. Bernauer
2008-09-27 18:33             ` Thomas Fjellstrom
2008-09-27 18:40               ` Jan C. Bernauer
2008-09-27 18:44                 ` Thomas Fjellstrom
2008-09-28  4:39   ` Avi Kivity
2008-09-28  7:11     ` Amit Shah
     [not found] <194255114.431631229436171339.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com>
2008-12-16 14:07 ` Amit Shah
2008-12-16 14:38   ` xming
2008-12-16 14:40     ` Amit Shah
2009-05-14 17:08   ` Passera, Pablo R
2009-05-15 11:00     ` Amit Shah
2009-05-15 13:14       ` Passera, Pablo R
2009-05-15 13:38         ` Amit Shah
2009-05-29 17:41           ` Passera, Pablo R
2009-05-30  8:36             ` Amit Shah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200809281909.26934.tfjellstrom@shaw.ca \
    --to=tfjellstrom@shaw.ca \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.